What's your multiple file output looks like?
You can put it into a list and using splitter[1] to send them to the file 
endpoint.

[1]http://camel.apache.org/splitter.html  

--  
Willem Jiang

FuseSource
Web: http://www.fusesource.com (http://www.fusesource.com/)
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: willemjiang



On Thursday, August 9, 2012 at 10:02 AM, Murari Raghavan wrote:

> Hello,
>  
> Is it possible to handle multiple file output in Exchange?
>  
> Here is my scenario
>  
> from(routes.getString("inbound")).to(routes.getString("shared.inbound")).process(new
> Processor() {  
> public void process(Exchange exchange) throws Exception {  
> MYProcessor asdaProcessor = new myProcessor();  
> myProcessor.process(exchange);  
> }  
>  
> 1. The inbound file is an XML
> 2. The Processor component is an XSLT transformer - If the transformer gives
> one output file everything works just fine. How can I handle multiple XML
> outputs from the Processor.
>  
> I looked at Exchange In Out patterns and I cannot find a way to handle this
> scenario.
>  
> Any help is greatly appreciated.
>  
> Thanks,
> Murari
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-exchange-Multiple-File-output-from-processor-tp5717035.html
> Sent from the Camel - Users mailing list archive at Nabble.com 
> (http://Nabble.com).



Reply via email to