Package org.apache.synapse.eventing.managers

Examples of org.apache.synapse.eventing.managers.DefaultInMemorySubscriptionManager


    private static final String FILTER_DIALECT = "http://www.example.org/topicFilter";
    private static final String FILTER = "weather.storms";

    protected void setUp() throws Exception {
        source = new SynapseEventSource("foo");
        subMan = new DefaultInMemorySubscriptionManager();
        source.setSubscriptionManager(subMan);
    }
View Full Code Here


    private SynapseEventSource buildEventSource(EventSourceDTO eventSourceDTO) {
        SynapseEventSource synapseEventSource = new SynapseEventSource(eventSourceDTO.getName());
        SubscriptionManager subscriptionManager;
        try {
            if (eventSourceDTO.getType().equals("DefaultInMemory")) {
                subscriptionManager = new DefaultInMemorySubscriptionManager();
            }else  if (eventSourceDTO.getType().equals("EmbRegistry")) {
                subscriptionManager = (SubscriptionManager) Class.forName(
                        "org.wso2.carbon.eventing.impl.EmbeddedRegistryBasedSubscriptionManager")
                        .newInstance();
                subscriptionManager.init();
View Full Code Here

TOP

Related Classes of org.apache.synapse.eventing.managers.DefaultInMemorySubscriptionManager

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.