Unable to set priority on JMS message in JBoss EAP
Issue
When we send a message, for some specific scenario, the messages have to be delivered in a priority-based manner. Therefore, we set the priority in the message as follows:
TextMessage textMessage = queueSession.createTextMessage(message);
textMessage.setJMSPriority(msgPriority);
But on the MDB side, the messages are delivered with the same default priority.
Environment
JBoss Enterprise Application Platform (EAP) 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
