|
Kieker 1.11 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkieker.tools.bridge.connector.AbstractConnector
kieker.tools.bridge.connector.jms.JMSClientConnector
public class JMSClientConnector
Implements a connector for JMS which supports text and binary messages.
| Field Summary | |
|---|---|
static java.lang.String |
FACTORY_LOOKUP_NAME
Property name for the configuration of the JMS connector. |
static java.lang.String |
KIEKER_DATA_BRIDGE_READ_QUEUE
Default KDB queue name. |
protected java.lang.String |
password
password used to connect to the JMS service. |
static java.lang.String |
PASSWORD
Property name for the configuration password property. |
static java.lang.String |
URI
Property name for the configuration service URI property. |
protected java.lang.String |
username
username used to connect to the JMS service. |
static java.lang.String |
USERNAME
Property name for the configuration user name property. |
| Fields inherited from class kieker.tools.bridge.connector.AbstractConnector |
|---|
configuration, lookupEntityMap |
| Constructor Summary | |
|---|---|
JMSClientConnector(Configuration configuration,
java.util.concurrent.ConcurrentMap<java.lang.Integer,LookupEntity> lookupEntityMap)
Create a JMSClientConnector. |
|
| Method Summary | |
|---|---|
void |
close()
Close the JMS connection. |
IMonitoringRecord |
deserializeNextRecord()
Fetch a text or binary message from the JMS queue and use the correct deserializer for the received message. |
void |
initialize()
Initialize the JMS connection to read from a JMS queue. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String USERNAME
public static final java.lang.String PASSWORD
public static final java.lang.String URI
public static final java.lang.String FACTORY_LOOKUP_NAME
public static final java.lang.String KIEKER_DATA_BRIDGE_READ_QUEUE
protected final java.lang.String username
protected final java.lang.String password
| Constructor Detail |
|---|
public JMSClientConnector(Configuration configuration,
java.util.concurrent.ConcurrentMap<java.lang.Integer,LookupEntity> lookupEntityMap)
configuration - Kieker configuration including setup for connectorslookupEntityMap - IMonitoringRecord constructor and TYPES-array to id map
ConnectorDataTransmissionException| Method Detail |
|---|
public void initialize()
throws ConnectorDataTransmissionException
ConnectorDataTransmissionException - if any JMSException occurs
public void close()
throws ConnectorDataTransmissionException
ConnectorDataTransmissionException - if any JMSException occurs
public IMonitoringRecord deserializeNextRecord()
throws ConnectorDataTransmissionException,
ConnectorEndOfDataException
ConnectorDataTransmissionException - if the message type is neither binary nor text, or if a JMSException occurs
ConnectorEndOfDataException - if the received message is null indicating that the consumer is closed
|
Kieker 1.11 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||