T
- The type of message this bus consumesP
- The publication commands this bus supports depend on Ppublic abstract class AbstractSyncAsyncMessageBus<T,P extends ISyncAsyncPublicationCommand> extends AbstractPubSubSupport<T> implements IMessageBus<T,P>
ERROR_HANDLER_MSG
Modifier and Type | Method and Description |
---|---|
boolean |
hasPendingMessages()
Check whether any asynchronous message publications are pending to be processed
|
void |
shutdown()
Shutdown the bus such that it will stop delivering asynchronous messages.
|
getRegisteredErrorHandlers, getRuntime, subscribe, toString, unsubscribe
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
post
publish, subscribe, unsubscribe
getRuntime
getRegisteredErrorHandlers
public void shutdown()
IMessageBus
shutdown
in interface IMessageBus<T,P extends ISyncAsyncPublicationCommand>
public boolean hasPendingMessages()
IMessageBus
hasPendingMessages
in interface IMessageBus<T,P extends ISyncAsyncPublicationCommand>
Copyright © 2018. All rights reserved.