camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-8996) Add support for Exchange.HTTP_QUERY
Date Fri, 24 Jul 2015 07:40:05 GMT

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

Claus Ibsen resolved CAMEL-8996.
--------------------------------
       Resolution: Fixed
         Assignee: Claus Ibsen
    Fix Version/s: 2.16.0

The http-common is servlet based and undertow dont use that api.

> Add support for Exchange.HTTP_QUERY
> -----------------------------------
>
>                 Key: CAMEL-8996
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8996
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-undertow
>            Reporter: Thomas Diesler
>            Assignee: Claus Ibsen
>             Fix For: 2.16.0
>
>
> Component camel-undertow
> Add support for 
> {code}
>             ProducerTemplate producer = camelctx.createProducerTemplate();
>             String result = producer.requestBodyAndHeader("direct:start", null, Exchange.HTTP_QUERY,
"name=Kermit", String.class);
>             Assert.assertEquals("Hello Kermit", result);
> {code}
> and possibly other headers. This works for camel-http4



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

Mime
View raw message