public class SyncMessageBus<T> extends AbstractSyncMessageBus<T,SyncMessageBus.SyncPostCommand>
| Modifier and Type | Class and Description |
|---|---|
class |
SyncMessageBus.SyncPostCommand |
ISyncMessageBus.ISyncPostCommand| Constructor and Description |
|---|
SyncMessageBus(SyncBusConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
SyncMessageBus.SyncPostCommand |
post(T message) |
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, getSubscriptionsByMessageType, handlePublicationError, subscribe, unsubscribepublic SyncMessageBus(SyncBusConfiguration configuration)
public void publish(T message)
message - public SyncMessageBus.SyncPostCommand post(T message)
Copyright © 2013. All Rights Reserved.