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
failoverStrategy, loadBalancingStrategy, maxSubscribersFields inherited from class org.springframework.integration.dsl.MessageChannelSpec
channelFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PartitionedChanneldoGet()partitionKey(Function<Message<?>, Object> partitionKeyFunction) threadFactory(ThreadFactory threadFactory) Methods inherited from class org.springframework.integration.dsl.LoadBalancingChannelSpec
failover, failoverStrategy, loadBalancer, maxSubscribersMethods inherited from class org.springframework.integration.dsl.MessageChannelSpec
datatype, 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
PartitionedChannelSpec
protected PartitionedChannelSpec(int partitionCount)
-
-
Method Details
-
partitionKey
-
threadFactory
-
doGet
- Overrides:
doGetin classMessageChannelSpec<PartitionedChannelSpec,PartitionedChannel>
-