Hi @Shaz ,
Were you able to figure out the issue? Looking briefly at your code maybe on line 66 of your UniversityConsumerApplication you check if it’s a TextMessage and if it’s not it would never be acknowledged. Could that maybe be your issue?
As @jmahrok mentioned we have samples in github. Here is an example receiver that Acks the message from a queue that might be useful: solace-samples-java-jcsmp/src/main/java/com/solace/samples/jcsmp/patterns/GuaranteedSubscriber.java at master · SolaceSamples/solace-samples-java-jcsmp · GitHub
Hope that helps!