I am new to Camel and just started learning and using it for current project.
Am planning to audit the log message in activemq and to use 'logback' (I don't know whether any other suitable options available).
Based on some blogs/article, I started to use logback and started to implement as mentioned below.
added the following items before pax logging services in startup.properties file.
added the following configurations in org.ops4j.pax.logging.cfg file in etc folder.
In my fuse project, I am logging the message as mentioned below.
couple of same messages in activemq :
javax.jms.JMSException: Failed to build body from content. Serializable class not available to broker. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.spi.LoggingEventVO not found by org.fusesource.mq.mq-web-console
I need some help to find out whether I have done anything wrong or misunderstood the implementation.
Edited by: subbusdm on May 7, 2013 11:58 AM
Fuse MQ uses Pax-Logging as the logging system.
You can only use the logging frameworks that pax-logging supports. And I am not sure if logback is one of them. If you use log4j instead then it ought to work.