|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ-Java-ReplyToQueue |
« View previous topic :: View next topic » |
Author |
Message
|
jeetender |
Posted: Sun Feb 21, 2010 4:09 pm Post subject: MQ-Java-ReplyToQueue |
|
|
Newbie
Joined: 21 Feb 2010 Posts: 2
|
HI, I am new to MQ series. I have a requirement to setup a queue with replyToQueue.As soon as message get pickedup by receiver a COD (Confirmation of delivery) should be inserted in replyToQueue.
For achiving this i have created two queues queue1 and queue2 through MQ explorer, created binding.
Using Java i am putting message in queue1 with setting ReplyToQueue as queue2. message is getting inserted successfully. but i am not getting COD in queue2.
Please suggest whether it is the responsibity of application which is picking up message from queue1 to put message in queue2 or do i require any configuration that need to specified while creating queues?
I have created only local queue. Please help and suggest.
Thanx in advance. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Sun Feb 21, 2010 4:18 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
COD messages are created by the Queue Manager when the request message's Report Options specify that a COD is required. Make sure the application putting the original message specifies a Reply To Q, and that is sets the COD report option prior to doing the put.
COD messages, while created by the Queue Manager, are put under the authority of the User Identifier in the MQMD of the original message that asks for a CID. Make sure that ID has authority to the reply queue. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
jeetender |
Posted: Sun Feb 21, 2010 4:33 pm Post subject: MQ-Java-ReplyToQueue |
|
|
Newbie
Joined: 21 Feb 2010 Posts: 2
|
thanx Peter..
is there any configuration for queue manager which is required?
also in the JMS API how can i set that report option ?
Please help. |
|
Back to top |
|
 |
Vitor |
Posted: Sun Feb 21, 2010 5:00 pm Post subject: Re: MQ-Java-ReplyToQueue |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jeetender wrote: |
is there any configuration for queue manager which is required? |
No, aside from the routing & security that my worthy associate mentioned.
jeetender wrote: |
also in the JMS API how can i set that report option ? |
As shown here
jeetender wrote: |
Please help. |
Try reading the documentation every now and again. There's a search facility that's quite useful. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
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
|
|
|
|