This content has been marked as final. Show 2 replies
well, i don't know about XMLMessageListener#onReceive(), but the jms MessageListener http://docs.oracle.com/javaee/5/api/javax/jms/MessageListener.html states the threading contract specifically in the javadoc:
"Each session must insure that it passes messages serially to the listener. "
If you are using broker specific API's, though, then the behavior is whatever that broker implementation specifies.