MessageToBinaryConverter and BinaryToMessageConverter@WritingConverter @ReadingConverter @Deprecated public class MongoDbMessageBytesConverter extends Object implements GenericConverter
GenericConverter implementation to convert Message to
serialized byte[] to store Message to the MongoDB.
And vice versa - to convert byte[] from the MongoDB to the Message.GenericConverter.ConvertiblePair| Constructor and Description |
|---|
MongoDbMessageBytesConverter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addWhiteListPatterns(String... patterns)
Deprecated.
Add patterns for packages/classes that are allowed to be deserialized.
|
Object |
convert(Object source,
TypeDescriptor sourceType,
TypeDescriptor targetType)
Deprecated.
|
Set<GenericConverter.ConvertiblePair> |
getConvertibleTypes()
Deprecated.
|
public Set<GenericConverter.ConvertiblePair> getConvertibleTypes()
getConvertibleTypes in interface GenericConverterpublic Object convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType)
convert in interface GenericConverterpublic void addWhiteListPatterns(String... patterns)
com.foo.*, *.MyClass.patterns - the patterns.