Package org.jboss.soa.esb.notification

Examples of org.jboss.soa.esb.notification.NotificationList


    {
        try
        {
            ConfigTree confTree =
                    getConfigTreeFromInputStream("NotificationList_01.xml");
            NotificationList list = ActionUtils.getNotifyList(confTree, "OK");

            // Expecting a NotificationList Returned (If one is not returned we get Null)
            assertNotNull(list);

            //Since it is not Null -- Verify the content
            assertEquals(1, list.getAllChildren().length);
            assertEquals(
                    "NotifyConsole",
                    list.getFirstChild("target").getAttribute("class"));
        }
        catch (IOException _ioex)
        {
            logger.error("IOException: " + _ioex.getMessage());
            assertTrue(false);
View Full Code Here


      {
        String sType = curr.getAttribute(NotificationList.TYPE);
        if (null==sType)
          continue;
        if (type.toLowerCase().startsWith(sType.toLowerCase()))
          return new NotificationList(curr);
      }
      return null;
    }
View Full Code Here

TOP

Related Classes of org.jboss.soa.esb.notification.NotificationList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.