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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.messaging.Message<?>preSend(org.springframework.messaging.Message<?> message, org.springframework.messaging.MessageChannel channel)voidsetPartitionCount(int partitionCount)
-
-
-
Method Detail
-
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
-
-