7 Replies Latest reply on Feb 22, 2010 12:55 PM by tomeicher

    GUI or Tooling for MessageStore

    camunda

      Hey guys!

      I wonder, if there is some tooling available to look at the MessageStore of the ESB which is per default as well the target of the DeadLetterService?

      In the database, the messages seem to be persisted as BLOB (even if the format is JBOSS_XML), so you cannot even have a look at it.

      Is there anything available out-of-the-box? Maybe via the Jmx-Console? Would be helpful to not have to build it on our own ;-)

      Thanks
      Bernd

        • 1. Re: GUI or Tooling for MessageStore

          Try the HermesJMS Client. This will help you to "browse" the JMS queues without consuming the messages.

          Few years back it was free. Hope it still is:

          http://www.hermesjms.com/confluence/display/HJMS/Home




          • 2. Re: GUI or Tooling for MessageStore
            camunda

            Hi Nick.

             

            Yeah, the HermesJMS is still free. But for this problem it dioesn't help, since per default the dead messages are routed to the default dead message store, which is a ESB database, not a JMS queue (okay, that could be changed).

             

            But thanks anyway for that hint!

             

            Cheers

            Bernd

            • 3. Re: GUI or Tooling for MessageStore

              Bernd,

               

              This is not pretty but maybe ok for your testing ...

               

              drop the attached JSP into your %SOA-HOME%\jboss-esb\server\default\deploy\jboss-web.deployer\ROOT.war folder and then use the following url where message type is the id of the messagestore

               

              http://localhost:8080/messagestore.jsp?msgType=DLQ

              • 4. Re: GUI or Tooling for MessageStore
                camunda

                Thanks again John! I will check it out as soon as I come back to that customer...


                Cheerio und have a nice christmas

                Bernd

                • 5. Re: GUI or Tooling for MessageStore

                  I believe that there will be tooling support in the future for the messagestore, but what are people doing today? Has anyone extended the messagestore to include any extra fields (timestamp / "cleartext" message) and/or developed an admin application for maintaining the messages?

                   

                  I am using the messagestore for error and invalid messages, as well as for logging messages in and out of the ESB. In addition it is the default for the DLQ. The default DB implementation serialises and encodes the message into the database which means that viewing and searching the message is pretty difficult - easist way is to use the DBMessageStoreImpl class as part of a Java Client or webapp I guess. Ideally I'd like to be able to access the message in the DB so I can use other tools ie we use Rails for admin screens

                   

                  Anyone done anything in this area?

                   

                  Thanks,

                  JP

                  • 6. Re: GUI or Tooling for MessageStore
                    camunda

                    Hi John.

                     

                    Finally I had some time to come back to this. Thanks again for the JSP. Just a quick remark: The messageType is basically the "classification", with a value of "DLQ" for the dead messages. Just wanted to add that information here, since it cost me a couple of minutes to realize what to put there ;-)

                     

                    Currently I write a EJB to manage the MessageStore, but I agree with you, a Admin GUI for it should be on the roadmap of the ESB project...

                     

                    Cheers

                    Bernd

                    • 7. Re: GUI or Tooling for MessageStore
                      tomeicher
                      Hey Bernd,  I was also wondering about the DLQ, and mainly what the idea behind the whole thing is. Ok, dead messags are being posted there. But isn't somebody, somewhen expected to look at them ? Delete them ? Resend them ? Currently, my database just grows, and once every few months, I drop it...  ...in that old post: http://community.jboss.org/message/510810#510810  Cheers, Tom.