camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: [XStream] Omitting fields configuration patch
Date Fri, 24 Sep 2010 08:38:51 GMT

Can you create a ticket in JIRA with the patch and assign the file,
and remember to tick [x] for granting license to Apache.
Otherwise we can accept and use the patch in the code base if no
license accepted.

Link to JIRA from here (issue tracker)

On Fri, Sep 24, 2010 at 10:26 AM, Henryk Konsek <> wrote:
> Hi
> I posted that message yesterday using the Nabble but it is still
> marked as 'pending'
> (
> So now I try send it directly to the mailing list.
> So... XStream allows to ignore selected fields for particular classes
> (kind of "transient" fields). This feature is descibed here - Tweaking
> XStream output (
> I needed to use that functionality in the Camel XStream data
> transformation. AbstractXStreamWrapper provides support for aliases
> and implicit collections but doesn't for XStream#omitField.
> At this moment this problem can be handled with custom XStream Spring
> FactoryBean and AbstractXStreamWrapper#setXStream method (just like I
> did). However this solution is quite verbose. I think that if
> AbstractXStreamWrapper supports both aliases and implicit collections
> configuration, it should also supports fields omitting.
> I've created patch for AbstractXStreamWrapper and unit test for it.
> Maybe somebody could submit it to the codebase?
> Kind regards.
> --
> Henryk Konsek

Claus Ibsen
Apache Camel Committer

Author of Camel in Action:
Open Source Integration:

View raw message