[jboss-user] [Messaging, JMS & JBossMQ] - Re: Does setJMSPriority() actually do anything?

homerlex do-not-reply at jboss.com
Tue Oct 2 11:19:27 EDT 2007


Hmm, I'm looking at the messages in the JMX Console and they all have a priority of 4 so it seems that setJMSPriority is not actually setting the priority.

The section of code setting the priority looks like this:
// priority is set to an int in code above the following:
ObjectMessage objMsg = outboundSession.createObjectMessage(jmsMsg);
objMsg.setJMSPriority(priority);
msgSender.send(objMsg);


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090713#4090713

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090713



More information about the jboss-user mailing list