You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by polanki <va...@pimco.com> on 2016/05/03 21:01:39 UTC
What is direct:start in "camel in action" book?
couple of places I saw direct:start and direct:update as below. what does it
mean
from("direct:start")
.transform(body().regexReplaceAll("\n", "<br/>"))
.to("mock:result");
--
View this message in context: http://camel.465427.n5.nabble.com/What-is-direct-start-in-camel-in-action-book-tp5782137.html
Sent from the Camel - Users mailing list archive at Nabble.com.
RE: What is direct:start in "camel in action" book?
Posted by Steve Huston <sh...@riverace.com>.
"direct" is a component that's used to inject messages into a route:
http://camel.apache.org/direct.html
"start" and "update", from your examples, are names for "direct" endpoints.
-Steve
> -----Original Message-----
> From: polanki [mailto:varadaraja.polanki@pimco.com]
> Sent: Tuesday, May 03, 2016 3:02 PM
> To: users@camel.apache.org
> Subject: What is direct:start in "camel in action" book?
>
> couple of places I saw direct:start and direct:update as below. what does it
> mean
>
> from("direct:start")
> .transform(body().regexReplaceAll("\n", "<br/>")) .to("mock:result");
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/What-is-
> direct-start-in-camel-in-action-book-tp5782137.html
> Sent from the Camel - Users mailing list archive at Nabble.com.