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!
Is there a way to get a Queue Created Date in Solace?
Hello All,
I would like to know if there is a way to get the queue created date via SEMP API's or any other means in Solace?
Have tried with SEMP Over Message Bus & Monitoring SEMP API but it does not speak about when the queue was created.
Thanks
Tejas Chowsalkar
Answers
-
Hi @tejaschowsalkar ,
for sure this is possible.
Please have a look here: https://docs.solace.com/API-Developer-Online-Ref-Documentation/swagger-ui/config/index.html#/queue
In https://tutorials.solace.dev/semp/curl/, you can find examples how to create queues with SEMP (in curl).
Uli
0 -
Hi Uli,
Thanks for your response, The question here is not to create a queue rather how to get when the queue was created? A date when the queue was created by any means.
I hope i'm clear with my question.
Thanks
Tejas Chowsalkar
0 -
Sorry, my fault - I didn't read your original question carefully enough.
No, there is no way to get the create date for a queue via SEMP.
The only way I'm aware of: If you have access to the broker logs, you can find the create command for the queue in the command.log.
Uli
0 -
Yes, if the queue was created administratively, then you can find out when by searching through the
command.log
file on the broker. Otherwise, if created dynamically by a messaging client application, you'll want to look in theevent.log
file for the entry:CLIENT_CLIENT_CREATE_ENDPOINT
. There is no "date created" metadata as part of the queue object unfortunately.0 -