Am forwarding queue data to a REST Url which is running in a remote location

When I do, the request body is empty. *{}*


This is the route spec
from("test-jms:queue:test.queue")
                 .setHeader(Exchange.HTTP_METHOD,constant("POST"))
                 .setHeader(Exchange.CONTENT_TYPE,constant("text/xml"))         
                 
                        
.to("http://localhost:8080/test?bridgeEndpoint=true&throwExceptionOnFailure=false&disableStreamCache=true&enableMultipartFilter=false";);



--
View this message in context: 
http://camel.465427.n5.nabble.com/Request-body-is-empty-in-HTTP-Endpoint-tp5766738.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to