camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "s.marjanovic" <>
Subject Routing from eventadmin to active MQ
Date Sun, 05 Apr 2015 23:27:33 GMT

I'm new to camel and I'm facing a problem when trying to route from
eventadmin component to an activemq.

The route is as configured below:


I understand that some sort of conversion/processing will be needed in order
for camel to handle me sending an osgi event (org.osgi.service.event.Event)
to an activemq. I tried to achieve the said conversion by including a custom
message converter as shown below:


but the following exception occurs:

An exception occurred: java.lang.NullPointerException
The MEP is : InOnly
in: Message body contains an object that currently can't be handled: Event

Furthermore, the exception is thrown again and again resulting in ~10k lines
in log file per second and my jboss fuse instance becomes unresponsive and
has to be stopped from task manager.

In truth, the custom message converter I included was there just so I can
try to debug and figure out how to proceed, but because of the above that is
not possible. Are there other means of conversion available or extendable
within camel that would help me solve this problem?

Windows 7
JDK 1.7
Routes are deployed as bundles under Jboss Fuse
Camel version 2.12.0.redhat-610379

Kind regards,

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message