You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "mehdi.rahimi@tradechannel.se" <me...@tradechannel.se> on 2017/02/08 14:26:22 UTC

Direct start then read file in a route

Is there anyway to run a route with direct and then read a file. 


from("direct:start").to("file://...") : this tries to write to the file.

from("direct:start").from("file://...") : this will start two routes, and
will not fire the file based on a direct:start request.


How may I do this? 


Regards



--
View this message in context: http://camel.465427.n5.nabble.com/Direct-start-then-read-file-in-a-route-tp5793674.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: Direct start then read file in a route

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Please use the user forum to ask such questions

On Wed, Feb 8, 2017 at 3:26 PM, mehdi.rahimi@tradechannel.se
<me...@tradechannel.se> wrote:
> Is there anyway to run a route with direct and then read a file.
>
>
> from("direct:start").to("file://...") : this tries to write to the file.
>
> from("direct:start").from("file://...") : this will start two routes, and
> will not fire the file based on a direct:start request.
>
>
> How may I do this?
>
>
> Regards
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Direct-start-then-read-file-in-a-route-tp5793674.html
> Sent from the Camel Development mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2