Monitor a JMS Topic's MessageCounters attribute using twiddle
Issue
- How can I monitor a JMS Topic's MessageCounters attribute using twiddle? The following command should work but fails:
./twiddle.sh -s localhost:1099 -u admin -p admin get "jboss.messaging:service=ServerPeer" MessageCounters
- Errors received:
ERROR [Twiddle] Exec failed
java.io.NotSerializableException: org.jboss.jms.server.messagecounter.MessageCounter$DayCounter
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
at java.util.ArrayList.writeObject(ArrayList.java:570)
Environment
- JBoss Application Enterprise Platform (EAP)
- 5.1.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.