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 javax.jms.QueueSession createQueueSession(boolean arg0,
int arg1)
throws javax.jms.JMSException
createQueueSession in interface javax.jms.QueueConnectionjavax.jms.JMSExceptionpublic 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.QueueConnectionjavax.jms.JMSExceptionpublic void close()
throws javax.jms.JMSException
close in interface javax.jms.Connectionjavax.jms.JMSExceptionpublic 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.Connectionjavax.jms.JMSExceptionpublic 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.Connectionjavax.jms.JMSExceptionpublic javax.jms.Session createSession(boolean arg0,
int arg1)
throws javax.jms.JMSException
createSession in interface javax.jms.Connectionjavax.jms.JMSExceptionpublic String getClientID() throws javax.jms.JMSException
getClientID in interface javax.jms.Connectionjavax.jms.JMSExceptionpublic javax.jms.ExceptionListener getExceptionListener()
throws javax.jms.JMSException
getExceptionListener in interface javax.jms.Connectionjavax.jms.JMSExceptionpublic javax.jms.ConnectionMetaData getMetaData()
throws javax.jms.JMSException
getMetaData in interface javax.jms.Connectionjavax.jms.JMSExceptionpublic void setClientID(String arg0) throws javax.jms.JMSException
setClientID in interface javax.jms.Connectionjavax.jms.JMSExceptionpublic void setExceptionListener(javax.jms.ExceptionListener arg0)
throws javax.jms.JMSException
setExceptionListener in interface javax.jms.Connectionjavax.jms.JMSExceptionpublic void start()
throws javax.jms.JMSException
start in interface javax.jms.Connectionjavax.jms.JMSExceptionpublic void stop()
throws javax.jms.JMSException
stop in interface javax.jms.Connectionjavax.jms.JMSExceptionCopyright © 2005–2016 QOS.ch. All rights reserved.