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 » WebSphere Message Broker (ACE) Support » Destination list OR MQMD Head=der

Post new topic  Reply to topic
 Destination list OR MQMD Head=der « View previous topic :: View next topic » 
Author Message
nu1
PostPosted: Sun Dec 21, 2003 8:33 am    Post subject: Destination list OR MQMD Head=der Reply with quote

Apprentice

Joined: 28 Nov 2003
Posts: 26

Hi,

I am sending a request to different application and expecting a response back.
I dont want to set anything in the output node so i used destination list in my compute node as
SET OutputLocalEnvironment.Destination.MQ.DestinationData.queueName='bbb';
SET OutputLocalEnvironment.Destination.MQ.DestinationData.queueManagerName='aaaa';
SET OutputLocalEnvironment.Destination.MQ.DestinationData.replytoqueue='yyyy';
SET OutputLocalEnvironment.Destination.MQ.DestinationData.replytoqueuemanagername='xxxx';


OR
should I specify the
OutputRoot.MQMD.ReplyToQ='yyyy'
OutputRoot.MQMD.ReplyToQMgr='xxxx'


Will the recieveing application be able to send the response by taking destinationlist properties or should I set the properties in MQMD Header.

Is it necessary to check the Request tab ( and leave the ReplyToQ and replyToQmgr name blank) of OutputNode and then specify replytoqueue and replytoqueuemanagername
OR just specify directly in the destination list replytoqueue and replytoqueuemanagername

Please kindly let me know if you know how to use the destination list to specify replytoq and replytoqueuemanagername

Thanks for your time
_________________
-nu1
Back to top
View user's profile Send private message
Ward
PostPosted: Sun Dec 21, 2003 11:59 am    Post subject: Reply with quote

Voyager

Joined: 27 Jun 2001
Posts: 98
Location: Europe

Your local environment is not passed with the MQ message to the other application, the message descriptor MQMD is... so you have to use the last if you want to pass information to the receiving information.

Ward
Back to top
View user's profile Send private message Send e-mail Visit poster's website
nu1
PostPosted: Sun Dec 21, 2003 7:07 pm    Post subject: Reply with quote

Apprentice

Joined: 28 Nov 2003
Posts: 26

Thanks ...
One more small question
Can I set
SET OutputRoot.MQMD.MsgTyp=MQMT_RESPONSE
to tell that this message is a request.
_________________
-nu1
Back to top
View user's profile Send private message
Ward
PostPosted: Mon Dec 22, 2003 12:14 pm    Post subject: Reply with quote

Voyager

Joined: 27 Jun 2001
Posts: 98
Location: Europe

You can basically put in there whatever you like as long as the other side understands it ! However if you use the predefined values then I must say there is no such thing as MQMT_RESPONSE...

The following values are from "The Application Programming Reference" manual:

MQMT_SYSTEM_FIRST 1 X'00000001'
MQMT_REQUEST 1 X'00000001'
MQMT_REPLY 2 X'00000002'
MQMT_REPORT 4 X'00000004'
MQMT_DATAGRAM 8 X'00000008'
MQMT_MQE_FIELDS_FROM_MQE 112 X'00000070'
MQMT_MQE_FIELDS 113 X'00000071'
MQMT_SYSTEM_LAST 65535 X'0000FFFF'
MQMT_APPL_FIRST 65536 X'00010000'
MQMT_APPL_LAST 999999999 X'3B9AC9FF'

Guess which one to use for a request

Ward
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Destination list OR MQMD Head=der
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.