Package org.activemq.message.util

Examples of org.activemq.message.util.MemoryBoundedQueueManager


        this.connectionMetaData = new ActiveMQConnectionMetaData();
        this.started = new SynchronizedBoolean(false);
        this.startTime = System.currentTimeMillis();
        this.prefetchPolicy = new ActiveMQPrefetchPolicy();
        this.memoryManager = new MemoryBoundedObjectManager(clientID, DEFAULT_CONNECTION_MEMORY_LIMIT);
        this.boundedQueueManager = new MemoryBoundedQueueManager(memoryManager);
        this.memoryManager.addCapacityEventListener(this);
        boolean transactional = this instanceof XAConnection;
        factoryStats = factory.getFactoryStats();
        factoryStats.addConnection(this);
        stats = new JMSConnectionStatsImpl(sessions, transactional);
View Full Code Here


    public DefaultBroker(String brokerName, String brokerClusterName, MemoryBoundedObjectManager memoryManager) {
        this.brokerName = brokerName;
        this.brokerClusterName = brokerClusterName;
        this.memoryManager = memoryManager;
        queueManager = new MemoryBoundedQueueManager(memoryManager);
        setDelegate(memoryManager);
        containerManagerMap = new ConcurrentHashMap();
        consumerInfoListeners = new CopyOnWriteArrayList();
        this.advisory = new AdvisorySupport(this);
    }
View Full Code Here

TOP

Related Classes of org.activemq.message.util.MemoryBoundedQueueManager

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.