public class SyncMessageBus<T> extends AbstractSyncMessageBus<T,SyncMessageBus.SyncPostCommand>
| Modifier and Type | Class and Description |
|---|---|
class |
SyncMessageBus.SyncPostCommand |
| Constructor and Description |
|---|
SyncMessageBus(ISyncBusConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
SyncMessageBus.SyncPostCommand |
post(T message)
Publish a message to the bus using on of its supported message publication mechanisms.
|
void |
publish(T message)
Synchronously publish a message to all registered listeners (this includes listeners defined for super types)
The call blocks until every messageHandler has processed the message.
|
addErrorHandler, createMessagePublication, getPublicationFactory, getRegisteredErrorHandlers, getRuntime, getSubscriptionsByMessageType, handlePublicationError, subscribe, unsubscribepublic SyncMessageBus(ISyncBusConfiguration configuration)
public void publish(T message)
message - public SyncMessageBus.SyncPostCommand post(T message)
GenericMessagePublicationSupportCopyright © 2013. All Rights Reserved.