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

org.seedstack.jms.spi.JmsFactory Maven / Gradle / Ivy

The newest version!
/*
 * Copyright © 2013-2020, The SeedStack authors 
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package org.seedstack.jms.spi;

import java.util.Map;
import org.seedstack.jms.JmsConfig;

import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.JMSException;

public interface JmsFactory {
    Map getConnectionFactories();

    Connection createConnection(ConnectionDefinition connectionDefinition) throws JMSException;

    ConnectionDefinition createConnectionDefinition(String connectionName, JmsConfig.ConnectionConfig connectionConfig, ConnectionFactory connectionFactory);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy