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:[EMAIL PROTECTED] 
Sent: 18. juli 2008 13:08
To: [email protected]
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.

Reply via email to