[
https://jira.jboss.org/browse/JBMESSAGING-1771?page=com.atlassian.jira.pl...
]
Howard Gao commented on JBMESSAGING-1771:
-----------------------------------------
To make MessageCounter serializable, not only its DayCounter field needs to be
serializable, but also its 'destQueue' member. The runtime destQueue is a
MessagingQueue instance, which is not serializable. If we make MessageingQueue
serializable, all its members have to be serializable. As messagineQueue is a server side
object, I'm not sure if it is necessary for it to be serialized and passed to client
side.
I'll hold this until we have a strong belief that this is absolutely needed.
NotSerializableException is thrown from DayCounter class
--------------------------------------------------------
Key: JBMESSAGING-1771
URL:
https://jira.jboss.org/browse/JBMESSAGING-1771
Project: JBoss Messaging
Issue Type: Bug
Components: Configuration and Management
Affects Versions: 1.4.0.SP3.CP08
Environment: JBoss-SOA-4.3_CP2, JBM-1.4.0.SP3-CP08.patch01
Reporter: Tyronne Wickramarathne
Assignee: Howard Gao
Fix For: 1.4.0.SP3.CP11
Even though the MessageCounter class implements Serializable interface as per
JBMESSAGING-1430; the NotSerializableException is still thrown when accessing
MessageCounter via JMX console. The root cause seems to be the DayCounter class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira