Hi Joerg and JB, Great, I'm glad you got it working, but I want to point out i was wrong about what I said >> That pulls in the com.sun.activation/jakarta.activation bundle I believe and that doesn't seem to work with the camel attachments processing That's not correct because lib/jdk9plus has org.apache.servicemix.specs.activation-api-1.2.1-1.2.1_3.jar
apache-karaf-4.3.6/lib/jdk9plus: istack-commons-runtime-3.0.10.jar jakarta.xml.bind-api-2.3.3.jar javax.annotation-api-1.3.2.jar jaxb-runtime-2.3.3.jar org.apache.servicemix.specs.activation-api-1.2.1-1.2.1_3.jar txw2-2.3.3.jar So what that means is that in a base install with jre.properties including the export of javax/activation that the same servicemix package is supposed to be providing those classes for the boot context (I believe that's the right way to put it, the boot classpath) and that means that it *is* likely something to do with classloading in camel. @JB >>In Karaf, we add a activation spec feature (already done) in specs features repo with activation capability That must be what I was thinking about when I said com.sun.activation/jakarta.activation because that feature uses that. I believe I *tried* that feature and it didn't work, but it might have been while javax/activation was still being exported into boot. karaf@root()> feature:info activation Feature activation 1.2.2 Feature contains followed bundles: mvn:com.sun.activation/jakarta.activation/1.2.2 start-level=10 -John On Fri, Feb 4, 2022 at 2:48 AM Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > Hi Joerg, > > Maybe you can do the following: > > - in Karaf by default, we remove activation from jre-9 jre.properties > - in Karaf, we add a activation spec feature (already done) in specs > features repo with activation capability > - in Camel, you define the requirement to the activation capability > > Regards > JB > > On 04/02/2022 08:26, Jörg Jansen wrote: > > Hi John, > > > > you made my day 😊. > > > > Removing the javax.activation from jre properties solved the problem. > > > > @Jean-Baptiste Onofre <mailto:j...@nanthrax.net>: Nevertheless, there > > might be a bug within the camel-mail integration. > > > > Should I create a Bug-Report for this behvior? > > > > Kind regards, > > > > Joerg >