Hello,

I'm looking for the best solution to solve a problem I have in my usage of
qpid-cpp client api.
I have a request/reply mechanism between a server and a client but the
client has a timeout to avoid waiting too long in some case.
When the timeout is reached, the client closes the temporary reception queue
so the server get the exception "Queue not found".
The exception itself is not an issue if I receive it only once, but I have
it every time I call nextReceiver(). So my thread start to take 100% of CPU
and I cannot process the next request. The sessions seems stuck on the
exceptionfor ever.
It seems that the only way is to disconnect the session which is not
something I want to do.

I found a workaround by adding the option "create: always" when I create the
Sender to reply but I'm not sure it's the best way to do.
Any idea?

Regards,
Alex.



--
View this message in context: 
http://qpid.2158936.n2.nabble.com/amqp0-10-Infinite-exception-Queue-not-found-tp7630474.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to