About Callback mechanism in the JCSMP

So, how do you mean the topic is an “incorrect path”? By default, you can publish to any topic you want to, unless you configure your ACL profile to disallow it. What is your ACL profile configuration?

Or, if you want to configure your app so that, “NACK this topic message if nobody is listening on this topic”, you need to toggle that in the client profile your app is using:

In your first post, you say:

Although JCSMPStreamingPublishCorrelatingEventHandler has been implemented, the handleErrorEx and responseReceivedEx methods are not being invoked, making it difficult to track missing messages.

Is this still true? That should be impossible if you are actually publishing with DeliveryMode of PERSISTENT .