ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ-Java-ReplyToQueue

Post new topic  Reply to topic
 MQ-Java-ReplyToQueue « View previous topic :: View next topic » 
Author Message
jeetender
PostPosted: Sun Feb 21, 2010 4:09 pm    Post subject: MQ-Java-ReplyToQueue Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Sun Feb 21, 2010 4:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
jeetender
PostPosted: Sun Feb 21, 2010 4:33 pm    Post subject: MQ-Java-ReplyToQueue Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Sun Feb 21, 2010 5:00 pm    Post subject: Re: MQ-Java-ReplyToQueue Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ-Java-ReplyToQueue
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.