[ 
https://issues.apache.org/jira/browse/CAMEL-9788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-9788.
--------------------------------
       Resolution: Invalid
         Assignee: Claus Ibsen
    Fix Version/s: 2.18.0

You do a HTTP GET command then the body is not included when sending.

Specify the parameter should be POST
{code}
        @Test
        public void testJettyUriRewrite() throws Exception {
                String out = 
template.requestBodyAndHeader("http4://localhost:8081/foo?phrase=test", 
"camel", Exchange.HTTP_METHOD, "post", String.class);
                assertEquals("test camel", out);
        }
{code}

> Jetty endpoint option "matchOnUriPrefix" does not work properly
> ---------------------------------------------------------------
>
>                 Key: CAMEL-9788
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9788
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jetty
>    Affects Versions: 2.18.0
>            Reporter: Martin BasovnĂ­k
>            Assignee: Claus Ibsen
>             Fix For: 2.18.0
>
>         Attachments: camel-9788.zip
>
>
> Jetty endpoint option "matchOnUriPrefix" does not work properly. Body does 
> not contain original content.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to