In ActiveMQ website, it does show the steps of consuming message from ActiveMQ via WGET.
In order to produce message and send into ActiveMQ queue, here is the command:
wget --post-file=message.txt http://localhost:8161/demo/message/MyQueue?type=queue
Where the message.txt is something like this:
body=the test message you would like to submit.
No comments:
Post a Comment