|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Request for sample code |
« View previous topic :: View next topic » |
Author |
Message
|
kirankinnu |
Posted: Thu Sep 02, 2004 11:41 am Post subject: Request for sample code |
|
|
 Centurion
Joined: 12 Jun 2004 Posts: 128 Location: Chicago, IL
|
Hi there,
I am new to MQ. could anyone send me the sample code to set the priority of a message. i tried hard but couldnt figure out how to do. can we actually do that? thanx --
--kiran |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Sep 02, 2004 11:48 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Priority is a variable defined in the MQMessage class.
Using Java wrote: |
priority
public int priority
The message priority. The special value MQC.MQPRI_PRIORITY_AS_Q_DEF can also be set in outbound messages, in which case the priority for the message is taken from the default priority attribute of the destination queue.
The default value is MQC.MQPRI_PRIORITY_AS_Q_DEF.
|
_________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vennela |
Posted: Thu Sep 02, 2004 11:48 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
What programming language?
If java, then IBM Base MQ apis or JMS? |
|
Back to top |
|
 |
kirankinnu |
Posted: Thu Sep 02, 2004 11:50 am Post subject: |
|
|
 Centurion
Joined: 12 Jun 2004 Posts: 128 Location: Chicago, IL
|
thanx for replies, yup thats in java ( sorry for not mentioning). |
|
Back to top |
|
 |
kirankinnu |
Posted: Thu Sep 02, 2004 12:04 pm Post subject: |
|
|
 Centurion
Joined: 12 Jun 2004 Posts: 128 Location: Chicago, IL
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|