Hi @abhitej,
Can you share more info around what solace io connector you’re using? Also out of curiosity why are you querying queue depth via a SEMP command? In general you usually want to register a listener in an event-driven paradigm and then your app gets messages pushed to it when available. This way you shouldn’t need to poll to see if messages are available.
If for some reason you really need to poll using that SEMP command you’ll need to enable show
commands. You’ll find more info in this docs section: SEMP
Note the sub-section “Allowing Access to Show Commands”