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 » Triggering of FileInput Node

Post new topic  Reply to topic
 Triggering of FileInput Node « View previous topic :: View next topic » 
Author Message
rajbuddha
PostPosted: Wed Aug 22, 2012 6:36 pm    Post subject: Triggering of FileInput Node Reply with quote

Apprentice

Joined: 02 Aug 2011
Posts: 47
Location: chennai

Hi Folks ,

Need help on file Input node triggering . In one of my requirements i will get an xml message , then i will validate for some mandatory fields , IF they are present i will need to get some files from source directory and copy to destination location . This source directory i will be getting from xml only .
My problem is how to trigger this file subflow (as file input node is independent node we cant add any terminals before this node ) .

Some how i can generate a file and trigger this file flow but i need to pass some information and cursor should be back to my main flow . Please advice me
let me if guys need any more info .Thanks in advance ,
_________________
-----------

Raju Buddha

Never Wait for your 2nd Opportunity..!Becoz it may be harder than the 1st One...
Back to top
View user's profile Send private message Send e-mail
mqsiuser
PostPosted: Wed Aug 22, 2012 9:42 pm    Post subject: Re: Triggering of FileInput Node Reply with quote

Yatiri

Joined: 15 Apr 2008
Posts: 637
Location: Germany

have you also looked at the file read node ?

rajbuddha wrote:
as file input node is independent node we cant add any terminals before this node

If a node doesn't provide you with needed functionality you could try to wrap the node in a subflow and add functionality in the subflow.

But o.k. you may add input-terminals to this new sublfow... but still can't make the file input node receive msgs... so limitations might constrain you while coding your subflow... but usually there is (often) a way to overcome them.
Back to top
View user's profile Send private message
wbi_telecom
PostPosted: Thu Aug 23, 2012 5:39 am    Post subject: Reply with quote

Disciple

Joined: 15 Feb 2006
Posts: 188
Location: Harrisburg, PA

We use File read node along with file input for similar type of requirement. The file input node reads the XML containing metadata and then passes the file name of the file (containing data) in LocalEnvironment to FileRead node which picks up the file.

Cheers,
Back to top
View user's profile Send private message
rajbuddha
PostPosted: Sun Aug 26, 2012 11:39 pm    Post subject: Triggering of FileInput Node Reply with quote

Apprentice

Joined: 02 Aug 2011
Posts: 47
Location: chennai

Thanks Guys ,

It is working fine for me . Thanks for your response .. Earlier thought file read node can be used for files to read line by line .. Thanks anyway ...
_________________
-----------

Raju Buddha

Never Wait for your 2nd Opportunity..!Becoz it may be harder than the 1st One...
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 » Triggering of FileInput 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.