camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cheekychops <>
Subject direct-vm and CamelBlueprintTestSupport
Date Fri, 01 Mar 2013 11:07:56 GMT

I've just split a camel context in two and connected them using direct-vm
like this:

<camelContext id="blueprintJmsContext"
xmlns="" trace="false">
<route id="inbound">
<from uri="activemq:inbound" />
<to uri="direct-vm:validator" />

<camelContext id="blueprintContext"
xmlns="" trace="false">
<route id="validator">
<from uri="direct-vm:validator" />

Now my unit tests on blueprintContext fail randomly (sometimes they pass),
with errors like:

java.lang.IllegalStateException: A consumer Consumerdirect-vm://validator
already exists from CamelContext: blueprintContext. Multiple consumers not

Is there a way to avoid this with CamelBlueprintTestSupport?

Many thanks,

Colin Smith

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

View raw message