[rabbitmq-discuss] long running producer

Rajarshi Chakravarty rajc at myquu.com
Thu May 26 19:05:17 BST 2011


Hi,

 

Can anyone post an example of a Producer program in Java that creates a
connection to a queue and keeps it open infinitely?

My requirement is to listen to a port and whenever data comes to it, send it
to a Rabbit queue.

There should be some recovery mechanism like if the connection gets broken,
the program should attempt a reconnect.

 

Thanks and regards,

Raj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110526/56482c44/attachment.htm>


More information about the rabbitmq-discuss mailing list