Package io.jmix.core.cluster
Class LocalApplicationEventChannelSupplier.LocalChannel
java.lang.Object
io.jmix.core.cluster.LocalApplicationEventChannelSupplier.LocalChannel
- All Implemented Interfaces:
org.springframework.messaging.MessageChannel,org.springframework.messaging.SubscribableChannel
- Enclosing class:
LocalApplicationEventChannelSupplier
protected static class LocalApplicationEventChannelSupplier.LocalChannel
extends Object
implements org.springframework.messaging.SubscribableChannel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<org.springframework.messaging.MessageHandler> Fields inherited from interface org.springframework.messaging.MessageChannel
INDEFINITE_TIMEOUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleansend(org.springframework.messaging.Message<?> message, long timeout) booleansubscribe(org.springframework.messaging.MessageHandler handler) booleanunsubscribe(org.springframework.messaging.MessageHandler handler) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.messaging.MessageChannel
send
-
Field Details
-
handlers
-
-
Constructor Details
-
LocalChannel
protected LocalChannel()
-
-
Method Details
-
subscribe
public boolean subscribe(org.springframework.messaging.MessageHandler handler) - Specified by:
subscribein interfaceorg.springframework.messaging.SubscribableChannel
-
unsubscribe
public boolean unsubscribe(org.springframework.messaging.MessageHandler handler) - Specified by:
unsubscribein interfaceorg.springframework.messaging.SubscribableChannel
-
send
public boolean send(org.springframework.messaging.Message<?> message, long timeout) - Specified by:
sendin interfaceorg.springframework.messaging.MessageChannel
-