Skip to content

Receipt error handling #70

@adhesivee

Description

@adhesivee

Describe the feature

It is possible to handle receipts this way:

 stompConnection.send(
                "topic",
                Buffer.buffer(message.payload)
        ) { frame ->
            // only on success
        }

For my use case I want that ERROR is handled directly. But the only way how I see it working is to add a frame handler to intercept the RECEIPT that is generated, create errorHandler and track the receipt id.

Use cases

In order to give fast feedback to the user it would be nice if this could be handled by the library.

Contribution

I can contribute to this, but first it should be clear what is the best approach.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions