[ https://issues.apache.org/activemq/browse/CAMEL-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mathis Schwuchow updated CAMEL-1504: ------------------------------------ Attachment: Patch_Issue_CAMEL-1504_V02.patch Added a check to ensure that there is exactly one "/" between URI and Path. A unit test extending the HttpGetTest is also included in the patch. > HTTP_URI and HTTP_PATH message headers not concatenated when sending messages > to http endpoint > ---------------------------------------------------------------------------------------------- > > Key: CAMEL-1504 > URL: https://issues.apache.org/activemq/browse/CAMEL-1504 > Project: Apache Camel > Issue Type: Bug > Components: camel-http > Affects Versions: 2.0-M1 > Reporter: Mathis Schwuchow > Attachments: Patch_Issue_CAMEL-1504_V01.patch, > Patch_Issue_CAMEL-1504_V02.patch > > > When a message is sent to an http endpoint, the path specified in the > HTTP_PATH header is ignored. > In the HttpProducer.createMethod() of the camel-http component, the URI is > taken from the HTTP_URI header or the endpoint, but the HTTP_PATH header is > not concatenated. > See also the discussion on the mailing list: > http://www.nabble.com/Setting-a-path-in-message-header-with-Camel-http-2.0M1-td22781504.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.