Perhaps I'm doing it wrong.

I load a Spring context xml file that has two imports as such.

<import resource="common-beans.xml"/>
<import resource="first-camelcontext.xml"/>
<import resource="second-camelcontext.xml"/>

The two camelcontext.xml files obviously holds a <camelContext> tag each.

Each of contexts loads a identical route that they create their own instance
of. These are configured differently with properties. Then I get a "direct
endpoint cannot have more than 1 active consumer" when I run them at the
same time. Maybe I don't really have two camelcontexts or?


-- 
View this message in context: 
http://old.nabble.com/Direct-route-not-shared-across-contexts--tp28766143p28766770.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to