net.sf.dropboxmq.messageconsumers
Class ServerConsumer
java.lang.Object
net.sf.dropboxmq.messageconsumers.ServerConsumer
- Direct Known Subclasses:
- ConnectionConsumerImpl, EndpointFactoryConsumer
public abstract class ServerConsumer
- extends Object
Created: 07 Feb 2007
- Version:
- $Revision: 221 $, $Date: 2011-01-30 22:07:27 -0700 (Sun, 30 Jan 2011) $
- Author:
- Dwayne Schultz
ServerConsumer
protected ServerConsumer(ConnectionImpl connection,
Destination destination,
String subscriptionName,
String messageSelector,
int maxMessages)
throws JMSException
- Throws:
JMSException
getConnection
public ConnectionImpl getConnection()
startConsuming
protected void startConsuming()
closeServerConsumer
public void closeServerConsumer()
throws JMSException
- Throws:
JMSException
newChildSession
protected abstract SessionImpl newChildSession()
startChildSession
protected abstract void startChildSession()
throws JMSException
- Throws:
JMSException
toString
public String toString()
- Overrides:
toString
in class Object
toObjectString
protected final String toObjectString()