Package com.alibaba.rocketmq.client.impl.factory

Examples of com.alibaba.rocketmq.client.impl.factory.MQClientFactory


    }


    public MQClientFactory getAndCreateMQClientFactory(final ClientConfig clientConfig) {
        String clientId = clientConfig.buildMQClientId();
        MQClientFactory factory = this.factoryTable.get(clientId);
        if (null == factory) {
            factory =
                    new MQClientFactory(clientConfig.cloneClientConfig(),
                        this.factoryIndexGenerator.getAndIncrement(), clientId);
            MQClientFactory prev = this.factoryTable.putIfAbsent(clientId, factory);
            if (prev != null) {
                factory = prev;
            }
            else {
                // TODO log
View Full Code Here

TOP

Related Classes of com.alibaba.rocketmq.client.impl.factory.MQClientFactory

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.