jbonofre opened a new pull request, #1751:
URL: https://github.com/apache/activemq/pull/1751

   `subscribe()` returns on `SUBACK` but the broker processes `ConsumerInfo` 
asynchronously, so the durable subscription may not be fully reactivated when 
`receive()` is called. Add `Wait.waitFor` on `isSubscriptionActive()` after 
subscribe to ensure the broker has activated the subscription before attempting 
to receive queued messages.
   
   Also remove the try/catch that silently swallowed assertion failures 
mid-loop, which masked the real failure with a misleading count mismatch.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to