camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen" ...@silverbullet.dk>
Subject RE: How to define a HTTP Post destination in a route in spring (solved)
Date Fri, 18 Jul 2008 11:15:03 GMT
Hi

Yep that was the error. Maybe we should add some validation to the jetty component that if
the url starts with http or https again then it's a failure and we could provide a better
exception message.



Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk
-----Original Message-----
From: buchnerm [mailto:markus.buchner@gmx.at] 
Sent: 18. juli 2008 13:08
To: camel-user@activemq.apache.org
Subject: Re: How to define a HTTP Post destination in a route in spring (solved)


Sorry solved my fault:
had twice http in the uri!!

This works:

<route>
	<from uri="direct:in" />
	<setHeader headerName="http.requestMethod" value="POST"> 
		<simple /> 
	</setHeader> 
	<to uri="http://192.168.1.102:8888/test.jsp" /> 
</route>


-- 
View this message in context: http://www.nabble.com/How-to-define-a-HTTP-Post-destination-in-a-route-in-spring-tp18506233s22882p18526981.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message