this is the example on the camel site how to create a HTTP component:
new RouteBuilder() {
public void configure() {
from("direct:start")
.setHeader(org.apache.camel.component.http.HttpMethods.HTTP_METHOD,
org.apache.camel.component.http.HttpMethods.POST)
.to("http://www.google.com");
}
};
How to do the same in spring???
<route>
<from uri="direct:in" />
<to uri="http:localhost:8080/test.jsp" />
</route>
How to tell him to send it via post??
Thanks Max
--
View this message in context:
http://www.nabble.com/How-to-define-a-HTTP-Post-destination-in-a-route-in-spring-tp18506233s22882p18506233.html
Sent from the Camel - Users mailing list archive at Nabble.com.