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 » why msg with unmatched format don't go the failure terminal?

Post new topic  Reply to topic
 why msg with unmatched format don't go the failure terminal? « View previous topic :: View next topic » 
Author Message
pcelari
PostPosted: Wed Feb 29, 2012 1:47 pm    Post subject: why msg with unmatched format don't go the failure terminal? Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

In a MQInput node, I enabled validation and connected the failure terminal to an error logging and reporting subflow, which is intended to record and report both the message body and exceptionlist tree.

But when I put an invalid message, it first goes directly downstream despite the input portion contains "A parser Error has occurred".

Why does it behave this way? What would I have missed?

Beside, is there a way to record the original input message as a blob in case it cannot be parsed by the specified parser?

thanks for any insight!


_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Feb 29, 2012 2:04 pm    Post subject: Re: why msg with unmatched format don't go the failure termi Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

pcelari wrote:
In a MQInput node, I enabled validation and connected the failure terminal to an error logging and reporting subflow, which is intended to record and report both the message body and exceptionlist tree.

But when I put an invalid message, it first goes directly downstream despite the input portion contains "A parser Error has occurred".

Why does it behave this way? What would I have missed?

Beside, is there a way to record the original input message as a blob in case it cannot be parsed by the specified parser?

thanks for any insight!



What's the timing on your parsing, immediate or on demand?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
pcelari
PostPosted: Wed Feb 29, 2012 2:41 pm    Post subject: Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

it's the default 'On Demand'.

Now I seems to see it a little more. So if 'On Demand' is used, there is no need to connect the Failure terminal?


_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
nandu123
PostPosted: Wed Feb 29, 2012 3:40 pm    Post subject: Reply with quote

Newbie

Joined: 10 Jan 2011
Posts: 5
Location: NewYork

Quote from info center, hope this helps.

Quote:
On Demand causes partial parsing to occur. When fields in the message are referenced, as much of the message is parsed as is necessary to completely resolve the reference. Therefore, fields might not be parsed until late in the message flow, or never. This restriction applies to both the message body and the message headers.


Quote:
Immediate and Complete both override partial parsing and parse the entire message, including any message headers
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Mar 01, 2012 10:31 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

pcelari wrote:
it's the default 'On Demand'.

Now I seems to see it a little more. So if 'On Demand' is used, there is no need to connect the Failure terminal?


No it just means that the offending part of the message may never be accessed and as such you would never see the error if validation is set to full
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » why msg with unmatched format don't go the failure terminal?
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.