Package | Description |
---|---|
net.engio.mbassy.bus | |
net.engio.mbassy.bus.common | |
net.engio.mbassy.bus.config | |
net.engio.mbassy.bus.error | |
net.engio.mbassy.subscription |
Modifier and Type | Method and Description |
---|---|
Collection<IPublicationErrorHandler> |
AbstractPubSubSupport.getRegisteredErrorHandlers() |
Constructor and Description |
---|
MBassador(IPublicationErrorHandler errorHandler)
Construct with default settings and specified publication error handler
|
SyncMessageBus(IPublicationErrorHandler errorHandler)
Construct with default settings and specified publication error handler
|
Modifier and Type | Method and Description |
---|---|
Collection<IPublicationErrorHandler> |
ErrorHandlingSupport.getRegisteredErrorHandlers()
Get all registered instance of
IPublicationErrorHandler |
Modifier and Type | Method and Description |
---|---|
Collection<IPublicationErrorHandler> |
BusConfiguration.getRegisteredPublicationErrorHandlers()
Get an unmodifiable collection of all registered publication error handlers
|
Modifier and Type | Method and Description |
---|---|
BusConfiguration |
BusConfiguration.addPublicationErrorHandler(IPublicationErrorHandler handler)
Add a handler that will be called whenever a publication error occurs.
|
Modifier and Type | Class and Description |
---|---|
static class |
IPublicationErrorHandler.ConsoleLogger
The default error handler will simply log to standard out and
print the stack trace if available.
|
Modifier and Type | Method and Description |
---|---|
Collection<IPublicationErrorHandler> |
SubscriptionContext.getErrorHandlers()
Get the error handlers registered with the enclosing bus.
|
Constructor and Description |
---|
SubscriptionContext(BusRuntime runtime,
MessageHandler handler,
Collection<IPublicationErrorHandler> errorHandlers) |
Copyright © 2018. All rights reserved.