camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sscott <>
Subject Unable to consume syslog messages
Date Thu, 03 Jan 2013 17:05:52 GMT
I'm attempting to use camel-syslog as detailed at to consume syslog messages. I'm using
Camel 2.10.2, Oracle JDK 1.6.0_31 64-Bit on CentOS 6.2.

I set up a simple test using Netty:

    val ctx = new DefaultCamelContext

    val dataFormat = new Rfc3164SyslogDataFormat

    ctx.addRoutes(new RouteBuilder() {
        def configure() {

(SyslogBean has a single method that accepts a
o.a.c.component.syslog.SyslogMessage and logs it).

I set up rsyslogd to forward *.* to localhost:5140.  Every log message
causes Camel to output an InvalidPayloadException caused by a
NoTypeConversionAvailableException with the detail "No type converter
available to convert from type:
org.jboss.netty.buffer.BigEndianHeapChannelBuffer to the required type: with value BigEndianHeapChannelBuffer(ridx=0, widx=105,

When I change the from() to be "mina:", with or without the sync=false and
allowDefaultCodec=false options, and change the maven dependencies to
camel-mina from camel-netty, the same exceptions are thrown with the detail
"No body available of type: on: Message: [Body is null].
Caused by: No type converter available to convert from type: null to the
required type: with value null."

This probably is more of a netty/mina question than a syslog dataformat
question, any help is appreciated

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

View raw message