public class MockQueueConnection extends Object implements javax.jms.QueueConnection
Constructor and Description |
---|
MockQueueConnection() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
javax.jms.ConnectionConsumer |
createConnectionConsumer(javax.jms.Destination arg0,
String arg1,
javax.jms.ServerSessionPool arg2,
int arg3) |
javax.jms.ConnectionConsumer |
createConnectionConsumer(javax.jms.Queue arg0,
String arg1,
javax.jms.ServerSessionPool arg2,
int arg3) |
javax.jms.ConnectionConsumer |
createDurableConnectionConsumer(javax.jms.Topic arg0,
String arg1,
String arg2,
javax.jms.ServerSessionPool arg3,
int arg4) |
javax.jms.QueueSession |
createQueueSession(boolean arg0,
int arg1) |
javax.jms.Session |
createSession(boolean arg0,
int arg1) |
String |
getClientID() |
javax.jms.ExceptionListener |
getExceptionListener() |
javax.jms.ConnectionMetaData |
getMetaData() |
void |
setClientID(String arg0) |
void |
setExceptionListener(javax.jms.ExceptionListener arg0) |
void |
start() |
void |
stop() |
public MockQueueConnection()
public javax.jms.QueueSession createQueueSession(boolean arg0, int arg1) throws javax.jms.JMSException
createQueueSession
in interface javax.jms.QueueConnection
javax.jms.JMSException
public javax.jms.ConnectionConsumer createConnectionConsumer(javax.jms.Queue arg0, String arg1, javax.jms.ServerSessionPool arg2, int arg3) throws javax.jms.JMSException
createConnectionConsumer
in interface javax.jms.QueueConnection
javax.jms.JMSException
public void close() throws javax.jms.JMSException
close
in interface javax.jms.Connection
javax.jms.JMSException
public javax.jms.ConnectionConsumer createConnectionConsumer(javax.jms.Destination arg0, String arg1, javax.jms.ServerSessionPool arg2, int arg3) throws javax.jms.JMSException
createConnectionConsumer
in interface javax.jms.Connection
javax.jms.JMSException
public javax.jms.ConnectionConsumer createDurableConnectionConsumer(javax.jms.Topic arg0, String arg1, String arg2, javax.jms.ServerSessionPool arg3, int arg4) throws javax.jms.JMSException
createDurableConnectionConsumer
in interface javax.jms.Connection
javax.jms.JMSException
public javax.jms.Session createSession(boolean arg0, int arg1) throws javax.jms.JMSException
createSession
in interface javax.jms.Connection
javax.jms.JMSException
public String getClientID() throws javax.jms.JMSException
getClientID
in interface javax.jms.Connection
javax.jms.JMSException
public javax.jms.ExceptionListener getExceptionListener() throws javax.jms.JMSException
getExceptionListener
in interface javax.jms.Connection
javax.jms.JMSException
public javax.jms.ConnectionMetaData getMetaData() throws javax.jms.JMSException
getMetaData
in interface javax.jms.Connection
javax.jms.JMSException
public void setClientID(String arg0) throws javax.jms.JMSException
setClientID
in interface javax.jms.Connection
javax.jms.JMSException
public void setExceptionListener(javax.jms.ExceptionListener arg0) throws javax.jms.JMSException
setExceptionListener
in interface javax.jms.Connection
javax.jms.JMSException
public void start() throws javax.jms.JMSException
start
in interface javax.jms.Connection
javax.jms.JMSException
public void stop() throws javax.jms.JMSException
stop
in interface javax.jms.Connection
javax.jms.JMSException
Copyright © 2005–2017 QOS.ch. All rights reserved.