[ 
https://issues.apache.org/jira/browse/CAMEL-9587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228470#comment-15228470
 ] 

ASF GitHub Bot commented on CAMEL-9587:
---------------------------------------

GitHub user lburgazzoli opened a pull request:

    https://github.com/apache/camel/pull/933

    CAMEL-9587 - camel-restlet - Make it easy to turn on gson or jackson

    With this PR one can explicit set the converters to use with:
    
    ```
    
from("restlet:....?enabledConverters=JacksonConverter,my.company.MyConverter")
    ```
    
    Notes:
    - the converted need to be installed
    - by default all the converter found by the Engine are enabled
    - converters not used are removed from the engine which is a singleton s
    
    To make it easy to add Jackson/Gson extension there are now two more 
features:
    - camel-restlet-jackson
    - camel-restlet-gson
    
    Hope it cope with the requirements.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lburgazzoli/apache-camel CAMEL-9587

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/933.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #933
    
----
commit 33f1135f646f9d9dc149a41f5b8ad5faa7656b8c
Author: lburgazzoli <[email protected]>
Date:   2016-04-06T10:57:03Z

    CAMEL-9587 - camel-restlet - Make it easy to turn on gson or jackson

----


> camel-restlet - Make it easy to turn on gson or jackson
> -------------------------------------------------------
>
>                 Key: CAMEL-9587
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9587
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jackson
>            Reporter: Claus Ibsen
>            Assignee: Luca Burgazzoli
>             Fix For: 2.18.0
>
>
> We should make it easy to turn on jackson or gson as the json library. You 
> need to do this by adding those jackson type converters from those 
> restlet.ext JAR files.
> https://restlet.com/technical-resources/restlet-framework/javadocs/snapshot/jse/ext/
> Then we can add some options on the component to turn this on|off.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to