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 » Can I use a MRM/CWF message with the Route Node?

Post new topic  Reply to topic
 Can I use a MRM/CWF message with the Route Node? « View previous topic :: View next topic » 
Author Message
rmbowma
PostPosted: Sun Feb 15, 2009 7:13 pm    Post subject: Can I use a MRM/CWF message with the Route Node? Reply with quote

Apprentice

Joined: 24 Mar 2005
Posts: 28

I think the answer is 'yes' but I have not been able to code the XPath statement correctly (using the Node's Wizard) to cause the Route Node to transfer control out the Terminal that I desire.

My input message contains a 1-byte character field. I have a filter expression which checks for the value of 'A'. When this field contains the 'A' value, control still doesn't pass out my dynamic Terminal.

Anybody have any ideas?
Back to top
View user's profile Send private message
MQEnthu
PostPosted: Sun Feb 15, 2009 8:24 pm    Post subject: Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

Please let us know which node you are using to filter the messages based on the field...
_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Feb 16, 2009 1:58 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I think the answer is 'yes'
Correct. Any node can operate on any message tree. That's one of the basic principles of message broker.
Quote:
but I have not been able to code the XPath statement correctly (using the Node's Wizard)
Probably not your fault - there is a known problem with the XPath builder when the domain is MRM. An MRM message tree does not include the message name, but the XPath builder puts the message name in the XPath. You should be able to get it working by simply removing the message name from the generated XPath expression.

e.g.
$InputRoot/MRM/myMessage/field1 becomes $InputRoot/MRM/field1
$InputBody/myMessage/field1 becomes $InputBody/field1
Back to top
View user's profile Send private message
rmbowma
PostPosted: Mon Feb 16, 2009 4:47 am    Post subject: Reply with quote

Apprentice

Joined: 24 Mar 2005
Posts: 28

I'm using a Routing Node and Broker 6.1.0.3.

Thank you for the suggestions. The problem indeed was the incorrectly generated XPath by the Wizard. When I changed the generated statement from $Body/<msg type>/Field1 to $Body/Field1, my filter works and I get expected behavior from the Node.

By the way, when I corrected the XPath, I got a couple warnings in the Toolkit Problems View but I ignore them and my test worked.
Back to top
View user's profile Send private message
rmbowma
PostPosted: Mon Feb 16, 2009 5:40 am    Post subject: Reply with quote

Apprentice

Joined: 24 Mar 2005
Posts: 28

Kimbert, a follow-up question. Do you know when the fix for my problem is going to be distributed? In Fixpak 4?

I'm surprised my problem hasn't been reported and fixed by now.
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Feb 16, 2009 6:10 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
Do you know when the fix for my problem is going to be distributed? In Fixpak 4?
A fix is being worked on, but I can't make promises about a particular fix pack. If you really need a fix by a particular date, you should open a PMR and get an iFix. But you know how to work around it now, so it's probably not worth it
Quote:
I'm surprised my problem hasn't been reported and fixed by now
Very few users have reported the problem. I'm as surprised as you are.
Back to top
View user's profile Send private message
rmbowma
PostPosted: Mon Feb 16, 2009 7:51 am    Post subject: Reply with quote

Apprentice

Joined: 24 Mar 2005
Posts: 28

Thanks, Kimbert. I asked about when the fix will be distributed so I can give my customer choices: Use the work-around, open a PMR for an iFix, or wait for the fix to be distributed via Fixpak.

Maybe not many people have reported the issue because the Node is new and not many people have tried it?
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 » Can I use a MRM/CWF message with the 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.