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 » FileRead - get file name on parsing error

Post new topic  Reply to topic
 FileRead - get file name on parsing error « View previous topic :: View next topic » 
Author Message
coder99
PostPosted: Fri Nov 01, 2019 3:49 am    Post subject: FileRead - get file name on parsing error Reply with quote

Newbie

Joined: 01 Nov 2019
Posts: 4

I have a FileRead node triggered by a TimeoutNotification node.
The file validation is enabled. When the parser detects an error, even the copy local environment is checked, the LocalEnvironment propagated by the node is a TimeoutRequest.
How can I get the name of the file that was parsed?
Back to top
View user's profile Send private message
timber
PostPosted: Mon Nov 04, 2019 1:50 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

Does it propagate the FileRead information in the LocalEnvironment if you use a different node to trigger the flow?
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Mon Nov 04, 2019 5:24 am    Post subject: Reply with quote

Knight

Joined: 17 Jul 2017
Posts: 516
Location: UK

hi...the 'Copy local environment' selected at the Result tab of the FileRead node is applicable only when the file read is successful, i.e the control comes out via the 'Out' terminal of the FileRead. As the read is failing with parsing error at the node the error diagnostic details at the 'Failure' terminal of the node or the 'Catch' terminal of any previous node will not have the details of the file involved.

One way to retrieve the file name is to defer the validation to a downstream node.
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 » FileRead - get file name on parsing error
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.