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 » General Discussion » JMS and message type "Reply"

Post new topic  Reply to topic
 JMS and message type "Reply" « View previous topic :: View next topic » 
Author Message
qwerty123
PostPosted: Mon Mar 26, 2007 12:16 pm    Post subject: JMS and message type "Reply" Reply with quote

Novice

Joined: 09 Oct 2003
Posts: 23

Hi folks,

I am fairly new to the MQ / JMS world and would like to know if there is way to set the underlying MQSeries message type to "Reply" (MQMT_REPLY) using the JMS API ?

Would appreciate any help.

Navneet
Back to top
View user's profile Send private message
dhanaraj
PostPosted: Mon Mar 26, 2007 2:22 pm    Post subject: Reply with quote

Voyager

Joined: 10 Aug 2004
Posts: 92

public String ReplyToQueueName {get; set;}
MQC.MQMT_REPLY and MQC.MQMT_REPORT messages. The application should sent one of this Message type
Back to top
View user's profile Send private message Yahoo Messenger
qwerty123
PostPosted: Mon Mar 26, 2007 2:29 pm    Post subject: Reply with quote

Novice

Joined: 09 Oct 2003
Posts: 23

Thanks Dhanraj,

I am still not clear, still trying to understand how a JMS responding application can set this value in the MQ header ?

Are you saying this will be done on the application that sends the request message in the first place using the constants you specified in your reply.

Thanks once again

Navneet
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Mar 26, 2007 3:49 pm    Post subject: Re: JMS and message type "Reply" Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

qwerty123 wrote:
Hi folks,

I am fairly new to the MQ / JMS world and would like to know if there is way to set the underlying MQSeries message type to "Reply" (MQMT_REPLY) using the JMS API ?

Would appreciate any help.

Navneet

Just set the JMSReplyTo(Destination) and it is all taken care of under the covers for you.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Mon Mar 26, 2007 3:56 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Let's be clear on the answers, qwerty123 is asking about sending the reply, not the request.

I remember some kind of special purpose Producer or a different method - but it seems my memory is very bad.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
qwerty123
PostPosted: Mon Mar 26, 2007 4:15 pm    Post subject: Reply with quote

Novice

Joined: 09 Oct 2003
Posts: 23

Hey guys,

Thanks for your help, I figured it out. Here's how you do it for IBM's MQSeries -

<<<
jmsMsg.setIntProperty("JMS_IBM_MsgType", MQC.MQMT_REPLY);
>>>

Thanks

Navneet
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 » General Discussion » JMS and message type "Reply"
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.