This content has been marked as final.
Show 1 reply
-
1. Re: testing route that automatically sends response to caller
njiang Feb 24, 2010 10:16 PM (in response to lyfe)Hi,
You can use the producerTemplate API to send a request to the "direct:beginning" endpoint , and check the response as you want.
ProducerTemplate template = camelContext.createProducerTemplate(); Object response = template.requestBody(request); ......
Willem