On Sun, Mar 15, 2009 at 12:51 PM, m.s. <[email protected]> wrote:
>
> Thanks, that's exactly what I was looking for. But after looking at the
> JavaDocs and writing a simple test application, there are still some points
> I do not understand, maybe you can help me to clarify them:
>
> - is there a way to avoid duplicated routes? (I tried to set an unique ID,
> but I could add two routes with the same ID when I added a RouteBuilder
> twice)
I dont think there is a pre check for that. But we could add it if its feasible.
James you thought?


> - can I get a single RouteDefinition, or only a list that I must iterate to
> find the one I am looking for?
The API is what we got. But we are open for API changes in Camel 2.0
so if you have suggestions what
you would like changed/added that feedback is much appreciated.


> - was the RouteType (in the JavaDoc on the Camel homepage) just renamed to
> RouteDefinition, or are they different concepts?
Yes there was a rename.

>
> Cheers,
> M.S.
>
>
> James.Strachan wrote:
>>
>> 2009/3/6 m.s. <[email protected]>:
>>>
>>> There are some older post on this topic in the forum, but I could not
>>> figure
>>> out if the answers are still up to date. So is it possible to remove
>>> routes
>>> from the CamelContext to add updated ones at runtime? And what happens
>>> with
>>> messages on a route that are not delivered when the route stops or is
>>> removed?
>>>
>>> I'm currently evaluating Camel 1.6 and the 2.0 Snapshot to figure out if
>>> it
>>> works in my application, so any information about this would be very
>>> helpful
>>> for me.
>>
>> You can now stop and start routes in 2.0 SNAPSHOT - details in this
>> thread and JIRA...
>>
>> http://www.nabble.com/starting%2C-stopping%2C-creating---editing-routes-at-runtime-now-works----CAMEL-1004-td22208810s22882.html#a22218251
>>
>>
>> --
>> James
>> -------
>> http://macstrac.blogspot.com/
>>
>> Open Source Integration
>> http://fusesource.com/
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Starting%2C-stopping-and-removing-routes-at-runtime-tp22370230p22522393.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/

Reply via email to