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 » JAVA API Reply Message

Post new topic  Reply to topic
 JAVA API Reply Message « View previous topic :: View next topic » 
Author Message
meetgaurav
PostPosted: Thu Dec 18, 2008 4:32 am    Post subject: JAVA API Reply Message Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu Dec 18, 2008 4:44 am    Post subject: Re: JAVA API Reply Message Reply with quote

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
View user's profile Send private message
meetgaurav
PostPosted: Thu Dec 18, 2008 5:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu Dec 18, 2008 5:56 am    Post subject: Reply with quote

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
View user's profile Send private message
meetgaurav
PostPosted: Thu Dec 18, 2008 7:43 am    Post subject: Reply with quote

Voyager

Joined: 08 Sep 2008
Posts: 94

Thanks Let me check
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 » JAVA API Reply Message
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.