Package org.apache.servicemix.jbi.cluster.engine

Examples of org.apache.servicemix.jbi.cluster.engine.AbstractClusterEndpointTest$ReceiverEndpoint


        NotificationBEList notifications = messageNotification.getNotifications();

        assertEquals(1, notifications.getNotification().size());
        assertEquals(2, notifications.getNotification().get(0).getReceiverEndPoints().getReceiverEndPoint().size());

        ReceiverEndPoint smsEndpoint = notifications.getNotification().get(0).getReceiverEndPoints().getReceiverEndPoint().get(0);
        ReceiverEndPoint mailEndpoint = notifications.getNotification().get(0).getReceiverEndPoints().getReceiverEndPoint().get(1);

        assertEquals(TransportType.SMS, smsEndpoint.getTransportType());
        assertEquals("", smsEndpoint.getReceiverAddress());

        assertEquals(TransportType.EMAIL, mailEndpoint.getTransportType());
        assertEquals("test@example.com", mailEndpoint.getReceiverAddress());
    }
View Full Code Here


        NotificationBEList notifications = messageNotification.getNotifications();

        assertEquals(1, notifications.getNotification().size());
        assertEquals(2, notifications.getNotification().get(0).getReceiverEndPoints().getReceiverEndPoint().size());

        ReceiverEndPoint smsEndpoint = notifications.getNotification().get(0).getReceiverEndPoints().getReceiverEndPoint().get(0);
        ReceiverEndPoint mailEndpoint = notifications.getNotification().get(0).getReceiverEndPoints().getReceiverEndPoint().get(1);

        assertEquals(TransportType.SMS, smsEndpoint.getTransportType());
        assertEquals("", smsEndpoint.getReceiverAddress());

        assertEquals(TransportType.EMAIL, mailEndpoint.getTransportType());
        assertEquals("", mailEndpoint.getReceiverAddress());
    }
View Full Code Here

TOP

Related Classes of org.apache.servicemix.jbi.cluster.engine.AbstractClusterEndpointTest$ReceiverEndpoint

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.