RE: Dynamically configuring FTP component from Exchange input msg?

2012-08-27 Thread Graham Little
ementing strategies to deal with common issues like stopOnException: http://camel.apache.org/recipient-list.html Thanks Graham > Date: Mon, 27 Aug 2012 11:18:43 -0700 > From: cw94...@yahoo.com > Subject: Re: Dynamically configuring FTP component from Exchange input msg? > To: us

Re: Dynamically configuring FTP component from Exchange input msg?

2012-08-27 Thread Charles
" Cc: Sent: Friday, August 24, 2012 5:37 PM Subject: RE: Dynamically configuring FTP component from Exchange input msg? Hi Charles, Yes this is possible, you can get the value from either the header or the body content as you prefer and then you can use the recipientlist to create th

RE: Dynamically configuring FTP component from Exchange input msg?

2012-08-24 Thread Graham Little
Hi Charles, Yes this is possible, you can get the value from either the header or the body content as you prefer and then you can use the recipientlist to create the dynamic endpoint. You could use something a little like this: Processor ftpProcesor = new Processor () { public void process(Exc