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 » Route Node

Post new topic  Reply to topic
 Route Node « View previous topic :: View next topic » 
Author Message
Bichu
PostPosted: Tue Aug 23, 2016 4:55 am    Post subject: Route Node Reply with quote

Centurion

Joined: 16 Oct 2011
Posts: 124
Location: London

Hi Guys,

I am observing a strange behaviour on one of the sample message flows i did.

The message flow is
MQInput -> Route Node -> 2 MQ Output Nodes(say the qnames as LQ1 and LQ2)

In the Route node, I have specified the below xpaths
$Root/XMLNSC/msg/empno - Match
$Root/XMLNSC/msg/empno - Match1

Then I tried testing using mbtest with the below message,
<msg><empno>1</empno><empgrade>B</empgrade></msg>,
and I saw only one message in either LQ1 or LQ2.

I tried debugging and I can see that the message is propogated to both the queues. But only one of the queues will be populated once the test is completed. When I run the test after changing the get messages property of LQ2 to inhibited, I can see the message sitting in this queue. I have no other flows polling from these queues.

After this, I deployed the bar file and put message to the input q. In this scenario, the message is coming to both LQ1 and LQ2.

Why mbtest is behaving in such a fashion? Is there something I missed out in the configurations?
Back to top
View user's profile Send private message
Craig B
PostPosted: Tue Sep 20, 2016 2:02 am    Post subject: Reply with quote

Partisan

Joined: 18 Jun 2003
Posts: 316
Location: UK

From your description it looks like you are using the Unit Test Client in the Toolkit in V9 (or below). It seems that when using the Unit Test Client you are only seeing one output from the flow. Yet when you interact with the deployed flow you see a message on each of the output queues. I have just recreated your simple flow and can see that by default only one output message will be displayed for one output queue.

In the Unit Test Client editor the standard tab is the "Events" tab which shows the "Invoke Message Flow" sections etc. You will also see a "Configuration" tab. Click on that and under "MQ Settings" you will see a tick box for "Stop when first MQ message is received". By default this is ticked means that as soon as the test client sees the first output message that is all that it will show. If you deselect this option then you will see that both output messages will be displayed from the flow the next time you invoke it.
_________________
Regards
Craig
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 » Route Node
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.