// shall I write some keywords here to boost search engine ranking?

Saturday, January 09, 2010

Send Message to ActiveMQ via WGET

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]

No comments: