Hello,

I've read through the activemq-cpp tutorial at
http://activemq.apache.org/cms/cms-api-overview.html and I've poked around
the forums.

Do activemq-cpp connection have a timeout when the client is connecting to
the broker? I ask because reading this post
(http://activemq.2283324.n4.nabble.com/Async-Exception-multiple-threads-one-connection-tp2351214p2351217.html)
comments on a connection being disconnected due to inactivity. Although that
articles example is Java based as opposed to C++. I've looked through the
connections class and I do not see anything relating to a connection
timeout. Do activemqq-cpp connections have a timeout?

Aside from that what is the process or detecting if a connection is down and
then reestablishing the connection. For example, suppose the broker is
restarted, but the producer is not. How would the producer know if its
connection went down? Is it just that the MessageProducer's send throws an
exception?

In order to reestablish the connection is it a matter of reallocating
everything, connection, session, message producer, etc?

Are there other tutorials, web sites, etc. that you could refer me to for
more information on activemq-cpp usage? Perhaps these questions are covered
there?

Thank your time,

-=John

--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Do-activemq-cpp-connection-questions-tp4119766p4119766.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to