All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.nosqlbench.driver.jms.conn.JmsConnInfo Maven / Gradle / Ivy

Go to download

A JMS driver for nosqlbench. This provides the ability to inject synthetic data into a pulsar system via JMS 2.0 compatibile APIs. NOTE: this is JMS compatible driver from DataStax that allows using a Pulsar cluster as the potential JMS Destination

There is a newer version: 4.15.97
Show newest version
package io.nosqlbench.driver.jms.conn;

import java.util.HashMap;
import java.util.Map;

public class JmsConnInfo {

    protected final String jmsProviderType;
    protected final Map jmsConnConfig;

    protected JmsConnInfo(String jmsProviderType) {
        this.jmsProviderType = jmsProviderType;
        this.jmsConnConfig = new HashMap<>();
    }

    public Map getJmsConnConfig() { return this.jmsConnConfig; }
    public void resetJmsConnConfig() { this.jmsConnConfig.clear(); }
    public void addJmsConnConfigItems(Map cfgItems) { this.jmsConnConfig.putAll(cfgItems); }
    public void addJmsConnConfigItem(String key, Object value) { this.jmsConnConfig.put(key, value); }
    public void removeJmsConnConfigItem(String key) { this.jmsConnConfig.remove(key); }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy