Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Invalid
-
None
-
None
-
None
Description
When calling send with CompletionListener, the api indicates this create an async call.
However, it seems that internally, there is still blocking.
JmsSession has this code:
transactionContext.send(connection, envelope, null)
This in turn, calls:
connection.send(envelope, new ProviderSynchronization() {
And in there:
try { provider.send(envelope, request); request.sync(); } finally { requests.remove(request); }
the sync call is blocking. so it seems there is no real async implementation?
Also, the sync is called without timeout even if user sets a
sendTimeout