About Callback mechanism in the JCSMP

Hi @Sathishkumar , I’m not sure why you aren’t seeing any ACKs or NACKs being generated within your app… the responseReceivedEx and handleErrorEx methods of the JCSMPStreamingPublishCorrelatingEventHandler . They should be called for every message that you send if the DeliveryMode is set to PERSISTENT . That is number one issue to address. Even if ACL profile is configured correctly and your app allowed to publish, you should still get ACK.

It might (?) have something to do with you reusing the same message object multiple times? But I’m assuming you see the same behaviour with publishing only 1 message?

What does your logging show? You have a bunch of LOGGER.log() methods everywhere…?

Did you try running the JCSMP sample I provided above ? I know it works. You could add more verbose logging in the JCSMPStreamingPublishCorrelatingEventHandler class at the bottom to display the ACKs and NACKs on the console.