Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
MuleSubscriptionEventListener |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com | |
3 | * The software in this package is published under the terms of the CPAL v1.0 | |
4 | * license, a copy of which has been included with this distribution in the | |
5 | * LICENSE.txt file. | |
6 | */ | |
7 | package org.mule.module.spring.events; | |
8 | ||
9 | /** | |
10 | * <code>MuleSubscriptionEventListener</code> is a Spring ApplicationListener that | |
11 | * is used to register interest about Mule events. The developer can supply an array | |
12 | * of endpoints that it wishes to subscribe to. i.e. new String[]{ | |
13 | * "file/C:/dev/test/data", "my.jms.queue", "http://www.mycompaony.com/events"}; You | |
14 | * can aslo specify logical endpoints that are configured on the Mule Server so you | |
15 | * can use more friendly names such as new String[]{ "testData", "OrdersJms", | |
16 | * "eventsHttp"}; By specifying '*' as the subscription, all events will be received | |
17 | * by this listener. | |
18 | */ | |
19 | ||
20 | public interface MuleSubscriptionEventListener extends MuleEventListener | |
21 | { | |
22 | public String[] getSubscriptions(); | |
23 | ||
24 | public void setSubscriptions(String[] subscriptions); | |
25 | } |