🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
SEMP equivallent of 'show queue<queue-name> message-vpn<vpn-name> flows'
I need help to convert this command to 'show queue
Best Answer
-
The statistics are available in the "monitor" section of the API. To get statistics about a flow, you can send semp request https://broker-ip/SEMPv2/monitor/{msgVpnName}/queues/{queueName}/txFlows/{flowId}
Items in the response will include:
activationTmie
activityState
bindTime
maxUnackedMsgsExceededMsgCount
redeliveredMsgCount
redeliveryRequestCount
selectorExaminedMsgCountetc.
Please see:
https://docs.solace.com/API-Developer-Online-Ref-Documentation/swagger-ui/monitor/index.html#/queue/getMsgVpnQueueTxFlow, scroll down to the Code 200 section and click on "MsgVpnQueueTxFlowResponse" and then "MsgVpnQueueTxFlow" for more information about what is returned.
5
Answers
-
The SEMPv2 call for this seems to be https://docs.solace.com/API-Developer-Online-Ref-Documentation/swagger-ui/monitor/index.html#/queue/getMsgVpnQueueTxFlows
1 -
-
These rest api's are only available for monitor,action and config.
But in my case i want to get all queue's stats available in message VPN.
For this solace CLI is 'show queuemessage-vpn flows' I want something like this
curl <url> -u admin:admin -d "<rpc> <show> <queue><name>*</name> <message-vpn>test-name> <flows/> </message-vpn> </show> </rpc>"
1 -
The statistics are available in the "monitor" section of the API. To get statistics about a flow, you can send semp request https://broker-ip/SEMPv2/monitor/{msgVpnName}/queues/{queueName}/txFlows/{flowId}
Items in the response will include:
activationTmie
activityState
bindTime
maxUnackedMsgsExceededMsgCount
redeliveredMsgCount
redeliveryRequestCount
selectorExaminedMsgCountetc.
Please see:
https://docs.solace.com/API-Developer-Online-Ref-Documentation/swagger-ui/monitor/index.html#/queue/getMsgVpnQueueTxFlow, scroll down to the Code 200 section and click on "MsgVpnQueueTxFlowResponse" and then "MsgVpnQueueTxFlow" for more information about what is returned.
5