Skip to content

No way to shut down the Listener #21

@jfmesse

Description

@jfmesse

Occasionally processes need to be restarted, but the Listener class appears to expose no way of cleanly shutting down. Forcibly shutting down introduces a risk of losing messages that are still being processed by the client, but have been ack-ed by the listener immediately after entering the onMessage function.

Having better control of ack-ing would help, but having say a shutdown method on the Listener that could be called after an appropriate signal has been received would be ideal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions