This content has been marked as final.
Show 1 reply
-
1. Re: Queue is always empty when using @MDB
jbertram Dec 9, 2014 5:33 PM (in response to alansmanne)This is almost certainly caused by the MDB consumers pre-fetching messages which means there are no messages available for the browser to see. Try setting this on your MDB:
@ActivationConfigProperty(propertyName = "consumerWindowSize", propertyValue = "0")
Note, however, that consumer pre-fetching is a performance optimization and disabling it may negatively impact performance. See the documentation for more details.