org.skyscreamer.nevado.jms.NevadoTopicConnection Maven / Gradle / Ivy
package org.skyscreamer.nevado.jms;
import org.skyscreamer.nevado.jms.connector.SQSConnector;
import javax.jms.*;
/**
* Nevado implementation of TopicConnection
*
* @author Carter Page
*/
public class NevadoTopicConnection extends NevadoConnection implements TopicConnection {
public NevadoTopicConnection(SQSConnector sqsConnector) throws JMSException {
super(sqsConnector);
}
@Override
public TopicSession createTopicSession(boolean transacted, int acknowledgeMode) throws JMSException {
checkClosed();
_inUse = true;
NevadoTopicSession nevadoSession = new NevadoTopicSession(this, transacted, acknowledgeMode);
initializeSession(nevadoSession);
return nevadoSession;
}
@Override
public ConnectionConsumer createConnectionConsumer(Topic topic, String s, ServerSessionPool serverSessionPool, int i) throws JMSException {
checkClosed();
_inUse = true;
return null; // TODO
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy