Class MessageToBinaryConverter

java.lang.Object
org.springframework.integration.mongodb.support.MessageToBinaryConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<org.springframework.messaging.Message<?>,​org.bson.types.Binary>

@WritingConverter
public class MessageToBinaryConverter
extends java.lang.Object
implements org.springframework.core.convert.converter.Converter<org.springframework.messaging.Message<?>,​org.bson.types.Binary>
Since:
5.0
  • Constructor Summary

    Constructors 
    Constructor Description
    MessageToBinaryConverter()  
  • Method Summary

    Modifier and Type Method Description
    org.bson.types.Binary convert​(org.springframework.messaging.Message<?> source)  

    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

  • Method Details

    • convert

      public org.bson.types.Binary convert​(org.springframework.messaging.Message<?> source)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<org.springframework.messaging.Message<?>,​org.bson.types.Binary>