5 Replies Latest reply on Dec 29, 2008 5:18 AM by ashok_1979

    How can i create message monitoring tool

      Hi All,

      I want to use ESB to create one service which will consist of 3 actions.

      First action will be used to Extract data from database, add the object in message body.

      Second action will be used to transform the message (which is in POJO format) into XML format using smooks transformation.

      Third action will FTP the file.



      Here I wanted to have one monitoring tool using that I can closely monitor the progress of the messages flowing through the action chain.



      I would be very glad if any one can help me.



      Thanks in advance.

        • 1. Re: How can i create message monitoring tool
          beve

          Hi,

          have you taken a look at the jbossesb monitoring console (http://localhost:8080/jbossesb/). There is also a new one on the way.

          Regards,

          /Daniel

          • 2. Re: How can i create message monitoring tool
            jullienm

            Hi all,

            I am also interested to get a tool that monitors messages flow progress.
            Is there any roadmap of the new console and can we preview it?

            Thanks

            • 3. Re: How can i create message monitoring tool

              I had gone through the monitoring console (http://localhost:8080/jbossesb) but it doesn't show the failed message payload, it only shows the faild message count, not the exact message. So how can i know what message got failed?

              Is there roadmap to create our own monitoring tool and can provide it to our users and they can see the information they are permitted to see.

              • 4. Re: How can i create message monitoring tool
                verszou

                 

                "ashok_1979" wrote:
                I had gone through the monitoring console (http://localhost:8080/jbossesb) but it doesn't show the failed message payload, it only shows the faild message count, not the exact message. So how can i know what message got failed?


                I'm doing some experiments with the faultTo in the header. You could set up one service and specify that as your faultTo service, then failing messages would end up there and you could log the contents in the way you want to.

                Another way is by way of a notifier which you set up as the first action in the service.

                <action name="Notifier"
                 class="org.jboss.soa.esb.actions.Notifier">
                 <property name="okMethod" value="notifyOK" />
                 <property name="exceptionMethod"
                 value="notifyError" />
                 <property name="notification-details">
                 <NotificationList type="err">
                 <target class="NotifyFiles">
                 <file URI="someerrorfile"
                 append="true" />
                 </target>


                This just dumps the contents of the message into a file.

                I'm sure there are something much more advanced that could be done with this, but this is what I've tried so far.

                • 5. Re: How can i create message monitoring tool

                  Can we write only required message properties instead of dumping whole message?
                  I meant to say, if error occurs then write some required message properties with some formatting.