|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objecttoolbox.services.BaseService
toolbox.services.jms.JmsService
toolbox.services.jms.simple.SimpleConsumerServiceImpl
public class SimpleConsumerServiceImpl
Default implementation of the SimpleConsumerService interface.
This implementation can be configured into a Toolbox ServiceRegistry
instance. See the doc/samples/jms/client directroy for
examples.
| Constructor Summary | |
|---|---|
SimpleConsumerServiceImpl()
Default constructor |
|
| Method Summary | |
|---|---|
void |
setDefaultMessageListener(javax.jms.MessageListener listener)
Injection point for a custom MessageListener implementation. |
void |
start(java.lang.String consumer)
Start the named consumer. |
void |
stop(java.lang.String consumer)
Stop the named consumer. |
| Methods inherited from class toolbox.services.jms.JmsService |
|---|
create, destroy, getJmsConsumer, getJmsProducer |
| Methods inherited from class toolbox.services.BaseService |
|---|
getConfigHome, getName, getProperties, getProperty, getXMLProperties, logConfig, logFine, logFiner, logFinest, logInfo, logSevere, logWarning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleConsumerServiceImpl()
| Method Detail |
|---|
public void start(java.lang.String consumer)
throws ServiceException
start in interface SimpleConsumerServiceconsumer - String indicating the named consumer that must
started.
ServiceException - if the consumer cannot be started.
public void stop(java.lang.String consumer)
throws ServiceException
stop in interface SimpleConsumerServiceconsumer - String indicating the named consumer that must
stopped.
ServiceException - if the consumer cannot be stopped.public void setDefaultMessageListener(javax.jms.MessageListener listener)
setDefaultMessageListener in interface SimpleConsumerServicelistener - Default MessageListener implementation to use.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||