camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yagyesh <yagya....@gmail.com>
Subject Re: Converter not getting called
Date Wed, 12 Feb 2014 03:35:25 GMT
camel version 2.11.0.

In logs i can see  Caused by: org.apache.camel.RuntimeCamelException
     Caused by: java.lang.IllegalAccessException a


On Wed, Feb 12, 2014 at 3:59 AM, Christian Mueller [via Camel] <
ml-node+s465427n5747146h69@n5.nabble.com> wrote:

> 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 <[hidden email]<http://user/SendEmail.jtp?type=node&node=5747146&i=0>>
> 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.
> >
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/Converter-not-getting-called-tp5747122p5747146.html
>  To unsubscribe from Converter not getting called, click here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5747122&code=eWFneWEuYmh1QGdtYWlsLmNvbXw1NzQ3MTIyfC0xODEwMTI1Mzcz>
> .
> NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://camel.465427.n5.nabble.com/Converter-not-getting-called-tp5747122p5747157.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message