camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Commented: (CAMEL-924) Xml factory in camel-xstream
Date Fri, 10 Oct 2008 17:05:52 GMT


Claus Ibsen commented on CAMEL-924:

I think we need some kind of property you can set to use a fixed xml factory.

Vadim is there any API to set this? from a standard javax or from the XStream?

> Xml factory in camel-xstream
> ----------------------------
>                 Key: CAMEL-924
>                 URL:
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Vadim Chekan
>            Priority: Critical
> Related nabble:
> We need to fixate the xml writer created in camel-xstream via
> (we need xstream component in Jira).
> Otherwise factory falls into unpredictable writer and in case of
it refuses to work if file.encoding is set to something different then UTF-8.
> May be propert implementation would be to attempt to use com.ctc.wstx.stax.WstxOutputFactory
and if it fails, then produce a warning and use whatever is available. 
> Also for those who know what they are doing we can provide a setting in camel context
which factory to use.

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

View raw message