1 Reply Latest reply on Sep 14, 2007 4:35 AM by Kevin Conner

    Using Notifier for Errors

    Sonny Coccera Newbie

      I've been trying to use Notifier in order to log both successful and unsuccessful use of a series of actions. Looking at the configuration below, after the firstAction and secondAction are executed successfully, the notifier will make an entry in the console:

      16:29:04,320 INFO [STDOUT] ConsoleNotifier 2007/09/13 04:29:04.320

      But if an exception occurs in the secondAction, an entry is never made in the console. Is there something else that is supposed to be setup?

       <action name="notificationAction" class="org.jboss.soa.esb.actions.Notifier">
       <property name="okMethod" value="notifyOK" />
       <property name="notification-details">
       <NotificationList type="ok">
       <target class="NotifyConsole"/>
       <NotificationList type="err">
       <target class="NotifyConsole"/>
       <action name="firstAction" class="com.whatever.FirstAction"/>
       <action name="secondAction" class="com.whatever.SecondAction"/>