12 Replies Latest reply on Apr 11, 2010 9:47 AM by roklee

    Web Admin Console

    vdurbha

      Are there any ideas about creating a web based admin console for HornetQ? Some of the points of discussion for it may be as follows.

      1. What API does the web admin console use? Core? JMX? REST? Or something else?
      2. Do we use a web framework to build it? Which one is the simplest to use with minimum footprint?
      3. How does the web console show various object models of the same core? In other words, HornetQ, in the future, can be used to create "JMS Destinations" as well as "AMQP Queues". Which term should be use to show it on the console? Is it always the core object model?
      4. Does the web app need to be really dynamic with AJAX capabilities updating various parts of the screen? Like a dashboard?

      Just sharing my thoughts on the subject. Should be interesting discussion.

        • 1. Re: Web Admin Console

          I was thinking the same thing. This also closely relates to the collection of metrics.

          • 2. Re: Web Admin Console
            vdurbha

            After I posted this, I was also thinking whether it is just enough to build a JOPR plugin to monitor HornetQ? Then we get the nice web interface of JOPR for free and developing plugin is much easier than developing an entire web application.

            But then we are creating a dependency on the not-so-small JOPR framework. Which sometimes might be a problem as it might not be trivial to set that up.

            • 3. Re: Web Admin Console

              You just need to make sure the plugin can work in the embedded jopr environment since this has a much smaller footprint and it will then work with a standard JBoss 5.1.+ ditribution since it ships with embedded jopr.

              • 4. Re: Web Admin Console
                jmesnil

                 

                "vdurbha" wrote:
                After I posted this, I was also thinking whether it is just enough to build a JOPR plugin to monitor HornetQ? Then we get the nice web interface of JOPR for free and developing plugin is much easier than developing an entire web application


                That'd be great to use JOPR to provide a web admin console for HornetQ.
                Are you interested to bootstrap it? :)


                • 5. Re: Web Admin Console
                  vdurbha

                  I've never used jopr before. So I'll have to learn the API a bit. I'll be bit slow on it but I'll give it a shot.

                  • 6. Re: Web Admin Console
                    timfox

                    Actually, there's already a JIRA for this https://jira.jboss.org/jira/browse/HORNETQ-78

                    This is something we have to do anyway for full JBoss AS 5/6 integration, so it's been on our road map for some time

                    • 7. Re: Web Admin Console
                      timfox

                       

                      "vdurbha" wrote:
                      I've never used jopr before. So I'll have to learn the API a bit. I'll be bit slow on it but I'll give it a shot.


                      Excellent. Tells us how it goes :)

                      Come and join us on IRC if you need to ask any questions / need any help.

                      • 8. Re: Web Admin Console

                        Hi Tim,

                         

                        Do we have this web admin console ready for the hornetq 2.0.0.GA?

                         

                        I need some idea from you to monitor the queues in the HornetQ server. I saw the MBean option. But our project demands requirements like monitoring number of messages send, pending and received. I have seen these options in the other MOMs I have used.

                         

                         

                        Can someboduy help me in this regard?

                         

                        Richards Peter.

                        • 9. Re: Web Admin Console
                          ataylor

                          The jopr plugin is a separate hornetq sub project to use along side the jboss AS plugin. You can find it to build at http://anonsvn.jboss.org/repos/hornetq/projects/jopr-plugin/ and there is also a 1.0.0 Snapshot in the jboss snapshot repository.

                           

                          The plugin will only work with the current AS branch so u could build that if u wanted to take a look.

                          • 10. Re: Web Admin Console
                            jmesnil

                            Richards Peter wrote:

                             

                            I need some idea from you to monitor the queues in the HornetQ server. I saw the MBean option. But our project demands requirements like monitoring number of messages send, pending and received. I have seen these options in the other MOMs I have used.

                            You can already use jconsole to get these metrics by enabling message counters: http://hornetq.sourceforge.net/docs/hornetq-2.0.0.GA/user-manual/en/html/management.html#management.message-counters

                            • 11. Re: Web Admin Console

                              Thanks Jeff and Andy for your suggestions.

                              • 12. Re: Web Admin Console

                                We wrote a little post regarding the use of jconsole and enabling message counters too.