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

Cannot set XStream permissions on a per CamelContext basis

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 2.16.1
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: