camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tapdur <tapdu...@gmail.com>
Subject camel:http Get /PATH
Date Fri, 19 Mar 2010 05:18:29 GMT

hi 

i have a big issue with the http component

i want in the header HTTP_URI only the path without prefix by the host.

by defaut it won't be ok to(http://@ip/path -> HTTP_URI = GET
http://@IP/path

i try this

from(direct:notif)
.setHeader(Exchange.HTTP_URI,"/path")
.to(http://@ip);

it fails , host null

how manage this ? any idea ?

Thx
Bruno 
-- 
View this message in context: http://old.nabble.com/camel%3Ahttp-Get--PATH-tp27950896p27950896.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message