I have just noted that there is no information about existing destinations on web console or jconsole after my broker starts up.These destinations exist on my message table activemq_msgs and they are present again when some producers or consumers are active.
I'm sure this works well on 5.2 because I had used this to inspect my destinations before 2 years ago.
I also check the source code of class Statements and find that the query statement of 5.5 is different from the old one.
The statement of 5.5 likes this:
findAllDestinationsStatement = "SELECT DISTINCT CONTAINER FROM " + getFullAckTableName();
while 5.2 is the following:
findAllDestinationsStatement = "SELECT DISTINCT CONTAINER FROM " + getFullMessageTableName();
In my option,JDBCAdapter should fetch all destinations from the message table,not ack table.
Is it a mistake or what's the reason about this changing?