public interface GenericListener
extends javax.jms.MessageListener, java.lang.Runnable
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Return the ID string for this listener
|
void |
init(JsonSimpleConfig config)
Initialization method
|
void |
setPriority(int newPriority)
Sets the priority level for the thread.
|
void |
start()
Start the queue
|
void |
stop()
Stop the Queue Consumer
|
void init(JsonSimpleConfig config) throws java.lang.Exception
config - Configuration to usejava.io.IOException - if the configuration file not foundjava.lang.Exceptionjava.lang.String getId()
void start()
throws java.lang.Exception
javax.jms.JMSException - if an error occurred starting the JMS connectionsjava.lang.Exceptionvoid stop()
throws java.lang.Exception
java.lang.Exception - if an error occurred stoppingvoid setPriority(int newPriority)
newPriority - The priority level to set the thread atCopyright © 2009-2018. All Rights Reserved.