camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: How to change Camel endpoint at run time?
Date Thu, 19 Nov 2009 13:35:29 GMT
On Thu, Nov 19, 2009 at 6:27 AM, Anto Paul <antopaul.list@gmail.com> wrote:
> Hi,
>   I need to add/remove endpoint URI at runtime when user
> adds/removes/updates the URI using a web application. I need to expose
> HTTP,FTP,web service and JMS endpoints as consumers and producers. On
> searching mail archive the solution I found is to stop camel context to stop
> a route.
>

Hi

Can you tell a bit more what you mean by add/remove endpoint at runtime?
Can you give a little example?

You can use the Camel API to create routes at runtime.
And the same API to stop/start routes etc.




-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message