🎄 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.
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 -