Kieker 1.12

kieker.tools.logReplayer
Class JMSLogReplayer

java.lang.Object
  extended by kieker.tools.logReplayer.AbstractLogReplayer
      extended by kieker.tools.logReplayer.JMSLogReplayer

public class JMSLogReplayer
extends AbstractLogReplayer

An implementation of the AbstractLogReplayer, using the JMSReader to replay IMonitoringRecords from a JMS queue.

Since:
1.3
Author:
Andre van Hoorn

Field Summary
 
Fields inherited from class kieker.tools.logReplayer.AbstractLogReplayer
MAX_TIMESTAMP, MIN_TIMESTAMP
 
Constructor Summary
JMSLogReplayer(java.lang.String monitoringConfigurationFile, java.lang.String jmsProviderUrl, java.lang.String jmsDestination, java.lang.String jmsFactoryLookupName)
          Creates a new JMS log replayer.
 
Method Summary
protected  AbstractReaderPlugin createReader(IAnalysisController analysisController)
          Implementing classes return the reader to be used for reading the monitoring log.
protected  java.lang.String readerOutputPortName()
          Implementing classes returns the name of the reader's output port which provides the IMonitoringRecords from the monitoring log.
 
Methods inherited from class kieker.tools.logReplayer.AbstractLogReplayer
replay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSLogReplayer

public JMSLogReplayer(java.lang.String monitoringConfigurationFile,
                      java.lang.String jmsProviderUrl,
                      java.lang.String jmsDestination,
                      java.lang.String jmsFactoryLookupName)
Creates a new JMS log replayer.

Parameters:
jmsProviderUrl - = for instance "tcp://127.0.0.1:3035/"
jmsDestination - = for instance "queue1"
jmsFactoryLookupName - = for instance "org.exolab.jms.jndi.InitialContextFactory" (OpenJMS)
monitoringConfigurationFile - The path of the monitoring.properties file.
Method Detail

createReader

protected AbstractReaderPlugin createReader(IAnalysisController analysisController)
Implementing classes return the reader to be used for reading the monitoring log.

Specified by:
createReader in class AbstractLogReplayer
Parameters:
analysisController - The analysis controller which will be the parent of the reader.
Returns:
The reader which can be used to read the monitoring log.

readerOutputPortName

protected java.lang.String readerOutputPortName()
Implementing classes returns the name of the reader's output port which provides the IMonitoringRecords from the monitoring log.

Specified by:
readerOutputPortName in class AbstractLogReplayer
Returns:
The name of the reader's output port.

Kieker 1.12

Copyright 2015 Kieker Project, http://kieker-monitoring.net