camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Commented) (JIRA)" <>
Subject [jira] [Commented] (CAMEL-4930) Provide a Data Format to convert XML <-> JSON directly (json-lib)
Date Thu, 05 Apr 2012 16:50:25 GMT


Claus Ibsen commented on CAMEL-4930:

When you have initialization logic etc. Then use the doStart/doStop methods from ServiceSupport.
Alternative if you cannot extend ServiceSupport, them implement Service and use the start|stop
methods. I committed a fix to trunk.

This is the proper way with Camel to have start/stop logic executed. As the previous logic
have issues with concurrency when multiple threads invoke the marshal / unmarshal method.
> Provide a Data Format to convert XML <-> JSON directly (json-lib)
> -----------------------------------------------------------------
>                 Key: CAMEL-4930
>                 URL:
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.9.0
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.10.0
>         Attachments: camel-xmljson-full.diff
> Currently if one wants to convert from XML to JSON, the payload must first be serialised
to an object / POJO.
> The proposal is to create a new Data Format called camel-xmljson which uses the json-lib
library to perform the conversion directly: This library
is Apache-licensed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message