How does the Camel API compare to from CXF, HTTP, JBI, JMS, JavaMail etc
We have tried to make the Camel Exchange and Message map very closely to JBI in particular but also CXF, HTTP, JMS, Mail, XMPP and most other messaging integration abstractions. We want to prevent leaky abstractions, so the Camel API exposes the underlying messaging APIs so that a Processor can make use of the underlying messaging abstractions if they make sense.
...
Component | Inbound exchange exposes |
---|---|
Each Inbound CxfExchange has access to the underlying Exchange and Message from CXF | |
Each inbound HttpExchange has access to the underlying HttpServletRequest and HttpServletResponse | |
Each inbound JbiExchange has access to the underlying JBI MessageExchange and NormalizedMessage objects | |
Each inbound JmsExchange has access to the underlying JMS Message objects |
...