Re: Camel Custom Data Format xmljson

2012-08-13 Thread Henryk Konsek
> BTW reading SOAP messages as JSON looks suspicious in the first place > :) . SOAP is a transport envelope for the message, so it is usually > created only for the time of web service communication. Do you really > need to store SOAP messages somewhere in the JSON format? I'd rethink > this approa

Re: Camel Custom Data Format xmljson

2012-08-13 Thread Henryk Konsek
> Colon (:) support means, I am passing soap creation data in json to camel > which I need to transform inside a soap xml which I am trying to achieve > using xml2json library Assuming that there is really no way of escaping colon in JSON keys... Maybe instead of creating your own data format, yo

Re: Camel Custom Data Format xmljson

2012-08-12 Thread Nitin Gautam
Colon (:) support means, I am passing soap creation data in json to camel which I need to transform inside a soap xml which I am trying to achieve using xml2json library and execute Sample JSON data want to convert in XML, I cann't pass colon directly as it is reserved for JSON hence passing 4 und

Re: Camel Custom Data Format xmljson

2012-08-12 Thread Henryk Konsek
Hi Nitn, > I am running Camel inside Karaf. I have created a custom dataformat by > implementing DataFormat interface. Now I have my custom class. Just put your data format related classes (and other resources if needed) into the same OSGI jar in which is your route. If you want to share your da

Re: Camel Custom Data Format xmljson

2012-08-12 Thread Raul Kripalani
Hi, Could you clarify what you mean by supporting the colon character in the marshal/unmarshal process? The camel-xmljson delegates the actual marshalling and unmarshalling to a library called json-lib. Regards. Sent from my iPhone On 11 Aug 2012, at 17:55, Nitn Gautam wrote: > I am trying t

Re: Camel Custom Data Format xmljson

2012-08-12 Thread James Carman
Take a look at what camel-jaxb does: http://svn.apache.org/repos/asf/camel/trunk/components/camel-jaxb/src/main/resources/META-INF/services/org/apache/camel/dataformat/jaxb You need to do something similar. This is the class that will look for that file in an OSGi environment: http://svn.apache

Re: Camel Custom Data Format xmljson

2012-08-11 Thread Nitin Gautam
I am running Camel inside Karaf. I have created a custom dataformat by implementing DataFormat interface. Now I have my custom class. In order to make it visible to my camel route inside karaf where to copy this class file? Please provide guidance. - Knowledge Is Power Share It -- View th

Re: Camel Custom Data Format xmljson

2012-08-11 Thread Nitin Gautam
I am aware of this link but want to ask once i create a custom formatter where to deplo that file so that can access inside camel context. i am using camel inside karaf. - Knowledge Is Power Share It -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Custom-Data-Forma

Re: Camel Custom Data Format xmljson

2012-08-11 Thread Taariq Levack
Hi Here's a nice page on custom data format[1] [1]http://camel.apache.org/custom-dataformat.html On 11 Aug 2012, at 18:55, Nitn Gautam wrote: > I am trying to make a custom dataformat using xmljson. I want to support ":" > in marshall/UnMarshall process. > I am using Spring XML for route defin