|
Kieker 1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkieker.analysis.reader.AbstractMonitoringReader
kieker.analysis.reader.jms.JMSReader
public class JMSReader
Reads monitoring records from a (remote or local) JMS queue.
Constructor Summary | |
---|---|
JMSReader()
Constructor for JMSReader. |
|
JMSReader(String jmsProviderUrl,
String jmsDestination,
String jmsFactoryLookupName)
|
Method Summary | |
---|---|
boolean |
init(String initString)
Valid key/value pair: jmsProviderUrl=tcp://localhost:3035/ | jmsDestination=queue1 | jmsFactoryLookupName=org.exolab.jms.jndi.InitialContextFactory |
boolean |
read()
A call to this method is a blocking call. |
void |
terminate()
Initiates a termination of the reader. |
Methods inherited from class kieker.analysis.reader.AbstractMonitoringReader |
---|
addRecordReceiver |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JMSReader(String jmsProviderUrl, String jmsDestination, String jmsFactoryLookupName)
jmsProviderUrl
- = for instance "tcp://127.0.0.1:3035/"jmsDestination
- = for instance "queue1"jmsFactoryLookupName
- = for instance "org.exolab.jms.jndi.InitialContextFactory" (OpenJMS)
IllegalArgumentException
- if passed parameters are null or empty.public JMSReader()
Method Detail |
---|
public boolean init(String initString)
initString
- the initialization string
public boolean read()
public void terminate()
IMonitoringReader
AnalysisController.terminate()
instead.
After receiving this notification,
the reader should terminate its IMonitoringReader.read()
method.
|
Kieker 1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |