kieker.tools.logReplayer
Class JMSLogReplayer
java.lang.Object
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
Method Summary |
boolean |
replay()
Replays the monitoring log terminates after the last record was passed to
the configured IMonitoringRecordReceiver . |
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.
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
Copyright 2011 the Kieker Project, http://kieker.sourceforge.net>