Hello,
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">
                
       <from
uri="jetty:http://{{jetty.host}}:{{jetty.port}}/fileAvailable"/>
       <process ref = "processorToExtractFileName"/>
                    
</route>  

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}"/>

       --- 
                    
</route>  

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

Thank you,
Regards

Vaibhav A. Karkhanis



--
View this message in context: 
http://camel.465427.n5.nabble.com/Fetching-file-name-from-jetty-endpoint-and-passing-it-on-to-file-consumer-tp5750860.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to