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 » MQReply node sends 'Datagram' instead of 'Reply'

Post new topic  Reply to topic
 MQReply node sends 'Datagram' instead of 'Reply' « View previous topic :: View next topic » 
Author Message
Bhawesh
PostPosted: Mon Aug 23, 2004 12:33 pm    Post subject: MQReply node sends 'Datagram' instead of 'Reply' Reply with quote

Newbie

Joined: 22 Oct 2002
Posts: 8
Location: NJ-NY-CT (USA)

I tried using 'MQReply' and 'MQOutput' node to route messages to Reply-To-Queue. I see messages being routed to appropriate queues but they all have the message type of 'Datagram' instead of 'Reply'. Tried using 'Compute' to explicitly set the message type but of no help. Any idea to have these messages sent as replies will be appreciated.
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Aug 23, 2004 10:14 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

I don't think MQReply node will change the MessageType of the message.
What is the code you used in Compute node to set the MessageType which did not work?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Bhawesh
PostPosted: Tue Aug 24, 2004 6:51 am    Post subject: Reply with quote

Newbie

Joined: 22 Oct 2002
Posts: 8
Location: NJ-NY-CT (USA)

Three test that I did so far with message(type is 'Reply') arriving at the 'MQInput'. node.

1) Without any compute node I had the input message (type is 'Reply') routed to the reply-to-q. Message goes to the desired queue, but the type is changed to 'Datagram'. The input message was itself 'Reply' so did not set any of the MQMD properties.

2) Used Compute node to explicitly set the message type as 'Reply' and have the 'MQOutput' node send the message to Reply-To-Q, Again message type is changed to 'Datagram'
SET OutputRoot.MQMD.MsgType = 2;
Also tried,
SET OutputRoot.MQMD.MsgType = MQMT_REPLY;

3) Used 'MQOutput' node with explicit Queue name and it works fine as message is send as 'Reply' but then I have to put a explicit 'MQOutput' nodes for each queue. This solves the problem but does not meet the requirement.
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Aug 24, 2004 10:15 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

[quote=Bhawesh]
2) Used Compute node to explicitly set the message type as 'Reply' and have the 'MQOutput' node send the message to Reply-To-Q, Again message type is changed to 'Datagram'
SET OutputRoot.MQMD.MsgType = 2;
Also tried,
SET OutputRoot.MQMD.MsgType = MQMT_REPLY;
[/quote]
Did you check your Compute mode option? Was is set to "Message"?

[quote=Bhawesh]
3) Used 'MQOutput' node with explicit Queue name and it works fine as message is send as 'Reply' but then I have to put a explicit 'MQOutput' nodes for each queue. This solves the problem but does not meet the requirement.
[/quote]
You can use Destination list to populate the queue names and set the Destiantion Mode to "Destination List" in MQOutput Node.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Bhawesh
PostPosted: Tue Aug 24, 2004 11:10 am    Post subject: Reply with quote

Newbie

Joined: 22 Oct 2002
Posts: 8
Location: NJ-NY-CT (USA)

Compute mode option is set as 'Message'. Tried with both 'MQReply' and 'MQOutput' node, the message types are flipped to 'Datagram'.

Haven't explored the Destination List option yet and do not know it fits into my requirement. In my case the Queue Names comes embedded in the MQMD.ReplyToQ.

For now I am using Route-To-Label node to route the message to appropriate labels (Which I have set as the name of the reply-to-Queues itself) and tied them to independent flows which outputs to its own explicit named MQOutput node. The messages indeed are sent as 'MQReply'.

This way, I will be able to route the replies (Type 'Reply') to appropriate reply-to-queue (So far known), but in future if there is need to send messages to new reply-to-queue, I guess, will have to add another small flow for that Queue.
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 » WebSphere Message Broker (ACE) Support » MQReply node sends 'Datagram' instead of '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.