public interface FunctionalTestNotificationListener extends CustomNotificationListener
MuleContext.registerListener(ServerNotificationListener)
You can receive FunctionalTestNotification
s from the FunctionalTestComponent
.
This Notification contains the current MuleEventContext and reply message. The resource
identifier for this event is the service name that received the message. This means you can
register to listen to Notifications from a selected FunctionalTestComponent
. i.e.
muleContext.registerListener(this, "*JmsTestCompoennt");
This registration would only receive FunctionalTestNotification
objects from components
called 'MyJmsTestComponent' and 'YourJmsTestComponent' but not 'HerFileTestComponent'.
To receive all notifications simply do -
muleContext.registerListener(this");
onNotification
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.