You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
An approach could be to add receiptHandler on StompClientConnection.
When no value is passed it will use the current implementation.
This way it is possible to create own implementation around this, without having errors thrown by the receiptHandler
Describe the feature
It is possible to handle receipts this way:
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 theRECEIPT
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.
The text was updated successfully, but these errors were encountered: