Java Code Examples for org.apache.rocketmq.test.client.rmq.RMQNormalProducer#setDebug()

The following examples show how to use org.apache.rocketmq.test.client.rmq.RMQNormalProducer#setDebug() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BaseConf.java    From DDMQ with Apache License 2.0 5 votes vote down vote up
public static RMQNormalProducer getProducer(String nsAddr, String topic, boolean useTLS) {
    RMQNormalProducer producer = new RMQNormalProducer(nsAddr, topic, useTLS);
    if (debug) {
        producer.setDebug();
    }
    mqClients.add(producer);
    return producer;
}
 
Example 2
Source File: BaseConf.java    From DDMQ with Apache License 2.0 5 votes vote down vote up
public static RMQNormalProducer getProducer(String nsAddr, String topic, String producerGoup,
    String instanceName) {
    RMQNormalProducer producer = new RMQNormalProducer(nsAddr, topic, producerGoup,
        instanceName);
    if (debug) {
        producer.setDebug();
    }
    mqClients.add(producer);
    return producer;
}
 
Example 3
Source File: BaseConf.java    From rocketmq-4.3.0 with Apache License 2.0 5 votes vote down vote up
public static RMQNormalProducer getProducer(String nsAddr, String topic, boolean useTLS) {
    RMQNormalProducer producer = new RMQNormalProducer(nsAddr, topic, useTLS);
    if (debug) {
        producer.setDebug();
    }
    mqClients.add(producer);
    return producer;
}
 
Example 4
Source File: BaseConf.java    From rocketmq-4.3.0 with Apache License 2.0 5 votes vote down vote up
public static RMQNormalProducer getProducer(String nsAddr, String topic, String producerGoup,
    String instanceName) {
    RMQNormalProducer producer = new RMQNormalProducer(nsAddr, topic, producerGoup,
        instanceName);
    if (debug) {
        producer.setDebug();
    }
    mqClients.add(producer);
    return producer;
}
 
Example 5
Source File: BaseConf.java    From rocketmq-read with Apache License 2.0 5 votes vote down vote up
public static RMQNormalProducer getProducer(String nsAddr, String topic, boolean useTLS) {
    RMQNormalProducer producer = new RMQNormalProducer(nsAddr, topic, useTLS);
    if (debug) {
        producer.setDebug();
    }
    mqClients.add(producer);
    return producer;
}
 
Example 6
Source File: BaseConf.java    From rocketmq-read with Apache License 2.0 5 votes vote down vote up
public static RMQNormalProducer getProducer(String nsAddr, String topic, String producerGoup,
    String instanceName) {
    RMQNormalProducer producer = new RMQNormalProducer(nsAddr, topic, producerGoup,
        instanceName);
    if (debug) {
        producer.setDebug();
    }
    mqClients.add(producer);
    return producer;
}
 
Example 7
Source File: BaseConf.java    From rocketmq with Apache License 2.0 5 votes vote down vote up
public static RMQNormalProducer getProducer(String nsAddr, String topic) {
    RMQNormalProducer producer = new RMQNormalProducer(nsAddr, topic);
    if (debug) {
        producer.setDebug();
    }
    mqClients.add(producer);
    return producer;
}
 
Example 8
Source File: BaseConf.java    From rocketmq with Apache License 2.0 5 votes vote down vote up
public static RMQNormalProducer getProducer(String nsAddr, String topic, String producerGoup,
    String instanceName) {
    RMQNormalProducer producer = new RMQNormalProducer(nsAddr, topic, producerGoup,
        instanceName);
    if (debug) {
        producer.setDebug();
    }
    mqClients.add(producer);
    return producer;
}
 
Example 9
Source File: BaseConf.java    From DDMQ with Apache License 2.0 5 votes vote down vote up
public static RMQNormalProducer getProducer(String nsAddr, String topic, boolean useTLS) {
    RMQNormalProducer producer = new RMQNormalProducer(nsAddr, topic, useTLS);
    if (debug) {
        producer.setDebug();
    }
    mqClients.add(producer);
    return producer;
}
 
Example 10
Source File: BaseConf.java    From DDMQ with Apache License 2.0 5 votes vote down vote up
public static RMQNormalProducer getProducer(String nsAddr, String topic, String producerGoup,
    String instanceName) {
    RMQNormalProducer producer = new RMQNormalProducer(nsAddr, topic, producerGoup,
        instanceName);
    if (debug) {
        producer.setDebug();
    }
    mqClients.add(producer);
    return producer;
}
 
Example 11
Source File: BaseConf.java    From rocketmq-all-4.1.0-incubating with Apache License 2.0 5 votes vote down vote up
public static RMQNormalProducer getProducer(String nsAddr, String topic) {
    RMQNormalProducer producer = new RMQNormalProducer(nsAddr, topic);
    if (debug) {
        producer.setDebug();
    }
    mqClients.add(producer);
    return producer;
}
 
Example 12
Source File: BaseConf.java    From rocketmq-all-4.1.0-incubating with Apache License 2.0 5 votes vote down vote up
public static RMQNormalProducer getProducer(String nsAddr, String topic, String producerGoup,
    String instanceName) {
    RMQNormalProducer producer = new RMQNormalProducer(nsAddr, topic, producerGoup,
        instanceName);
    if (debug) {
        producer.setDebug();
    }
    mqClients.add(producer);
    return producer;
}
 
Example 13
Source File: BaseConf.java    From rocketmq_trans_message with Apache License 2.0 5 votes vote down vote up
public static RMQNormalProducer getProducer(String nsAddr, String topic) {
    RMQNormalProducer producer = new RMQNormalProducer(nsAddr, topic);
    if (debug) {
        producer.setDebug();
    }
    mqClients.add(producer);
    return producer;
}
 
Example 14
Source File: BaseConf.java    From rocketmq_trans_message with Apache License 2.0 5 votes vote down vote up
public static RMQNormalProducer getProducer(String nsAddr, String topic, String producerGoup,
    String instanceName) {
    RMQNormalProducer producer = new RMQNormalProducer(nsAddr, topic, producerGoup,
        instanceName);
    if (debug) {
        producer.setDebug();
    }
    mqClients.add(producer);
    return producer;
}
 
Example 15
Source File: BaseConf.java    From rocketmq with Apache License 2.0 5 votes vote down vote up
public static RMQNormalProducer getProducer(String nsAddr, String topic, boolean useTLS) {
    RMQNormalProducer producer = new RMQNormalProducer(nsAddr, topic, useTLS);
    if (debug) {
        producer.setDebug();
    }
    mqClients.add(producer);
    return producer;
}
 
Example 16
Source File: BaseConf.java    From rocketmq with Apache License 2.0 5 votes vote down vote up
public static RMQNormalProducer getProducer(String nsAddr, String topic, String producerGoup,
    String instanceName) {
    RMQNormalProducer producer = new RMQNormalProducer(nsAddr, topic, producerGoup,
        instanceName);
    if (debug) {
        producer.setDebug();
    }
    mqClients.add(producer);
    return producer;
}