- Used as demo for TIK training at Techedge Spain offices on June 21th 2019.
- Please adjust it accordingly in
config\config.js
+---------------------------------------------------+
| STOMP PUBLISH 01 Example (publish01.js) |
+---------------------------------------------------+
Opciones:
--version Muestra número de versión [booleano]
--queue, -q Destination Queue [requerido]
--message, -m Message String [requerido]
--help Muestra ayuda [booleano]
Sample invocation:
node publish01 -m "Hello AMQP to RabbitMQ" -q testQueue
Sample invocation (with DEBUG option):
DEBUG=* node publish01 -m "Hello AMQP to RabbitMQ" -q testQueue
Sample action to subscribe to Queue to retrieve messages from a RabbitMQ broker instance using STOMP:
+---------------------------------------------------+
| STOMP SUBSCRIBE 01 Example (subscribe01.js) |
+---------------------------------------------------+
Opciones:
--version Muestra número de versión [booleano]
--queue, -q Subscribe from Queue [requerido]
--help Muestra ayuda [booleano]
Falta argumento requerido: queue
Sample invocation:
node subscribe01 -q testQueue
Sample invocation (with DEBUG option):
DEBUG=* node subscribe01 -q testQueue
npm install --save stompjs debug yargs uuid