On Wed, Apr 25, 2012 at 7:41 PM, ebinsingh
<[email protected]> wrote:
> Hi All,
>
> Is there a way to capture the file name after it passes throught the
> Aggregator.
>
> I am aggregating contents of vaiour files. The output should go into another
> file which has to  have the same file of one of the processed file.
>
> Looks like after passing through the aggregator, the file name is no longer
> available in the Exchange.
> I tried setting it in the header, but no luck.
>
> Appreciate your help.
>

Can you post your aggregation strategy code.

Rule of thumb is to set the file name in the exchange that is being
returned from this code.



> Thanks & regards,
> Ebe
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/File-Name-through-Aggregator-tp5665526p5665526.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to