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 » Question about validation node and CWF messages

Post new topic  Reply to topic
 Question about validation node and CWF messages « View previous topic :: View next topic » 
Author Message
PisgahMan
PostPosted: Thu Jan 31, 2008 6:06 am    Post subject: Question about validation node and CWF messages Reply with quote

Voyager

Joined: 27 Jul 2004
Posts: 93

I have a situation in which I get 2 different formats of CWF messages on the same queue. Each one is processed differently in the flow. I have each one defined differently in my messageset, and what I thought I could do is use the validate node to figure out which one it is.

So on my Input node I specified the Message Domain and Message Set but not the message type or message format. On a breakpoint between the input node and the validate node it shows "RM Worker Not Found."

Is this a good approach? How can I tell it not to worry about the type and format on the input node then check it on the validate node?
Back to top
View user's profile Send private message
PisgahMan
PostPosted: Thu Jan 31, 2008 6:30 am    Post subject: Reply with quote

Voyager

Joined: 27 Jul 2004
Posts: 93

Well I don't think that will work. I don't think I can use the validate node to check the message format without loading it into that message format first.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jan 31, 2008 6:33 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Yes, the Validation node does a full parse of the message data.

You would have some difficulty telling the difference between a message that failed to validate because it was in the wrong format, and a message that failed to validate because it was in the right format but had bad data.

Ideally, there's something you can use to tell the difference between the two formats. Then you can code logic to check that specifically, or change your models so that the model can use that difference to decide the format for you.
_________________
I am *not* the model of the modern major general.
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 » Question about validation node and CWF messages
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.