camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Camel Routing from Endpoint
Date Thu, 01 May 2008 08:17:35 GMT
2008/4/30 chintaka <>:
>  Hello ,
>  I need to create a route that listens to an existing end point in
>  ServiceMix.
>  So, I deployed a route like below ,
>   from("http://localhost:8192/example/").
>                                 to("log:org.apache.servicemix.samples.camel.ExampleCamelRoute");
>  My assumption was that camel will route to the log file when something is
>  submitted to the http endpoint , but when route was deployed it was
>  continuously polling the end point even when there is no submission.
>  Is there a way make this route so that it will call log only when data
>  submitted to the endpoint ?

So the http endpoint is a http client which will by default poll the
HTTP endpoint.

If you want to consume from a JBI endpoint then use the Camel jbi
endpoint; which will then be invoked when the JBI endpoint has a
message sent to it.


Open Source Integration

View raw message