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.
Describe the feature
It is possible to handle receipts this way:
For my use case I want that
ERRORis handled directly. But the only way how I see it working is to add a frame handler to intercept theRECEIPTthat 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.