camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-9320) Cannot set XStream permissions on a per CamelContext basis
Date Fri, 13 Nov 2015 14:40:11 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-9320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-9320.
--------------------------------
    Resolution: Won't Fix

> Cannot set XStream permissions on a per CamelContext basis
> ----------------------------------------------------------
>
>                 Key: CAMEL-9320
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9320
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Thomas Diesler
>             Fix For: 2.16.1
>
>
> One would expect to set xstream permissions on the DataFormat associated with a given
CamelContext like this
> {code}
>         XStreamDataFormat dataFormat = (XStreamDataFormat) camelctx.resolveDataFormat("xstream");
>         dataFormat.setPermissions("+" + Customer.class.getName());
> {code}  
> This approach fails however because the DefaultDataFormatResolver does not cache the
DataFormat instances it creates 



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

Mime
View raw message