activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mittler, Nathan" <nathan.mitt...@sensis.com>
Subject RE: reconnection for consumer
Date Thu, 11 Oct 2007 11:06:42 GMT
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:mysurface@gmail.com] 
> Sent: Thursday, October 11, 2007 5:16 AM
> To: dev@activemq.apache.org
> 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
> 

Mime
View raw message