MessageToBinaryConverter and BinaryToMessageConverter@WritingConverter
@ReadingConverter
@Deprecated
public class MongoDbMessageBytesConverter
extends java.lang.Object
implements org.springframework.core.convert.converter.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.| Constructor and Description |
|---|
MongoDbMessageBytesConverter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addWhiteListPatterns(java.lang.String... patterns)
Deprecated.
Add patterns for packages/classes that are allowed to be deserialized.
|
java.lang.Object |
convert(java.lang.Object source,
org.springframework.core.convert.TypeDescriptor sourceType,
org.springframework.core.convert.TypeDescriptor targetType)
Deprecated.
|
java.util.Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> |
getConvertibleTypes()
Deprecated.
|
public java.util.Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()
getConvertibleTypes in interface org.springframework.core.convert.converter.GenericConverterpublic java.lang.Object convert(java.lang.Object source,
org.springframework.core.convert.TypeDescriptor sourceType,
org.springframework.core.convert.TypeDescriptor targetType)
convert in interface org.springframework.core.convert.converter.GenericConverterpublic void addWhiteListPatterns(java.lang.String... patterns)
com.foo.*, *.MyClass.patterns - the patterns.