Re: HTTP Endpoint construction in CamelSpringTest

2013-01-24 Thread Claus Ibsen
ponents of Camel often has a header that can control to use GET / POST / etc. So for that you need to send both body + headers with the producer template. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/HTTP-Endpoint-construction-in-CamelSpringTest-tp5

Re: HTTP Endpoint construction in CamelSpringTest

2013-01-24 Thread Zemin Hu
pport, 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-constructio

Re: HTTP Endpoint construction in CamelSpringTest

2013-01-24 Thread Willem jiang
my environment as plug-in, > so I don't want to do that. Another reason is that all tests are built > around Java DSL based routes, no Spring XML DSL route tests. I don't want to > dig that deep. > Thanks. > > > > -- > View this message in context: > ht

Re: HTTP Endpoint construction in CamelSpringTest

2013-01-24 Thread Zemin Hu
View this message in context: http://camel.465427.n5.nabble.com/HTTP-Endpoint-construction-in-CamelSpringTest-tp5726090p5726165.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: HTTP Endpoint construction in CamelSpringTest

2013-01-24 Thread Claus Ibsen
it used "file://" which is > working, but there are no samples for "servlet:///" which is most commonly > used. > > What's is correct way for the endpoint? How to test "servlet:///" or "http:" > component without having to start routes

HTTP Endpoint construction in CamelSpringTest

2013-01-23 Thread Zemin Hu
ng to start routes in a web server? I am using camel-core 2.9.1, camel-test 2.9.1. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/HTTP-Endpoint-construction-in-CamelSpringTest-tp5726090.html Sent from the Camel - Users mailing list archive at Nabble.com.