Commit 1f7b322f authored by Hans Kowallik's avatar Hans Kowallik

[trackrdrd] add sendtimeout to connection factory

parent 5879d52f
......@@ -65,6 +65,7 @@ AMQ_Connection::AMQ_Connection(std::string& brokerURI) {
throw NullPointerException(__FILE__, __LINE__,
"Factory created for %s is NULL",
brokerURI.c_str());
factory->setSendTimeout( 5000 ); // number of milliseconds to avoid blocking during F5 failover
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