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.
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=4aaf83cd-c8be-4b3e-a8dd-d5811026e7ec)

No comments:
Post a Comment