Class DefaultPartitioningInterceptor

  • All Implemented Interfaces:
    org.springframework.messaging.support.ChannelInterceptor

    public class DefaultPartitioningInterceptor
    extends Object
    implements org.springframework.messaging.support.ChannelInterceptor
    Since:
    3.1
    Author:
    Oleg Zhurakousky
    • Constructor Detail

      • DefaultPartitioningInterceptor

        public DefaultPartitioningInterceptor​(BindingProperties bindingProperties,
                                              org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
    • 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:
        preSend in interface org.springframework.messaging.support.ChannelInterceptor