On Wed, Apr 1, 2009 at 2:05 AM, m.s. <da_...@arcor.de> wrote: > > > Claus Ibsen-2 wrote: >> >> If you fancy take a stab at providing a patch then feel welcome >> http://camel.apache.org/support.html >> >> And please create a ticket in JIRA for this bug. >> > > Hi, > > I created a ticket earlier today and just tried to provide a patch. I am not > sure about the procedure, just attached the patch here: > https://issues.apache.org/activemq/browse/CAMEL-1504 > > Now, the HTTP_PATH is appended to the HTTP_URI or the URI from the endpoint > if it is provided as header. Great that is what it should do.
> > Maybe there should also be a check if the URI ends with "/" and the path > starts with "/" to avoid URIs like http://myUri//myPath . Could add it > tomorrow if required. Yes please add this check as well. If possible please provide unit test as well. > > M.S. > -- > View this message in context: > http://www.nabble.com/Setting-a-path-in-message-header-with-Camel-http-2.0M1-tp22781504p22817366.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus Apache Camel Reference Card: http://refcardz.dzone.com/refcardz/enterprise-integration