Develop spring cloud stream code to manually send acknowledgement post message consumption

Develop spring cloud stream code to manually send acknowledgement post message consumption
“pick up message from Solace broker → do some business logic → if business logic successful → ack the message so that it gets deleted from queue (if not, don’t ack)”

Hi @paramitakundu,
Welcome to the Solace Community! Currently the Cloud Stream Binder for Solace does not support manual ACKs, however there is an enhancement open that you can follow and a little birdie told me it should be supported in the next major release of solace-spring-cloud :wink:
Right now my best guess is that release will be in the November time frame but I’ll try to remember to update this thread when I know more.

I know it’s not as useful as doing a manual ACK, but keep in mind that the pubsub+ cloud stream binder will automatically ACK your message after the app returns successfully. If your app throws an exception the message will be requeued.

-Marc

Hi @paramitakundu,
Just a heads up to you and anyone else that comes across this thread that this is now possible in solace-spring-cloud v2.0.0.
Info here: solace-spring-cloud/solace-spring-cloud-starters/solace-spring-cloud-stream-starter at master · SolaceProducts/solace-spring-cloud · GitHub