Posted: Fri Mar 17, 2006 4:04 am Post subject: How to put messages randomly of different priority on Queue
Apprentice
Joined: 24 Feb 2006 Posts: 36 Location: Phoenix AZ
Hi All,
Can any one tell me,How to put messages randomly of different priority in the WebSphere MQ Queue using MQ API.I have to do this using a Java code and not using RFUtil so please can anyone help with some portion of the code where we can set the priority and put the messages in the queue.
I need to know the method by which we set the priority of the message before writing it to the queue.
Some links where I can find help would be of great help.
Priority is a property of the message object, or in v6 a property of the MQMD object of the message object.
The code to put a message is the same regardless of the message or it's properties. _________________ I am *not* the model of the modern major general.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum