Class LevelDBCamelCodec
- java.lang.Object
-
- org.apache.camel.component.leveldb.LevelDBCamelCodec
-
public final class LevelDBCamelCodec extends Object
-
-
Constructor Summary
Constructors Constructor Description LevelDBCamelCodec(LevelDBSerializer serializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]marshallExchange(org.apache.camel.CamelContext camelContext, org.apache.camel.Exchange exchange, boolean allowSerializedHeaders)byte[]marshallKey(String key)org.apache.camel.ExchangeunmarshallExchange(org.apache.camel.CamelContext camelContext, byte[] buffer)StringunmarshallKey(byte[] buffer)
-
-
-
Constructor Detail
-
LevelDBCamelCodec
public LevelDBCamelCodec(LevelDBSerializer serializer)
-
-
Method Detail
-
marshallKey
public byte[] marshallKey(String key) throws IOException
- Throws:
IOException
-
unmarshallKey
public String unmarshallKey(byte[] buffer) throws IOException
- Throws:
IOException
-
marshallExchange
public byte[] marshallExchange(org.apache.camel.CamelContext camelContext, org.apache.camel.Exchange exchange, boolean allowSerializedHeaders) throws IOException- Throws:
IOException
-
unmarshallExchange
public org.apache.camel.Exchange unmarshallExchange(org.apache.camel.CamelContext camelContext, byte[] buffer) throws IOException- Throws:
IOException
-
-