Search in sources :

Example 1 with Rfc5425Encoder

use of org.apache.camel.component.syslog.netty.Rfc5425Encoder in project camel by apache.

the class NettyRfc5425LongMessageTest method createRegistry.

@Override
protected JndiRegistry createRegistry() throws Exception {
    JndiRegistry jndi = super.createRegistry();
    jndi.bind("decoder", new Rfc5425FrameDecoder());
    jndi.bind("encoder", new Rfc5425Encoder());
    return jndi;
}
Also used : JndiRegistry(org.apache.camel.impl.JndiRegistry) Rfc5425FrameDecoder(org.apache.camel.component.syslog.netty.Rfc5425FrameDecoder) Rfc5425Encoder(org.apache.camel.component.syslog.netty.Rfc5425Encoder)

Example 2 with Rfc5425Encoder

use of org.apache.camel.component.syslog.netty.Rfc5425Encoder in project camel by apache.

the class NettyRfc5425Test method createRegistry.

@Override
protected JndiRegistry createRegistry() throws Exception {
    JndiRegistry jndi = super.createRegistry();
    jndi.bind("decoder", new Rfc5425FrameDecoder());
    jndi.bind("encoder", new Rfc5425Encoder());
    return jndi;
}
Also used : JndiRegistry(org.apache.camel.impl.JndiRegistry) Rfc5425FrameDecoder(org.apache.camel.component.syslog.netty.Rfc5425FrameDecoder) Rfc5425Encoder(org.apache.camel.component.syslog.netty.Rfc5425Encoder)

Aggregations

Rfc5425Encoder (org.apache.camel.component.syslog.netty.Rfc5425Encoder)2 Rfc5425FrameDecoder (org.apache.camel.component.syslog.netty.Rfc5425FrameDecoder)2 JndiRegistry (org.apache.camel.impl.JndiRegistry)2