camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: Converter not getting called
Date Tue, 11 Feb 2014 22:28:35 GMT
Which version do you use?
What's the result if you execute:

template.requestBodyAndHeader("direct:aa",null,"ab",header);

Best,

Christian
-----------------

Software Integration Specialist

Apache Member
V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer
Apache Incubator PMC Member

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Tue, Feb 11, 2014 at 5:35 PM, yagyesh <yagya.bhu@gmail.com> wrote:

> Hi All,
>
> I am using camel to call a restful webservice.
>
> I am calling the requestBodyandheader method of producerTemplate and
> expecting a response of type JSONarray
>
>
> template.requestBodyAndHeader("direct:aa",null,"ab",header,JSONArray.class);
>
> A converter is also defined to manipulate the response.
> But i am not getting any result ,in logs converter is loaded but it is not
> getting called .
> The converter has been  already added to  classpath.
>
> Can anybody help me to indicate the possible causes of this issue?
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Converter-not-getting-called-tp5747122.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message