What versions of your JBM in JBoss 4 and JBoss 5 are?
In JBoss4 I've got JBOSS MQ messaging 4.2.0.GA
In JBoss5 I've got jboss.messaging 1.4.3.GA
I have generic question. How to select message by message id. According to documentation it should be possible by using "JBMessageID". I tested it - doesn't work. Please provide example, otherwise I'll considering it as FATAL bug!
Please create a jira if you think it doesn't work and attach the test if available. Thanks!