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

com.consol.citrus.simulator.sample.SimulatorJmsConfig Maven / Gradle / Ivy

package com.consol.citrus.simulator.sample;

import com.consol.citrus.simulator.jms.SimulatorJmsAdapter;
import com.consol.citrus.simulator.jms.SimulatorJmsConfigurationProperties;
import org.apache.activemq.ActiveMQConnectionFactory;

import javax.jms.ConnectionFactory;

/**
 * @author Christoph Deppisch
 */
public class SimulatorJmsConfig extends SimulatorJmsAdapter {

    @Override
    public ConnectionFactory connectionFactory() {
        return new ActiveMQConnectionFactory("tcp://localhost:61616");
    }

    @Override
    public boolean synchronous(SimulatorJmsConfigurationProperties simulatorJmsConfiguration) {
        return true;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy