Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Support manual ACK and NACK in Stomp Client [SPR-14208] #18782
Currently it is possible to indicate when creating a new stomp session (via StompHeaders using the WebSocketStompClient) that manual acknowledgment is desired (via subscribeHeaders.setAck); however, there's no API for actually performing the manual ACK/NACK upon receiving a message (or later).
It would be nice if there were methods on the StompSession for sending an ACK or NACK for a message ID. Extra nice would be having the StompSession passed in to StompSessionHandler#handleFrame, making doing the ACK or NACK easy. Then the manual acknowledgment feature would be functional and easy to use.
Ideally such a change should work while being agnostic of transport; for our specific use case, we utilize stomp over websockets.
Referenced from: commits 06b2d2b