Commit 5e0b7bb9 authored by Hans Kowallik's avatar Hans Kowallik

[trackrdrd] add closetimeout to connection factory

parent 1f7b322f
......@@ -66,6 +66,7 @@ AMQ_Connection::AMQ_Connection(std::string& brokerURI) {
"Factory created for %s is NULL",
brokerURI.c_str());
factory->setSendTimeout( 5000 ); // number of milliseconds to avoid blocking during F5 failover
factory->setCloseTimeout( 5000 );
connection = factory->createConnection();
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