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

io.nosqlbench.driver.jms.ops.JmsOpMapper 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.ops;

import io.nosqlbench.driver.jms.JmsActivity;
import io.nosqlbench.driver.jms.util.JmsHeaderLongFunc;

import javax.jms.Destination;
import java.util.Map;
import java.util.function.LongFunction;

public abstract class JmsOpMapper implements LongFunction {
    protected final JmsActivity jmsActivity;
    protected final LongFunction asyncApiFunc;
    protected final LongFunction jmsDestinationFunc;

    public JmsOpMapper(JmsActivity jmsActivity,
                       LongFunction asyncApiFunc,
                       LongFunction jmsDestinationFunc)
    {
        this.jmsActivity = jmsActivity;
        this.asyncApiFunc = asyncApiFunc;
        this.jmsDestinationFunc = jmsDestinationFunc;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy