org.mule.module.spring.events
Interface MuleSubscriptionEventListener
- All Superinterfaces:
- org.springframework.context.ApplicationListener, EventListener, MuleEventListener
public interface MuleSubscriptionEventListener
- extends MuleEventListener
MuleSubscriptionEventListener
is a Spring ApplicationListener that
is used to register interest about Mule events. The developer can supply an array
of endpoints that it wishes to subscribe to. i.e. new String[]{
"file/C:/dev/test/data", "my.jms.queue", "http://www.mycompaony.com/events"}; You
can aslo specify logical endpoints that are configured on the Mule Server so you
can use more friendly names such as new String[]{ "testData", "OrdersJms",
"eventsHttp"}; By specifying '*' as the subscription, all events will be received
by this listener.
Methods inherited from interface org.springframework.context.ApplicationListener |
onApplicationEvent |
getSubscriptions
String[] getSubscriptions()
setSubscriptions
void setSubscriptions(String[] subscriptions)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.