java.lang.Object
org.springframework.integration.mongodb.support.MessageToBinaryConverter
- All Implemented Interfaces:
Converter<Message<?>,@Nullable org.bson.types.Binary>
@WritingConverter
public class MessageToBinaryConverter
extends Object
implements Converter<Message<?>,@Nullable org.bson.types.Binary>
- Since:
- 5.0
- Author:
- Artem Bilan
-
Constructor Summary
Constructors
-
Method Summary
@Nullable org.bson.types.Binary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
MessageToBinaryConverter
public MessageToBinaryConverter()
-
Method Details
-
convert
public @Nullable org.bson.types.Binary convert(Message<?> source)
- Specified by:
convert in interface Converter<Message<?>,@Nullable org.bson.types.Binary>