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.
regards,
titexe
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:
http://old.nabble.com/Camel-%3A-Separate-routes-in-different-xml-files--tp27337675p27342226.html
Sent from the Camel - Users mailing list archive at Nabble.com.