|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimpleConsumerService
Interface that defines a simple message consumer interface.
This interface is provided as a convenience for simple message consumption requirements.
Method Summary | |
---|---|
void |
setDefaultMessageListener(javax.jms.MessageListener listener)
Set the default MessageListener that this service must use to consume messages. |
void |
start(java.lang.String consumer)
Start the named consumer. |
void |
stop(java.lang.String consumer)
Stop the named consumer. |
Method Detail |
---|
void start(java.lang.String consumer) throws ServiceException
consumer
- String indicating the named consumer that must
started.
ServiceException
- if the consumer cannot be started.void stop(java.lang.String consumer) throws ServiceException
consumer
- String indicating the named consumer that must
stopped.
ServiceException
- if the consumer cannot be stopped.void setDefaultMessageListener(javax.jms.MessageListener listener)
listener
- MessageListener implementation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |