camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cheekychops <>
Subject Re: direct-vm and CamelBlueprintTestSupport
Date Fri, 01 Mar 2013 13:17:44 GMT
This is part of a FUSE ESB deployment, so its version 2.10.0.fuse-71-047 of

My test class extends CamelBlueprintTestSupport. I use a producerTemplate to
send to the endpoint, like this:

	@Produce(uri = "direct-vm:validator")
	protected ProducerTemplate validatorProducer;
		Response response = validatorProducer.requestBody(request,

Different test methods fail each time I run the test.

I get similar results (random tests failing, and the error "No consumers
available on endpoint: Endpoint[direct://validator]") when I try to use
"direct:validator". Someone on my team has suggested that it is not possible
to start a route with only direct: endpoints, which is what I'm trying to

My reason for doing this is to try to separate out all the activemq config
into its own route, and bridge the two contexts using direct-vm. I'm pretty
new to this so there may be a better way.

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

View raw message