You are right. I was trying too hard to use CamelSpringTestSupport, thinking it might be simpler to start my route and to test it together. I am wrong. This CamelSpringTestSupport can do other tests, say file in Ibsen's book, but not for servlet. I am going to quit using CamelSpringTestSupport, just go straight with HttpUnit or HttpClient to do this kind of test. Besides, I also found it's hard to specify request method "GET/POST/PUT/DELETE" with ProducerTemplate.
-- View this message in context: http://camel.465427.n5.nabble.com/HTTP-Endpoint-construction-in-CamelSpringTest-tp5726090p5726170.html Sent from the Camel - Users mailing list archive at Nabble.com.