public class MockConnectionConsumer extends Object implements javax.jms.ConnectionConsumer
ConnectionConsumer.| Constructor and Description |
|---|
MockConnectionConsumer(MockConnection connection,
javax.jms.ServerSessionPool serverSessionPool) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
javax.jms.ServerSessionPool |
getServerSessionPool() |
boolean |
isClosed()
Returns if this connection consumer was closed.
|
void |
setServerSessionPool(javax.jms.ServerSessionPool serverSessionPool) |
public MockConnectionConsumer(MockConnection connection, javax.jms.ServerSessionPool serverSessionPool)
public boolean isClosed()
true if this connection consumer is closedpublic void setServerSessionPool(javax.jms.ServerSessionPool serverSessionPool)
public javax.jms.ServerSessionPool getServerSessionPool()
throws javax.jms.JMSException
getServerSessionPool in interface javax.jms.ConnectionConsumerjavax.jms.JMSExceptionpublic void close()
throws javax.jms.JMSException
close in interface javax.jms.ConnectionConsumerjavax.jms.JMSExceptionCopyright © 2003–2020. All rights reserved.