|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| Triggering of FileInput Node | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | rajbuddha | 
			  
				|  Posted: Wed Aug 22, 2012 6:36 pm    Post subject: Triggering of FileInput Node |   |  |  
		  |  Apprentice
 
 
 Joined: 02 Aug 2011Posts: 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 |  |  
		  |  |  
		  | mqsiuser | 
			  
				|  Posted: Wed Aug 22, 2012 9:42 pm    Post subject: Re: Triggering of FileInput Node |   |  |  
		  |  Yatiri
 
 
 Joined: 15 Apr 2008Posts: 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 |  |  
		  |  |  
		  | wbi_telecom | 
			  
				|  Posted: Thu Aug 23, 2012 5:39 am    Post subject: |   |  |  
		  |  Disciple
 
 
 Joined: 15 Feb 2006Posts: 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 |  |  
		  |  |  
		  | rajbuddha | 
			  
				|  Posted: Sun Aug 26, 2012 11:39 pm    Post subject: Triggering of FileInput Node |   |  |  
		  |  Apprentice
 
 
 Joined: 02 Aug 2011Posts: 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 |  |  
		  |  |  
		  |  |  |  
  
	|    |  | Page 1 of 1 |  
 
 
  
  	| 
		
		  | 
 
 | 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
 
 |  |  |  |