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 Summary
Fields inherited from class org.springframework.integration.dsl.LoadBalancingChannelSpec
failover, loadBalancingStrategy, maxSubscribers
Fields inherited from class org.springframework.integration.dsl.MessageChannelSpec
channel
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, target
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected PartitionedChannel
doGet()
partitionKey
(Function<Message<?>, Object> partitionKeyFunction) threadFactory
(ThreadFactory threadFactory) Methods inherited from class org.springframework.integration.dsl.LoadBalancingChannelSpec
failover, loadBalancer, maxSubscribers
Methods inherited from class org.springframework.integration.dsl.MessageChannelSpec
datatype, getComponentsToRegister, interceptor, messageConverter, wireTap, wireTap, wireTap
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
PartitionedChannelSpec
protected PartitionedChannelSpec(int partitionCount)
-
-
Method Details
-
partitionKey
-
threadFactory
-
doGet
- Overrides:
doGet
in classMessageChannelSpec<PartitionedChannelSpec,
PartitionedChannel>
-