On 14/11/2007, humax <[EMAIL PROTECTED]> wrote:
> Hi Camel riders!

Hey!

> Well, I thnk that there is no topic in the forum about the Syslog protocol.
>
> I think that Camel can not receive directly Syslog events (well at least
> receive them as Syslog events) but it can receive datagrams with MINA and
> after that transform the raw data into a Syslog Event Bean.

Awesome! :)

If we can get some kind of Codec for MINA that can handle Syslog
messages it should be trivial to create a SyslogComponent for Camel
that reuses the MinaComponent and just defaults the codec into MINA.


> Syslog is widely used in Unix environments and there are son tools to use it
> in Windows. The protocol is pretty generic so, with a little bit of
> imagination we could think of lots of different uses of an Event Messaging
> Protocol suitable for Application Events, System Events, etc...
>
> Nice, isn't it?

Sounds great!


> Well, here is some formal documentation about Syslog:
>
> Wikipedia Definition for Syslog: http://en.wikipedia.org/wiki/Syslog
> The RFC for the protocol: http://www.faqs.org/rfcs/rfc3164.html
>
> Let me know what you think guys!

Sounds fantastic - lets do it! I guess we just need a Syslog Codec for
MINA? I've done a small amount of googling and don't see any suitably
licensed Syslog parsers for Java. I guess it wouldn't be that hard to
write a new one - from a quick read of the spec  it doesn't look too
bad...

http://tools.ietf.org/html/rfc3164#page-8

Though if we can reuse a parser it'd save time :). I did find some
reference to a parser in Eclipse TPTP...
http://www.eclipse.org/tptp/platform/documents/tutorials/loganalyzer/ParserCorrelation.html#anchor012

not sure how easy it'd be to reuse etc.

-- 
James
-------
http://macstrac.blogspot.com/

Open Source SOA
http://open.iona.com

Reply via email to