Skip to content

Crash the app or reconnect when connection is lost to the message broker #9

@AlexGustafsson

Description

@AlexGustafsson

Just as with #3, the App Delegate has error handling for when the connection to the message broker is lost. Currently the error is just logged. Proper error handling should be implemented to either crash the app or try to reconnect.

This seems to occur relatively often when running an application, resulting in no executor being registered.

self.connection.interruptionHandler = {
      logger.info("Disconnected from broker (interrupted)")
    };

    self.connection.invalidationHandler = {
      logger.info("Disconnected from broker (invalidated)")
    };

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority:mediumThis issue should likely be considered soon

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions