Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-2895

Please modularize activation classes necessary for email handling

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: component-camel
    • Labels:
      None
    • Environment:

      Switchyard on EAP. (Perhaps on Karaf as well.)

    • Steps to Reproduce:
      Hide

      Use the attached reproducer. Replace the email account values with an account/password that are known to be valid. Deploy and notice the error message in the logs.

      For further verification, add activation.jar to the switchyard module. This should make the problem go away.

      Show
      Use the attached reproducer. Replace the email account values with an account/password that are known to be valid. Deploy and notice the error message in the logs. For further verification, add activation.jar to the switchyard module. This should make the problem go away.

      Description

      SwitchYard allows email bindings, but the platform fails to provide the Activation classes necessary to process attachments.

      Caused by: java.lang.NoClassDefFoundError: javax/activation/DataHandler
      at org.switchyard.component.camel.common.composer.CamelMessageComposer.compose(CamelMessageComposer.java:76) [switchyard-component-common-camel-2.0.1.redhat-621084.jar:2.0.1.redhat-621084]

      Please modularize 'DataHandler' so SwitchYard can find it.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tcunning Thomas Cunningham
                  Reporter:
                  tcunning Thomas Cunningham
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: