This illustration shows the use case Specify Default Priority for All Messages Sent by a Message Producer of the class MessageProducer in the JMS Operational Interface.
The method used is setPriority, for all messages sent by a message producer.
setPriority,