Public Member Functions | |
ACSJMSConsumer (Destination destination, ContainerServicesBase contServices, String selector) throws JMSException | |
String | getMessageSelector () throws JMSException |
void | setMessageSelector (String selectorString) |
MessageListener | getMessageListener () throws JMSException |
void | setMessageListener (MessageListener listener) throws JMSException |
Message | receive () throws JMSException |
Message | receive (long timeout) throws JMSException |
Message | receiveNoWait () throws JMSException |
void | close () throws JMSException |
void | receive (ACSJMSMessageEntity message) |
Protected Attributes | |
Destination | destination |
Private Attributes | |
MessageListener | listener |
ContainerServicesBase | containerServices |
ACSJMSMessageSelector | selector = null |
The overloaded receive
methods and receiveNoWait
are not implemented and throw an UnsupportedOperationException
. Having both methods (receive and callback) in place causes an out of memory if the queue of message is not flushed on disk. To avoid memory neverending memory consumption I have preferred to remove the implementations of the calls leaving only the callback (given that at the present this is the only one used)
|
The constructor of the consumer
|
|
Reimplemented in com::cosylab::acs::jms::ACSJMSTopicSubscriber.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Set a new SQL92 selector string for the consumer
|
|
|
|
|
|
|
|
|