Package io.jmix.core.cluster
Class LocalApplicationEventChannelSupplier
java.lang.Object
io.jmix.core.cluster.LocalApplicationEventChannelSupplier
- All Implemented Interfaces:
ClusterApplicationEventChannelSupplier,Supplier<org.springframework.messaging.SubscribableChannel>
@NullMarked
public class LocalApplicationEventChannelSupplier
extends Object
implements ClusterApplicationEventChannelSupplier
Provides a channel that publishes messages only to owner application instance
which is used in single-instance applications.
Each supplier instance has its own channel, so several application contexts in one JVM do not share subscribers.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.springframework.messaging.SubscribableChannel -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
localChannel
protected final org.springframework.messaging.SubscribableChannel localChannel
-
-
Constructor Details
-
LocalApplicationEventChannelSupplier
public LocalApplicationEventChannelSupplier()
-
-
Method Details