Solace JCSMP Streaming - Code Sample

Hello @TomF
What is the appropriate acknowledgment mode when enabling the streaming ?
is the following properties configuration correct (assuming the streaming window equals to 5)? > JCSMPProperties jcsmpProperties = solaceJavaAutoConfiguration.getJCSMPProperties();

jcsmpProperties.setProperty(JCSMPProperties.SUB_ACK_WINDOW_SIZE,5);
jcsmpProperties.setProperty(JCSMPProperties.MESSAGE_ACK_MODE,JCSMPProperties.SUPPORTED_MESSAGE_ACK_CLIENT_WINDOWED);

If I’m using a streaming acknowledgment, do I need to specifically call the message.acknowledge() method? or the broker will delete the messages automatically when the service successfully consumes 5 messages? Thank you!