You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/07/22 12:57:05 UTC
[jira] [Commented] (CAMEL-8996) Add support for Exchange.HTTP_QUERY
[ https://issues.apache.org/jira/browse/CAMEL-8996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14636715#comment-14636715 ]
Claus Ibsen commented on CAMEL-8996:
------------------------------------
We should let it reuse camel-http so it can reuse that logic. And even better if we get a camel-htttp-core module for better reuse
> 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
>
> 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)