Class MessageChannels
java.lang.Object
org.springframework.integration.dsl.MessageChannels
- Since:
- 5.0
- Author:
- Artem Bilan, Gary Russell
-
Method Summary
Modifier and TypeMethodDescriptionstatic DirectChannelSpec
direct()
static DirectChannelSpec
static ExecutorChannelSpec
static ExecutorChannelSpec
static FluxMessageChannelSpec
flux()
static FluxMessageChannelSpec
static PartitionedChannelSpec
partitioned
(int partitionCount) Create aPartitionedChannelSpec
.static PartitionedChannelSpec
partitioned
(String id, int partitionCount) Create aPartitionedChannelSpec
.static PriorityChannelSpec
priority()
static PriorityChannelSpec
static PriorityChannelSpec
priority
(String id, PriorityCapableChannelMessageStore messageGroupStore, Object groupId) static PriorityChannelSpec
priority
(PriorityCapableChannelMessageStore messageGroupStore, Object groupId) static PublishSubscribeChannelSpec<?>
static PublishSubscribeChannelSpec<?>
publishSubscribe
(boolean requireSubscribers) static PublishSubscribeChannelSpec<?>
static PublishSubscribeChannelSpec<?>
publishSubscribe
(String id, boolean requireSubscribers) static PublishSubscribeChannelSpec<?>
publishSubscribe
(String id, Executor executor) static PublishSubscribeChannelSpec<?>
publishSubscribe
(String id, Executor executor, boolean requireSubscribers) static PublishSubscribeChannelSpec<?>
publishSubscribe
(Executor executor) static PublishSubscribeChannelSpec<?>
publishSubscribe
(Executor executor, boolean requireSubscribers) static QueueChannelSpec
queue()
static QueueChannelSpec
static QueueChannelSpec
static QueueChannelSpec
static QueueChannelSpec
queue
(String id, ChannelMessageStore messageGroupStore, Object groupId) static QueueChannelSpec
queue
(ChannelMessageStore messageGroupStore, Object groupId) static RendezvousChannelSpec
static RendezvousChannelSpec
rendezvous
(String id)
-
Method Details
-
direct
-
direct
-
queue
-
queue
-
queue
-
queue
-
queue
-
queue
-
queue
public static QueueChannelSpec.MessageStoreSpec queue(ChannelMessageStore messageGroupStore, Object groupId) -
queue
public static QueueChannelSpec.MessageStoreSpec queue(String id, ChannelMessageStore messageGroupStore, Object groupId) -
executor
-
executor
-
rendezvous
-
rendezvous
-
priority
-
priority
-
priority
public static PriorityChannelSpec priority(PriorityCapableChannelMessageStore messageGroupStore, Object groupId) -
priority
public static PriorityChannelSpec priority(String id, PriorityCapableChannelMessageStore messageGroupStore, Object groupId) -
publishSubscribe
-
publishSubscribe
-
publishSubscribe
-
publishSubscribe
public static PublishSubscribeChannelSpec<?> publishSubscribe(String id, boolean requireSubscribers) -
publishSubscribe
-
publishSubscribe
public static PublishSubscribeChannelSpec<?> publishSubscribe(Executor executor, boolean requireSubscribers) -
publishSubscribe
-
publishSubscribe
public static PublishSubscribeChannelSpec<?> publishSubscribe(String id, Executor executor, boolean requireSubscribers) -
flux
-
flux
-
partitioned
Create aPartitionedChannelSpec
.- Parameters:
partitionCount
- the number of partitions in the channel.- Returns:
- the
PartitionedChannelSpec
. - Since:
- 6.1
-
partitioned
Create aPartitionedChannelSpec
.- Parameters:
id
- the bean name for the channel.partitionCount
- the number of partitions in the channel.- Returns:
- the
PartitionedChannelSpec
. - Since:
- 6.1
-