]
Martin Styk updated WFWIP-12:
-----------------------------
Component/s: Artemis
(was: JMS)
[Artemis upgrade] Output of CLI operations in messaging
subsystem's server changed from 7.1
-------------------------------------------------------------------------------------------
Key: WFWIP-12
URL:
https://issues.jboss.org/browse/WFWIP-12
Project: WildFly WIP
Issue Type: Bug
Components: Artemis
Reporter: Martin Styk
Assignee: Ingo Weiss
Priority: Blocker
Labels: activemq, feature-branch-blocker
Original Estimate: 2 hours
Time Spent: 2 hours
Remaining Estimate: 0 minutes
Output of CLI operations in messaging subsystem's server element changed and it is is
missing some attributes it used to display in EAP 7.1.
_Affected operations_
*list-all-consumers-as-json* and *list-consumers-as-json*
Missing attributes
* destinationName
* destinationType
* durable
{noformat:title="7.1.0.GA"}
Result list-all-consumers-as-json{"outcome" =>
"success","result" =>
"[{\"consumerID\":0,\"connectionID\":\"-733935378\",\"sessionID\":\"fede1b60-04e9-11e8-9641-cc3d825a3be2\",\"queueName\":\"testSubscriberClientId-hornetqCliOperations.testSubscriber-hqServerCliOperations\",\"browseOnly\":false,\"creationTime\":1517226368495,\"destinationName\":\"testTopic\",\"destinationType\":\"topic\",\"durable\":true}]"}
{noformat}
{noformat:title="Wildfly latest with artemis 2.x"}
Result list-all-consumers-as-json{"outcome" =>
"success","result" =>
"[{\"consumerID\":0,\"connectionID\":\"784f1287\",\"sessionID\":\"f146b48e-04e3-11e8-bb50-cc3d825a3be2\",\"queueName\":\"jms.queue.testQueue\",\"browseOnly\":false,\"creationTime\":1517223768695,\"deliveringCount\":8}]"}
{noformat}
*list-connections-as-json*
Missing attributes
* clientID
{noformat:title="7.1.0.GA"}
"result" =>
"[{\"connectionID\":\"1343044951\",\"clientAddress\":\"/127.0.0.1:57038\",\"creationTime\":1517303830995,\"clientID\":\"testSubscriberClientId-hornetqCliOperations\"},{\"connectionID\":\"2052915500\",\"clientAddress\":\"/127.0.0.1:57040\",\"creationTime\":1517303831216},{\"connectionID\":\"668896556\",\"clientAddress\":\"/127.0.0.1:57042\",\"creationTime\":1517303831210},{\"connectionID\":\"2096792561\",\"clientAddress\":\"/127.0.0.1:57044\",\"creationTime\":1517303831223,\"clientID\":\"testPublisherClientId\"}]"
{noformat}
{noformat:title="Wildfly latest with artemis 2.x"}
"result" =>
"[{\"connectionID\":\"a8842f44\",\"clientAddress\":\"/127.0.0.1:55938\",\"creationTime\":1517298838294,\"implementation\":\"RemotingConnectionImpl\",\"sessionCount\":2},{\"connectionID\":\"c515bc06\",\"clientAddress\":\"/127.0.0.1:55936\",\"creationTime\":1517298837454,\"implementation\":\"RemotingConnectionImpl\",\"sessionCount\":0},{\"connectionID\":\"b9a9153f-0592-11e8-80ff-54ee7547c83e\",\"clientAddress\":\"invm:0\",\"creationTime\":1517298837312,\"implementation\":\"RemotingConnectionImpl\",\"sessionCount\":0},{\"connectionID\":\"fe42578a\",\"clientAddress\":\"/127.0.0.1:55944\",\"creationTime\":1517298838495,\"implementation\":\"RemotingConnectionImpl\",\"sessionCount\":2},{\"connectionID\":\"cde89186\",\"clientAddress\":\"/127.0.0.1:55940\",\"creationTime\":1517298838493,\"implementation\":\"RemotingConnectionImpl\",\"sessionCount\":2},{\"connectionID\":\"480099e7\",\"clientAddress\":\"/127.0.0.1:55942\",\"creationTime\":1517298838495,\"implementation\":\"RemotingConnectionImpl\",\"sessionCount\":2}]"
{noformat}
This is compatibility issue, as some scripts may depend on missing attributes.
Customer's tooling which used to work with 7.1 may not work now.