Thank Claus. Indeed, the code source camel-stax say : In processor ContentHandler handler = contentHandlerClass.newInstance(); In Component processor.setContentHandler(getCamelContext().getClassResolver(), remaining);
So it is not possible actually. I am currently discussing with Romain Manni-Bucau, the developer of the component. But let's say I just finished the Camel documentation, so I'm a novice. But I think it happen. -- View this message in context: http://camel.465427.n5.nabble.com/camel-stax-use-a-custom-bean-handler-not-a-class-tp5732395p5732400.html Sent from the Camel - Users mailing list archive at Nabble.com.