Hi,

I'm working on converting a flow (consists of 2 camel contexts) to use Amazon 
SQS instead of ActiveMQ (which worked just fine).
Setup:
File -> Camel context 1 -> AWS SQS -> Camel context 2 -> Databsae

Connectivity isn't an issue but I need to marshal/unmarshal the messages using 
base64 since SQS only supports text messages.
Additionally I need to marshal the Java Objects using serialization prior to 
base64 since the base64 marshaller only takes a byte stream.

Camel context 1: (Marshal: serialization, base64), writes a CamelExchange
Camel context 2: (Unmarshal: base64, serialization), reads a CamelExchange

The issue occurs in the second context when I try to unmarshal the bytestream 
to the Java object and I get a ClassNotFoundException for "MyObject".
"MyMessage" -> "MyObject"

A common bundle exports the objects in question and both contexts imports them.
Camel version 2.12

Thanks
/Gustav

Reply via email to