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

Claus Ibsen commented on CAMEL-9297:
------------------------------------

I think we need to add a less verbose style. 99% of users just need what is 
there today. And then be able to setup something a list of allowed package 
names based on wildcard,

I would like all this complex configuration to be optional, and then have a 
simpler shorthand style for the day to day
{code}
<xstream id="foo" wildcard="com.foo.*"/>
{code}

eg people do not want to remember al the long classnames like in spring 1.1.x 
days. They just want a simple and easy to configure.

If you want a custom xstream then maybe allow that for the <bean> style where 
you can configure it. But I would like the DSL to be simpler and easy to use.

> Expose more configuration options from Camel's XStream component
> ----------------------------------------------------------------
>
>                 Key: CAMEL-9297
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9297
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-xstream
>    Affects Versions: 2.16.0, 2.15.4
>            Reporter: Akitoshi Yoshida
>            Assignee: Akitoshi Yoshida
>         Attachments: 
> 0001-CAMEL-9297-Expose-more-configuration-options-from-Ca.patch
>
>
> Currently, some of the configuration options of XStream are only configurable 
> over the XStream API. This means, the user must instantiate an instance of 
> XStream and configure that instance and assign it to Camel's XStream 
> component to configure these options.
> This patch will add a more convenient way to set these additional options 
> directly over Camel's XStream component.



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

Reply via email to