camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <>
Subject [jira] Assigned: (CAMEL-3154) [XStream] Custom Xstream driver
Date Sat, 25 Sep 2010 01:07:40 GMT


Willem Jiang reassigned CAMEL-3154:

    Assignee: Willem Jiang

> [XStream] Custom Xstream driver
> -------------------------------
>                 Key: CAMEL-3154
>                 URL:
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Henryk Konsek
>            Assignee: Willem Jiang
>            Priority: Trivial
>         Attachments: xstream_custom_driver.patch
> AbstractXStreamWrapper#createXStream uses hardcoded default XStream constructor. Such
design makes impossible to set custom HierarchicalStreamDriver to the XStream instance.
> It would be nice to provide an ability to configure AbstractXStreamWrapper with optional
HierarchicalStreamDriver instance.
> I created patch which adds AbstractXStreamWrapper#xstreamDriver property (+test).
> Patch also adds XML attribute 'driverRef' to Spring configuration (org.apache.camel.model.dataformat.XStreamDataFormat).
However this new attribute of Spring DSL doesn't work because I got no idea how to wire existing
Spring bean into the created dataFormat instance (since org.apache.camel.model.dataformat.XStreamDataFormat
is Spring-unaware).
> Could somebody take a look at it, fix Spring DSL support and probably commit it to the

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message