Hi,
I've just split a camel context in two and connected them using direct-vm like this:
Now my unit tests on blueprintContext fail randomly (sometimes they pass), with errors like:
java.lang.IllegalStateException: A consumer Consumer[direct-vm://validator] already exists from CamelContext: blueprintContext. Multiple consumers not supported
at org.apache.camel.component.directvm.DirectVmComponent.addConsumer(DirectVmComponent.java:57)
Is there a way to avoid this with CamelBlueprintTestSupport?
Many thanks,
Colin Smith
Edited by: cheekychops on Mar 1, 2013 10:24 AM
The same question has already been posted on Camel mailing list
http://camel.465427.n5.nabble.com/direct-vm-and-CamelBlueprintTestSupport-tp5728344.html