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 TypeMethodDescriptionorg.springframework.messaging.Message<?>preSend(org.springframework.messaging.Message<?> message, org.springframework.messaging.MessageChannel channel) voidsetPartitionCount(int partitionCount) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
preSendin interfaceorg.springframework.messaging.support.ChannelInterceptor
-