|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JMSConsumerBean
This is just an interface extension that allows message listeners
to be notify of container destruction via the stop()
method.
Moreover, consumers should be identifier using a name (typically,
this name will be from the one provided into JMSConsumerBeanInfo).
| Method Summary | |
|---|---|
java.lang.String |
getName()
Retrieve the name of this consumer. |
void |
setName(java.lang.String name)
Set the name identifying this consumer. |
void |
stop()
Implement this method to stop current process and free resources. |
| Methods inherited from interface javax.jms.MessageListener |
|---|
onMessage |
| Method Detail |
|---|
java.lang.String getName()
void setName(java.lang.String name)
name - The name of this consumervoid stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||