Hi all,
We are using Solace in combination with Boomi. We’re looking for a solution to empty a queue quickly. No matter how many messages are in that queue.
From the Solace Cloud console, the max is 50 per page. JMS Toolbox is refusing to empty a queue when it contains 200+ messages. How to solve this? Ideally, we would like to have a button in Solace Cloud to do this. For example, today, we have been testing with 3000+ messages. It would take 60 clicks in Solace Cloud to empty the queue. Not really efficient IMO.
I believe his feature will be added to the Solace Web UI in a future release. In the meantime, however, you can achieve this using the SEMP V1 API. See an example script here.
however, you can achieve this using the SEMP V1 API.
Yup, you can do with a single HTTP POST!
Otherwise, you could also just drain the queue with a standard consumer app. But that kind of blurs the line between “messaging app” and “management utility”.
That’s an acceptable workaround. Btw: what’s the priority of this feature? It’s one of our top 3 admin feature requests in the Solace Cloud UI. Others are
moving messages from a queue A to B. For example, moving messages from a DMQ to the originating queue
however, you can achieve this using the SEMP V1 API.
Yup, you can do with a single HTTP POST!
Otherwise, you could also just drain the queue with a standard consumer app. But that kind of blurs the line between “messaging app” and “management utility”.
I get an HTTP 200 OK response, but nothing happens. If I send an invalid XML payload (removing a tag), I still get an HTTP 200. The documentation says:
_An HTTP response of “200 OK” is returned if the command was accepted by the event broker (even if it was not successfully executed).
_
It could be an error returned from the broker, such as invalid queue name for example. Try running curl with verbose -v option. Feel free to send me the output in a private message and I can take a look.
In terms of the other requests, there is a tool for resending queue messages, such as from a DMQ, you can try here
For browsing queues and viewing message payloads, I used SDKPerf with options: -qb -md -q
In terms of the other requests, there is a tool for resending queue messages, such as from a DMQ, you can try here
Cool tool @rlawrence! I didn’t know that existed. It might be worth making a separate post in the community about it with a title that folks might google search for so it’s more easily findable.
Not sure exactly when they added it, would you like to know what the min version is?
EDIT: it was added in 10.0.1. But never release noted. So it’s been in the product for about half a year now.
HI @Aaron , thanks! Btw: we are using 20+ Solace Cloud services. And Solace is, as we speak, upgrading them to 10.0. ? The newest service we created last week is 10.2. I don’t know when 10.4 will become available for upgrades.
It works on 10.0.x Solace Cloud. Cool!
Nice! For completeness, this feature was added in 10.0.1, but it’s not in 10.0.0. The latter would have been a Preview release anyway, and Solace Cloud would not upgrade to that. 10.0.1 is an LTS version. All Solace Cloud production brokers should be on 10.0.1 or 10.2.1; 10.4.1 Cloud upgrades are currently scheduled for August. See: https://solace.com/support/support-dates-for-release-versions/
Glad it’s working! Sorry we didn’t ping this thread to let you know.