The client won't automatically reconnect for you, you'll have to decide what to do with the exception in your application.
> -----Original Message----- > From: Ong hean kuan [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 11, 2007 5:16 AM > To: [email protected] > Subject: reconnection for consumer > > Hi all, > > I am implementing active mq client using amqcpp api, I aware > of producer disconnect from exception catch, i can simple > attempt to reconnect to mq server if producer triggers the > send command, but for consumer, is that any way from cpp lib > to periodically trigger reconnect when received exception catch? > > > -- > Hean Kuan Ong > http://linux.byexamples.com > http://cc.byexamples.com > http://wordpress.byexamples.com >
