Author |
Message
|
rkford11 |
Posted: Wed Dec 22, 2004 6:04 pm Post subject: change in message type |
|
|
Partisan
Joined: 06 Jun 2004 Posts: 316
|
Hi,
Can the Message type be changed? I have a message which is request type and i want to change it to datagram. please guide me through this.
Thanks |
|
Back to top |
|
 |
kirani |
Posted: Wed Dec 22, 2004 11:45 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
you need to change the MessageType attribute in your MQMD header. For example,
md.MessageType = MQMT_DATAGRAM; _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
rkford11 |
Posted: Thu Dec 23, 2004 7:04 am Post subject: |
|
|
Partisan
Joined: 06 Jun 2004 Posts: 316
|
kirani wrote: |
you need to change the MessageType attribute in your MQMD header. For example,
md.MessageType = MQMT_DATAGRAM; |
I have given the following statement
SET OutputRoot.MQMD.MessageType = MQMT_DATAGRAM;
but the message type still shows me Request in the output queue.please guide me through this.
Thanks |
|
Back to top |
|
 |
vennela |
Posted: Thu Dec 23, 2004 9:18 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
What kind of flow is it.
What nodes are involved? I am not sure if that matters but if you give more info maybe somebody can help.
Moving to WMQI/WBIMB forum. |
|
Back to top |
|
 |
rkford11 |
Posted: Thu Dec 23, 2004 4:32 pm Post subject: |
|
|
Partisan
Joined: 06 Jun 2004 Posts: 316
|
vennela wrote: |
What kind of flow is it.
What nodes are involved? I am not sure if that matters but if you give more info maybe somebody can help.
Moving to WMQI/WBIMB forum. |
Thanks Kirani and vennela.
the code worked. |
|
Back to top |
|
 |
|