Package kieker.monitoring.writer.jms
Class JmsWriter
java.lang.Object
kieker.monitoring.writer.AbstractMonitoringWriter
kieker.monitoring.writer.jms.JmsWriter
public class JmsWriter extends AbstractMonitoringWriter
- Since:
- 0.95a
- Author:
- Matthias Rohr, Andre van Hoorn, Jan Waller, Christian Wulf
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONFIG_CONTEXTFACTORYTYPE
static java.lang.String
CONFIG_FACTORYLOOKUPNAME
static java.lang.String
CONFIG_MESSAGETTL
static java.lang.String
CONFIG_PASSWORD
static java.lang.String
CONFIG_PROVIDERURL
static java.lang.String
CONFIG_TOPIC
static java.lang.String
CONFIG_USERNAME
-
Constructor Summary
Constructors Constructor Description JmsWriter(Configuration configuration)
-
Method Summary
Modifier and Type Method Description void
onStarting()
This event fires when Kieker has been initialized and is ready to monitor.void
onTerminating()
This event fires when Kieker has been notified to terminate.java.lang.String
toString()
Returns a textual representation of the writer's configuration.void
writeMonitoringRecord(IMonitoringRecord record)
This event fires when Kieker has received a new record.
-
Field Details
-
CONFIG_PROVIDERURL
public static final java.lang.String CONFIG_PROVIDERURL -
CONFIG_TOPIC
public static final java.lang.String CONFIG_TOPIC -
CONFIG_CONTEXTFACTORYTYPE
public static final java.lang.String CONFIG_CONTEXTFACTORYTYPE -
CONFIG_FACTORYLOOKUPNAME
public static final java.lang.String CONFIG_FACTORYLOOKUPNAME -
CONFIG_MESSAGETTL
public static final java.lang.String CONFIG_MESSAGETTL -
CONFIG_USERNAME
public static final java.lang.String CONFIG_USERNAME -
CONFIG_PASSWORD
public static final java.lang.String CONFIG_PASSWORD
-
-
Constructor Details
-
Method Details
-
onStarting
public void onStarting()Description copied from class:AbstractMonitoringWriter
This event fires when Kieker has been initialized and is ready to monitor. It is executed by theMonitoringWriterThread
just before reading the writer queue.- Specified by:
onStarting
in classAbstractMonitoringWriter
-
writeMonitoringRecord
Description copied from class:AbstractMonitoringWriter
This event fires when Kieker has received a new record.- Specified by:
writeMonitoringRecord
in classAbstractMonitoringWriter
-
onTerminating
public void onTerminating()Description copied from class:AbstractMonitoringWriter
This event fires when Kieker has been notified to terminate. It is executed by theMonitoringWriterThread
just after finishing the writer queue.- Specified by:
onTerminating
in classAbstractMonitoringWriter
-
toString
public final java.lang.String toString()Description copied from class:AbstractMonitoringWriter
Returns a textual representation of the writer's configuration.- Overrides:
toString
in classAbstractMonitoringWriter
- Returns:
- a textual representation of the writer's configuration
-