You can embed a local broker in your "producer" ( http://activemq.apache.org/how-do-i-embed-a-broker-inside-a-connection.html) and make a network connection to the remote broker ( http://activemq.apache.org/networks-of-brokers.html)
Regards -- Dejan Bosanac - http://twitter.com/dejanb ----------------- The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Tue, Jun 14, 2011 at 7:57 PM, agujral <anurag_guj...@yahoo.com> wrote: > Hi All, > I have a setup where activemq consumer reads the data files and > sends the data to the > remote servers . Sometimes it happens that remote server is down, is there > a > way my consumer can enqueue message at the end of the queue if the remote > server is not available. > > Thanks > Anurag > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Activemq-consumer-tp3597292p3597292.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >