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

Automate "org.apache.activemq.SERIALIZABLE_PACKAGES" setup for camel-activemq

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.17.0
    • camel-activemq, camel-jms
    • None
    • Unknown

    Description

      For ActiveMQ object message (de)serialization, AMQ-6013 tightly restricts accepted classes to a small set of absolutely necessary packages. Although I'm not clear on why that change was necessary, it's easily overcome by setting the "org.apache.activemq.SERIALIZABLE_PACKAGES" system property.

      We recently hit the Exception ActiveMQ throws if this isn't set, when you use your own object as a message body. I'm guessing other camel-activemq users will be caught offguard by the change as well.

      Suggestion: during runtime, camel-activemq chould set/update that system property, as object messages are sent.

      Alternatively, as a bare minimum, we should document this on the camel-activemq wiki...

      Attachments

        Activity

          People

            Unassigned Unassigned
            3riverdev Brett E. Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: