title: How to read message form activemq in camel route
body: <p>Im trying to read message from a queue using camel route and send it to a bean of message listener, but it ends with exception. am i doing some thing wrong.
  I have serialized object in activemq</p>
  
  <pre><code> &lt;bean class="com.herman.cxf.incident.ReportIncidentRequestConsumer"
              id="requestConsumer" /&gt;
          &lt;camelContext id="camelContext-32616f27-d786-4ed8-9f75-2d208cd14b40"
              trace="false" xmlns="http://camel.apache.org/schema/blueprint"&gt;
              &lt;route id="report_amq"&gt;
                  &lt;from uri="activemq:queue:INCIDENT_REQUEST" /&gt;
                  &lt;to uri="bean:requestConsumer" /&gt;
              &lt;/route&gt;
          &lt;/camelContext&gt;
  </code></pre>
  
  <p>Message Listner Class:</p>
  
  <pre><code>public class ReportIncidentRequestConsumer implements MessageListener {
  
          Logger _log = Logger.getLogger(ReportIncidentRequestConsumer.class);
  
          @Override
          public void onMessage(Message arg0) {
              _log.info("================== IM HERE IN REQUEST CONSUMER ===============");
          }
  
      }
  </code></pre>
  
  <p><strong>Excpetion:</strong>
  Caused by: javax.jms.JMSException: Failed to build body from content. Serializable class not available to broker. Reason: java.lang.ClassNotFoundException: Forbidden class org.apache.cxf.message.MessageContentsList! This class is not trusted to be serialized as ObjectMessage payload.</p>