Interface IPublicationErrorHandler

All Known Implementing Classes:
IPublicationErrorHandler.ConsoleLogger

public interface IPublicationErrorHandler
Publication error handlers are provided with a publication error every time an error occurs during message publication. A handler might fail with an exception, not be accessible because of the presence of a security manager or other reasons might lead to failures during the message publication process.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    The default error handler will simply log to standard out and print the stack trace if available.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Handle the given publication error.
  • Method Details

    • handleError

      void handleError(PublicationError error)
      Handle the given publication error.
      Parameters:
      error - The PublicationError to handle.