Class PartitionedChannelSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,C>
 
org.springframework.integration.dsl.MessageChannelSpec<S,C>
 
org.springframework.integration.dsl.LoadBalancingChannelSpec<PartitionedChannelSpec,PartitionedChannel>
 
org.springframework.integration.dsl.PartitionedChannelSpec
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<PartitionedChannel>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle,- ComponentsRegistration
public class PartitionedChannelSpec
extends LoadBalancingChannelSpec<PartitionedChannelSpec,PartitionedChannel> 
A 
LoadBalancingChannelSpec implementation for the PartitionedChannel.- Since:
- 6.1
- Author:
- Artem Bilan
- 
Field SummaryFields inherited from class org.springframework.integration.dsl.LoadBalancingChannelSpecfailoverStrategy, loadBalancingStrategy, maxSubscribersFields inherited from class org.springframework.integration.dsl.MessageChannelSpecchannelFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected PartitionedChanneldoGet()partitionKey(Function<Message<?>, Object> partitionKeyFunction) threadFactory(ThreadFactory threadFactory) Methods inherited from class org.springframework.integration.dsl.LoadBalancingChannelSpecfailover, failoverStrategy, loadBalancer, maxSubscribersMethods inherited from class org.springframework.integration.dsl.MessageChannelSpecdatatype, getComponentsToRegister, interceptor, messageConverter, wireTap, wireTap, wireTapMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Constructor Details- 
PartitionedChannelSpecprotected PartitionedChannelSpec(int partitionCount) 
 
- 
- 
Method Details- 
partitionKey
- 
threadFactory
- 
doGet- Overrides:
- doGetin class- MessageChannelSpec<PartitionedChannelSpec,- PartitionedChannel> 
 
 
-