🎄 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.
.NET solace API (data network) to get solace timestamp
As title, is there any API for me to get current timestamp from solace ??
Answers
-
@sysem Do you mean the timestamp the message was sent or received, or the current system time the broker sees?
The APIs can be told to insert send and receive timestamps through the session properties GenerateReceiveTimestamps and GenerateSendTimestamps.
0 -
Not from the messaging API @sysem (at least, as far as I know). The management API is called SEMP, but I don't recall seeing a call that returns the broker time - you'd have to dig around the SEMP API Reference to see if there's a timestamp returned with a call. The only way I did manage to get the broker to report the time was to start a shell on the container (e.g. docker exec -it solace bash).
0