| 
Kieker 1.9 | |||||||||
| 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 String | 
KIEKER_DATA_BRIDGE_READ_QUEUE
Default KDB queue name.  | 
static String | 
PASSWORD
Property name for the configuration password property.  | 
static String | 
URI
Property name for the configuration service URI property.  | 
static String | 
USERNAME
Property name for the configuration user name property.  | 
| Constructor Summary | |
|---|---|
JMSClientConnector(Configuration configuration,
                   ConcurrentMap<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 | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final String USERNAME
public static final String PASSWORD
public static final String URI
public static final String KIEKER_DATA_BRIDGE_READ_QUEUE
| Constructor Detail | 
|---|
public JMSClientConnector(Configuration configuration,
                          ConcurrentMap<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.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||