Author |
Message
|
meetgaurav |
Posted: Thu Dec 18, 2008 4:32 am Post subject: JAVA API Reply Message |
|
|
Voyager
Joined: 08 Sep 2008 Posts: 94
|
In JAVA API. How to set the message as a reply message.
I tried .. Is this correct
msg.messageType = MQC.MQMT_REPLY;
The receiving machine will identify this as reply message |
|
Back to top |
|
 |
Vitor |
Posted: Thu Dec 18, 2008 4:44 am Post subject: Re: JAVA API Reply Message |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
meetgaurav wrote: |
I tried .. Is this correct
msg.messageType = MQC.MQMT_REPLY; |
Why do you think it's not? Do you get an error?
meetgaurav wrote: |
The receiving machine will identify this as reply message |
It's the receiving application that will identify the message, not the machine (or the queue manager) _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
meetgaurav |
Posted: Thu Dec 18, 2008 5:53 am Post subject: |
|
|
Voyager
Joined: 08 Sep 2008 Posts: 94
|
Right now am in Development stage.. So am not connected with remote machine. And the remote machine is receiving the message and the message was suppose to be reply message. Am not getting any error.. Just confirmation
I guess am going rite ?? |
|
Back to top |
|
 |
Vitor |
Posted: Thu Dec 18, 2008 5:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
meetgaurav wrote: |
I guess am going rite ?? |
If you're getting a message set with MQMT_REQUEST then it's the generally accepted course of action.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
meetgaurav |
Posted: Thu Dec 18, 2008 7:43 am Post subject: |
|
|
Voyager
Joined: 08 Sep 2008 Posts: 94
|
|
Back to top |
|
 |
|