Class BinaryToMessageConverter
java.lang.Object
org.springframework.integration.mongodb.support.BinaryToMessageConverter
@ReadingConverter
public class BinaryToMessageConverter
extends Object
implements Converter<org.bson.types.Binary,Message<?>>
- Since:
- 5.0
- Author:
- Artem Bilan, Gary Russell
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAllowedPatterns
(String... patterns) Add patterns for packages/classes that are allowed to be deserialized.Message<?>
convert
(org.bson.types.Binary source)
-
Constructor Details
-
BinaryToMessageConverter
public BinaryToMessageConverter()
-
-
Method Details
-
convert
-
addAllowedPatterns
Add patterns for packages/classes that are allowed to be deserialized. A class can be fully qualified or a wildcard '*' is allowed at the beginning or end of the class name. Examples:com.foo.*
,*.MyClass
.- Parameters:
patterns
- the patterns.- Since:
- 5.4
-