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 <[email protected]> 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.
>

Reply via email to