Class MessageConverterConfigurer.PartitioningInterceptor

java.lang.Object
org.springframework.cloud.stream.binding.MessageConverterConfigurer.PartitioningInterceptor
All Implemented Interfaces:
org.springframework.messaging.support.ChannelInterceptor
Enclosing class:
MessageConverterConfigurer

public final class MessageConverterConfigurer.PartitioningInterceptor extends Object implements org.springframework.messaging.support.ChannelInterceptor
Partitioning channel interceptor.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.messaging.Message<?>
    preSend(org.springframework.messaging.Message<?> message, org.springframework.messaging.MessageChannel channel)
     
    void
    setPartitionCount(int partitionCount)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.messaging.support.ChannelInterceptor

    afterReceiveCompletion, afterSendCompletion, postReceive, postSend, preReceive
  • Method Details

    • setPartitionCount

      public void setPartitionCount(int partitionCount)
    • preSend

      public org.springframework.messaging.Message<?> preSend(org.springframework.messaging.Message<?> message, org.springframework.messaging.MessageChannel channel)
      Specified by:
      preSend in interface org.springframework.messaging.support.ChannelInterceptor