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