Hi Hanaboso,
I am using typescript , Just I want to publish message and receive message.
I could not understand where to start, please correct me if I am wrong
I think I need to create publisher.js and consumer.js
then I should start rabbitmq-server ,
then I should run ./publisher.js
then I should run ./consumer.js to see consumed messages?
Hi Hanaboso, I am using typescript , Just I want to publish message and receive message. I could not understand where to start, please correct me if I am wrong I think I need to create publisher.js and consumer.js then I should start rabbitmq-server , then I should run ./publisher.js then I should run ./consumer.js to see consumed messages?
Ref: https://github.com/hanaboso/amqplib-plus/blob/6135fa8be6c0c79256b123a7250759be056fb490/examples/publisher/publisher.js Ref: https://github.com/hanaboso/amqplib-plus/blob/6135fa8be6c0c79256b123a7250759be056fb490/examples/consumer/consumer.js
Not sure connection.js is required? since starting server on default port locally. Kindly suggest. Please provide me if any typescript examples
Environment details. MACOS and NPM $ /usr/local/opt/rabbitmq/sbin/rabbitmq-server
RabbitMQ 3.8.3
########## Copyright (c) 2007-2020 Pivotal Software, Inc.
########## Licensed under the MPL 1.1. Website: https://rabbitmq.com
Doc guides: https://rabbitmq.com/documentation.html Support: https://rabbitmq.com/contact.html Tutorials: https://rabbitmq.com/getstarted.html Monitoring: https://rabbitmq.com/monitoring.html
Logs: /usr/local/var/log/rabbitmq/rabbit@localhost.log /usr/local/var/log/rabbitmq/rabbit@localhost_upgrade.log
Config file(s): (none)
Starting broker... completed with 6 plugins.