activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin C." <>
Subject Re: How can a producer/consumer tell if its connection is still good?
Date Thu, 15 Dec 2011 06:51:42 GMT

you are right, I just read to sloppy, and as most of the traffic on
this list is about the Java part, I simply jumped to the wrong
language in my mind. In my C++ implementations I use the same
recommendation as from Ivan Pechorin, I set the cms::ExceptionListener
and have built a very similar implementation to Spring's
SingleConnectionFactory based on this one. Unfortunately there is no
way before any interaction on the connection to know if it is still
up, like there is also no way to knowing if a TCP connection is still
good before actually trying to read/write to it (timeouts aside).

Best regards,

On Wed, Dec 14, 2011 at 6:27 PM, JRR <> wrote:
> Hello Martin,
> Thank you for the suggestion to use Spring, but we're a C++ based client,
> not Java. Hence usage of a Spring client isn't available to us.
> Or, is there more to Spring than I'm aware?
> Thanks,
> -=John
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

View raw message