Hi,
I saw that the consumer doesn't give any exception, it apparently works
without net link, but after restore the link the consumer doesn't receive
nothing. How can I know if the connection is down? How can I reconnect it? I
saw the CMS Api but I don't see any function to know if the session or
connection are closed. 
Thanks for your help
Best regards
dongabda


Andreas Gies-3 wrote:
> 
> Hi there,
> 
> i assume that you have set the clientId and consumer name to the same  
> value
> after the reconnect ?
> 
> Best regards
> Andreas
> 
> On Mar 23, 2009, at 5:15 PM, dongabda wrote:
> 
>>
>> I have a messagebroker and a producer in Java (Both in same PC).
>> The consumer is in other PC and C++(activemq-cpp.2.2.4)
>> I use Topics with durableconsumer.
>> When the messagebroker is stopped and I launch the consumer, it  
>> gives a
>> CMSException. This is perfect. but when all is running (messagebroker,
>> producer and consumer) if the consumer or producer lost the link, any
>> exception is launched, and after restore the link, the consumer never
>> receives any message.
>> Why? What can I do to continue receiving messages?
>> -- 
>> View this message in context:
>> http://www.nabble.com/Reconnection-tp22663516p22663516.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> 
> ---
> Mit freundlichen Grüssen - Kind Regards
> Andreas Gies
> Principal Consultant
> Open Source Center of Competence
> 
> Progress Software GmbH
> Agrippinawerft 26
> 50678 Köln
> 
> E-Mail        ag...@progress.com
> Direct Line   +49 (0)9953 980349
> Mobile        +49 (0)170 5759611
> Skype         +44 (0)20 3239 2922
> Skype         +353 (0)1 443 4971
> Skype         +1 (0)781 262 0168
> 
> http://www.progress.com
> http://fusesource.com
> http://open-source-adventures.blogspot.com
> 
> 
> 
> -------------------------------------------------------
> Progress Software GmbH
> Sitz der Gesellschaft: Agrippinawerft 26, 50678 Koeln;
> Niederlassung: Fuerstenrieder Str. 279, 81377 Muenchen
> Amtsgericht Koeln, HRB 15620;
> Geschaeftsfuehrung: David Ireland
> -------------------------------------------------------
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Reconnection-tp22663516p22675484.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to