camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cheekychops <smithcol...@hotmail.com>
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
Camel.

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,
Response.class);

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
do. 

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: http://camel.465427.n5.nabble.com/direct-vm-and-CamelBlueprintTestSupport-tp5728344p5728355.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message