Re: PEM File for Authentication in route

2015-09-01 Thread anish.somadevan
This is the route XML am using, http://camel.apache.org/schema/spring";> /message/Requestdata/text() -- View this message in context: http://camel.465427.n5.nabble.com/PEM-File-for-Authentication-in-route-tp577108

Re: JSON to XML Conversion

2015-09-01 Thread anish.somadevan
This works!! . Thanks a lot Yogesh and Raul for helping me resolve this :) Really appreciate it. PS. Am facing a similar issue related to registry (http://camel.465427.n5.nabble.com/PEM-File-for-Authentication-in-route-td5771084.html#a5771109). It would be really helpful if you can have a look at

Re: JSON to XML Conversion

2015-09-01 Thread anish.somadevan
Am actually trying to convert a JSON response from an API to XML, and i don't think it can be done using JAXB. Please correct me if am wrong. -- View this message in context: http://camel.465427.n5.nabble.com/JSON-to-XML-Conversion-tp5771032p5771141.html Sent from the Camel - Users mailing li

Re: JSON to XML Conversion

2015-09-01 Thread Raul Kripalani
You don't need to use ref. Have a look at the first XML example for the JAXB data format here: http://camel.apache.org/jaxb.html. Raúl. No On 2 Sep 2015 01:25, "anish.somadevan" wrote: > Am not sure if i have implemented it as you said. This is what i have in my > route now, > > http://camel.apa

Re: JSON to XML Conversion

2015-09-01 Thread anish.somadevan
Am not sure if i have implemented it as you said. This is what i have in my route now, http://camel.apache.org/schema/spring";> I still get the same error Failed to create route parseJSON at: >>> Unmarshal[ref:xmljsonWithOptions] <<

Re: JSON to XML Conversion

2015-09-01 Thread Raul Kripalani
Aha! So you are using the XML approach to load your routes. You can define data formats in two places: either (a) inside your Camel Context, which, if you are using exactly this approach [1], is being configured programmatically, or (b) inline inside your marshal / unmarshal XML element. I would

Re: JSON to XML Conversion

2015-09-01 Thread anish.somadevan
I currently have this as the first line in my XML. http://camel.apache.org/schema/spring";> And then i have defined the camelContext tags, When i tried to give camelContext as the first line, I get this error unexpected element (uri:"http://camel.apache.org/schema/spring";, local:

component couchdb

2015-09-01 Thread Hilderich
Hello fellows, In my camel route (Apache Camel 2.15.2) I'd like to use the component couchdb and I have follow all instructions as here: http://camel.apache.org/couchdb.html My camel route runs in Apache Karaf and when I try to start the bundle with the camel context I get the following error:

Re: JSON to XML Conversion

2015-09-01 Thread anish.somadevan
Yes, i have it within the camelContext tags. But i get the same error as mentioned earlier, [com.acp.adapter.cameladapter.CamelOutboundAdapter] (Camel (camelAgent) thread #6 - JmsConsumer[ISEEOutboundQueue]) CamelOutboundAdapter exception: Failed to create route parseJSON at: >>> Unmarshal[ref:x

Camel extra jcifs for camel 2.15.x ?

2015-09-01 Thread rwijngaa
Hi, Where can i find the 2.15 version for camel-jcifs ? The last version on maven central is 2.14.1 http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache-extras.camel-extra%22%20AND%20a%3A%22camel-jcifs%22 Regards Rino -- View this message in context: http://camel.465427.n5.nabble.co

Re: [Camel-Kafka] Value of KafkaConstants.KEY constant

2015-09-01 Thread Raul Kripalani
Hi, Good point. Maybe Samuel (the contributor of camel-kafka, CC'ed) can have a look for us ;-) We should also harmonise the header names with the style we use in other components: CamelKafka... (upper camel case starting with Camel, followed by component name, then header name). We could only

[Camel-Kafka] Value of KafkaConstants.KEY constant

2015-09-01 Thread Rahul Jain
In KafkaConstants, the constant "KEY" is declared as * public static final String KEY = "kafka.CONTENT_TYPE";* This is used to store the kafka message key in exchange. But why do we refer to it as CONTENT_TYPE here?

Re: CXF SOAP Message Sent from a Camel Client Twice When No HTTP Response Received

2015-09-01 Thread segev
It took us a few day to respond as the third party server was down. Anyway after adding logging to the project we still couldn't find any obvious trace for sending the message twice. As mentioned soapUI client and the same camel project with HttpClient library don't exhibit the same issue which is

Problem upgrading to Camel 2.15.3 in Karaf 3.0.4

2015-09-01 Thread michaelesmann
Hi, I am trying to upgrade to Camel 2.15.3 from 2.14.1. We are using Karaf 3.0.4 as server. There is a problem with this, which can be reproduced this way: - Make a clean Karaf 3.0.4 installation - Start Karaf and install features: feature:repo-add camel 2.15.3 feature:install came

Problem upgrading to Camel 2.14.3 in Karaf 3.0.4

2015-09-01 Thread michaelesmann
Hi, I am trying to upgrade to Camel 2.14.3 from 2.14.1. We are using Karaf 3.0.4 as server. There is a problem with this, which can be reproduced this way: - Make a clean Karaf 3.0.4 installation - Start Karaf and install features: feature:repo-add camel 2.14.3 feature:install camel f

RE: please help with transformation of a response by xslt

2015-09-01 Thread Jaishankar
After XSLT transformation try converting to "org.w3c.dom.Document". -- View this message in context: http://camel.465427.n5.nabble.com/please-help-with-transformation-of-a-response-by-xslt-tp5756711p577.html Sent from the Camel - Users mailing list archive at Nabble.com.

onCompletion / exchange.isFailed() does not 'see' exception.

2015-09-01 Thread rwijngaa
Hi, I have a camel (2.15) route where i want to log an audit message when the route is successfull or log an an exception message when an exception occurs in the route. I thought i could use an onCompletion and check isFailed() on the exchange, but the strange thing is : the exception seems to be