camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkarkhanis <>
Subject Fetching file name from jetty endpoint and passing it on to file consumer
Date Mon, 05 May 2014 08:58:45 GMT
Here is a situation we have:

We intend to hit a http url with parameter as complete filePath and pass it
on to file Consumer for it to dynamically interpret it .. the scenario is
something like -- 

<route id="route_id_1">
       <process ref = "processorToExtractFileName"/>

The exchange header will be read in the "processorToExtractFileName"
processor class to fetch the fileName passed in the request url as parameter

This file name needs to be passed to the next route:

<route id="route_id_2">
       <from uri="file://{{directory_name}}?fileName={file name passed in
exchange from route_id_1}"/>


Can you please let us know how this scenario can be handled considering file
is polling consumer.

Thank you,

Vaibhav A. Karkhanis

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message