Why is Camel sending Message body content rather than the Message itself when using the Bean component?
I created a Java class for EIP Event Messages. I expected to receive a Message at Observer.accept(Object o)
when using Camel’s Bean component but I get an Event
instead. While this is convenient since I don’t have to extract the Event
from the Message
‘s body myself I don’t have access to the message’s possible headers and attachments with this.