I have a route where i need to make a GET request to an API which is hosted
on a server. The authentication is done using a PEM file. Is there a way i
can include PEM file foe authentication in my route? I need to do this in
Spring DSL XML. Can anyone please let me know if this is possible?
Thanks
Do you have camel-xmljson in your classpath?
Regards,
Raúl.
On 30 Aug 2015 22:38, "anish.somadevan" wrote:
> Hi Yogesh,
>
> I did define it as you mentoned, and referenced it in my route as given
> below,
>
>
>
> trimSpaces="true" rootName="newRoot" skipNamespaces="true"
>
I assume this is an HTTP call. Which component are you using in your
producer endpoint?
Raúl.
On 30 Aug 2015 22:42, "anish.somadevan" wrote:
> I have a route where i need to make a GET request to an API which is hosted
> on a server. The authentication is done using a PEM file. Is there a way i
BeforeConsumer means that the logic will be executed before the consumer
finishes, ie. when the route ends and before returning the response to the
caller if InOut and/or before executing the Exchange.done().
To capture the start of the route, you may want to look at interceptFrom.
Regards,
Raúl.
Yes, i do have camel-xmljson 2.10.3 JAR in my classpath
--
View this message in context:
http://camel.465427.n5.nabble.com/JSON-to-XML-Conversion-tp5771032p5771088.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Yes, but which component exactly? We have many for the HTTP transport.
On 31 Aug 2015 00:31, "anish.somadevan" wrote:
> Its a HTTPS call, and am using recipeintList coz i need to construct
> dynamic
> URI. Also, due to some compatibility issues i can use only 2.10.3 version
> camel JARs.
>
> Than