Solace JCSMP Streaming - Code Sample

:slight_smile: I’m not at the optimalisation level!
I have a requirement where I should read exactly “n” first messages from the queue and process them, in one transaction, and finally, after successful processing, I will acknowledge the n messages (to remove them from the queue) and process another set of n messages…etc.
do you think streaming and windowed ack is the way to go?