ActiveMQ
  1. ActiveMQ
  2. AMQ-3655

No information of destinations is present on web console or jconsole even my activemq_msgs, have lots of destinations when broker starts up

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.0
    • Fix Version/s: 5.6.0
    • Component/s: Message Store
    • Labels:

      Description

      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?

        Issue Links

          Activity

          Hide
          Timothy Bish added a comment -

          Have you tested this against the latest 5.6-SNAPSHOT, I think there were already some fixes in this area.

          Show
          Timothy Bish added a comment - Have you tested this against the latest 5.6-SNAPSHOT, I think there were already some fixes in this area.
          Hide
          SuoNayi added a comment - - edited

          While I just checked the source code of apache-activemq-5.5.1-fuse-01-11,it's correct.

          Show
          SuoNayi added a comment - - edited While I just checked the source code of apache-activemq-5.5.1-fuse-01-11,it's correct.
          Hide
          Timothy Bish added a comment -

          Fixed by AMQ-3526

          Show
          Timothy Bish added a comment - Fixed by AMQ-3526
          Hide
          kimm king added a comment -

          the method:queue.size() is always unstable.
          sometimes show " queue.size:-1" on web console or JMX for jconsole

          Show
          kimm king added a comment - the method:queue.size() is always unstable. sometimes show " queue.size:-1" on web console or JMX for jconsole

            People

            • Assignee:
              Unassigned
              Reporter:
              SuoNayi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development