camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From titexe <tit...@yahoo.Fr>
Subject Re: Camel : Separate routes in different xml files?
Date Wed, 27 Jan 2010 16:14:52 GMT

Thank you all for yours responses,

I tested, it works well when I put several lines in activemq.xml:

    <import resource="route1.xml"/>
    <import resource="route2.xml"/>

but unfortunately, I can not do the same thing for applicationcontext.xml
file, to be able to edit these flows from the WebConsole camel.



willem.jiang wrote:
> Yes, you could do it.
> But here is other thing, if you put the different route into different 
> camel context, these routes may not see each other's endpoints per camel 
> context, such as "seda", "direct" etc, these endpoints can not be seen 
> across the camel context.
> Willem
> titexe wrote:
>> hello,
>> it'is possible in camel to separate routes in different XML files?
>> sort: <import resource="route1.xml"/> like camel.xml and activemq.xml
>> This opportunity will allow me to separate routes and maintain versions
>> for
>> each projects.
>> Thank you in advance
>> Best regards,
>> titexe

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message