Hi

I think you should use Exchange.HTTP_PATH to specify the PATH.

Willem

Tapdur wrote:
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

Reply via email to