Erwin Dondorp created ARTEMIS-4139:
--------------------------------------
Summary: JMX field creationTime is not consistently formatted
Key: ARTEMIS-4139
URL: https://issues.apache.org/jira/browse/ARTEMIS-4139
Project: ActiveMQ Artemis
Issue Type: Bug
Components: JMX
Affects Versions: 2.27.1
Reporter: Erwin Dondorp
When collecting JMX data, several functions return field {{creationTime}} in
their results.
I think this happens for
listConsumers/listProducers/listConnections/listSessions (non-exact spelling as
there are a few variations: list vs listAll).
For listConsumer/listConnections/listSessions, a formatted datetime is used,
e.g. {{Fri Jan 20 01:06:19 UTC 2023}}
But for listProducers, the underlying milliseconds value is returned, e.g.
{{1674176779483}}
I think this should be consistent.
My first reaction was that the value for listProducers is the exception, and
thus wrong. But the documentation in ActiveMQServerControl.java shows this as a
milliseconds value in its examples for all these calls.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)