Commit cb55f444 authored by Hans Kowallik's avatar Hans Kowallik

[trackrdrd] add closetimeout to connection factory

parent 30544dcc
...@@ -66,6 +66,7 @@ AMQ_Connection::AMQ_Connection(std::string& brokerURI) { ...@@ -66,6 +66,7 @@ AMQ_Connection::AMQ_Connection(std::string& brokerURI) {
"Factory created for %s is NULL", "Factory created for %s is NULL",
brokerURI.c_str()); brokerURI.c_str());
factory->setSendTimeout( 5000 ); // number of milliseconds to avoid blocking during F5 failover factory->setSendTimeout( 5000 ); // number of milliseconds to avoid blocking during F5 failover
factory->setCloseTimeout( 5000 );
connection = factory->createConnection(); connection = factory->createConnection();
if (connection == NULL) if (connection == NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment