Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9320

Cannot set XStream permissions on a per CamelContext basis

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • 2.16.1
    • camel-core
    • None
    • Unknown

    Description

      One would expect to set xstream permissions on the DataFormat associated with a given CamelContext like this

              XStreamDataFormat dataFormat = (XStreamDataFormat) camelctx.resolveDataFormat("xstream");
              dataFormat.setPermissions("+" + Customer.class.getName());
      

      This approach fails however because the DefaultDataFormatResolver does not cache the DataFormat instances it creates

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tdiesler Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: