Kieker 1.3

kieker.tools.logReplayer
Class JMSLogReplayer

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

public class JMSLogReplayer
extends Object

Listens to a JMS queue and simply passes each record to a specified IMonitoringRecordReceiver.

Author:
Andre van Hoorn

Constructor Summary
JMSLogReplayer(IMonitoringRecordReceiver recordReceiver, String jmsProviderUrl, String jmsDestination, String jmsFactoryLookupName)
           
 
Method Summary
 boolean replay()
          Replays the monitoring log terminates after the last record was passed to the configured IMonitoringRecordReceiver.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSLogReplayer

public JMSLogReplayer(IMonitoringRecordReceiver recordReceiver,
                      String jmsProviderUrl,
                      String jmsDestination,
                      String jmsFactoryLookupName)
Parameters:
jmsProviderUrl - = for instance "tcp://127.0.0.1:3035/"
jmsDestination - = for instance "queue1"
jmsFactoryLookupName - = for instance "org.exolab.jms.jndi.InitialContextFactory" (OpenJMS)
Throws:
IllegalArgumentException - if passed parameters are null or empty.
Method Detail

replay

public boolean replay()
Replays the monitoring log terminates after the last record was passed to the configured IMonitoringRecordReceiver.

Returns:
true on success; false otherwise

Kieker 1.3

Copyright 2011 the Kieker Project, http://kieker.sourceforge.net