com::cosylab::acs::jms::ACSJMSConsumer Class Reference
List of all members.
Detailed Description
This class supports only the listener mechanism.
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)
- Author:
- kzagar
Constructor & Destructor Documentation
| com::cosylab::acs::jms::ACSJMSConsumer::ACSJMSConsumer |
( |
Destination |
destination, |
|
|
ContainerServicesBase |
contServices, |
|
|
String |
selector | |
|
) |
| | throws JMSException [inline] |
The constructor of the consumer
- Parameters:
-
| destination | |
| contServices | The Container services |
| selector | The message selector (can be empty or null) |
References containerServices, destination, and selector.
Member Function Documentation
| void com::cosylab::acs::jms::ACSJMSConsumer::close |
( |
|
) |
throws JMSException [inline] |
| MessageListener com::cosylab::acs::jms::ACSJMSConsumer::getMessageListener |
( |
|
) |
throws JMSException [inline] |
| String com::cosylab::acs::jms::ACSJMSConsumer::getMessageSelector |
( |
|
) |
throws JMSException [inline] |
| void com::cosylab::acs::jms::ACSJMSConsumer::receive |
( |
ACSJMSMessageEntity |
message |
) |
[inline] |
| Message com::cosylab::acs::jms::ACSJMSConsumer::receive |
( |
long |
timeout |
) |
throws JMSException [inline] |
| Message com::cosylab::acs::jms::ACSJMSConsumer::receive |
( |
|
) |
throws JMSException [inline] |
| Message com::cosylab::acs::jms::ACSJMSConsumer::receiveNoWait |
( |
|
) |
throws JMSException [inline] |
| void com::cosylab::acs::jms::ACSJMSConsumer::setMessageListener |
( |
MessageListener |
listener |
) |
throws JMSException [inline] |
| void com::cosylab::acs::jms::ACSJMSConsumer::setMessageSelector |
( |
String |
selectorString |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: