Solace Community is getting a facelift!
On March 3rd we will be starting the process of migrating Solace Community to a new platform. As a result, Solace Community will go in to a temporary read-only state. You will still be able to come onto Solace Community and search through posts to find answers, but you won't be able to ask questions, post comments, or react in any way.
We hope to have the migration complete by Wednesday March 5th (or sooner), so please keep an eye out!
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