Examples of InMemorySubscriptionManager


Examples of org.apache.hedwig.server.subscriptions.InMemorySubscriptionManager

        return pm;
    }

    protected SubscriptionManager instantiateSubscriptionManager(TopicManager tm, PersistenceManager pm) {
        if (conf.isStandalone()) {
            return new InMemorySubscriptionManager(tm, pm, conf, scheduler);
        } else {
            return new ZkSubscriptionManager(zk, tm, pm, conf, scheduler);
        }

    }
View Full Code Here

Examples of org.apache.hedwig.server.subscriptions.InMemorySubscriptionManager

    }

    protected SubscriptionManager instantiateSubscriptionManager(TopicManager tm, PersistenceManager pm,
                                                                 DeliveryManager dm) {
        if (conf.isStandalone()) {
            return new InMemorySubscriptionManager(conf, tm, pm, dm, scheduler);
        } else {
            return new MMSubscriptionManager(conf, mm, tm, pm, dm, scheduler);
        }

    }
View Full Code Here

Examples of org.apache.hedwig.server.subscriptions.InMemorySubscriptionManager

        return pm;
    }

    protected SubscriptionManager instantiateSubscriptionManager(TopicManager tm, PersistenceManager pm) {
        if (conf.isStandalone()) {
            return new InMemorySubscriptionManager(tm, pm, conf, scheduler);
        } else {
            return new ZkSubscriptionManager(zk, tm, pm, conf, scheduler);
        }

    }
View Full Code Here

Examples of org.wso2.carbon.event.broker.subscriptions.InMemorySubscriptionManager

    super(name);
  }
 
  public void testBasicPubSub() throws Exception{
    EventBrokerService brokerInstance = CarbonEventBroker.getInstance();
    ((CarbonEventBroker)brokerInstance).registerSubscriptionManager(new InMemorySubscriptionManager());
    CarbonNotificationManager notifyManager = new CarbonNotificationManager();
    notifyManager.init(new HashMap<String, String>());
    ((CarbonEventBroker)brokerInstance).registerNotificationManager(notifyManager);
   
    Subscription subscription = new Subscription();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.