How can I create a message with certain values for a header?Thanks for the message selector tip
I would suggest reading any simple JMS tutorial.The one at java.sun.com is quite good.