webMethods Broker API for JMS
Version 9.5.1.0.171 091713

com.webmethods.jms
Interface WmConnection

All Superinterfaces:
javax.jms.Connection

public interface WmConnection
extends javax.jms.Connection

Interface defining webMethods extensions to javax.jms.Connection and its subclasses.


Field Summary
static int ENCRYPT_LEVEL_ENCRYPTION
          Encryption
static int ENCRYPT_LEVEL_NO_ENCRYPTION
          No encryption
static int ENCRYPT_LEVEL_US_DOMESTIC
          Deprecated. Replaced By ENCRYPT_LEVEL_ENCRYPTION
static int ENCRYPT_LEVEL_US_EXPORT
          Deprecated. Replaced By ENCRYPT_LEVEL_ENCRYPTION
 
Method Summary
 short[] getAccessLabel()
          Get the client access label
 java.lang.String getBroker()
          Get the Broker to which this connection is currently connected.
 javax.jms.ConnectionFactory getFactory()
          Returns the connection factory used to create this connection.
 int getSSLEncryptionLevel()
          Get the SSL encryption level.
 java.util.Properties getSSLServerCertificate()
          Get the Broker's SSL certificate properties.
 java.lang.String getTerritory()
          Get the territory of the Broker to which this connection is currently connected.
 void ping()
          Pings the Broker to determine if there is network connectivity.
 
Methods inherited from interface javax.jms.Connection
close, createConnectionConsumer, createDurableConnectionConsumer, createSession, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 

Field Detail

ENCRYPT_LEVEL_NO_ENCRYPTION

static final int ENCRYPT_LEVEL_NO_ENCRYPTION
No encryption

See Also:
Constant Field Values

ENCRYPT_LEVEL_US_EXPORT

static final int ENCRYPT_LEVEL_US_EXPORT
Deprecated. Replaced By ENCRYPT_LEVEL_ENCRYPTION
Export encryption level

See Also:
Constant Field Values

ENCRYPT_LEVEL_US_DOMESTIC

static final int ENCRYPT_LEVEL_US_DOMESTIC
Deprecated. Replaced By ENCRYPT_LEVEL_ENCRYPTION
Domestic encryption level

See Also:
Constant Field Values

ENCRYPT_LEVEL_ENCRYPTION

static final int ENCRYPT_LEVEL_ENCRYPTION
Encryption

See Also:
Constant Field Values
Method Detail

getFactory

javax.jms.ConnectionFactory getFactory()
                                       throws javax.jms.JMSException
Returns the connection factory used to create this connection.

Returns:
the connection factory used to create his connection
Throws:
javax.jms.JMSException - if the JMS provider fails to get the connection factory for this connection.

getBroker

java.lang.String getBroker()
                           throws javax.jms.JMSException
Get the Broker to which this connection is currently connected.

Returns:
the Broker name
Throws:
javax.jms.JMSException - if the JMS provider fails to get the Broker for this connection

getTerritory

java.lang.String getTerritory()
                              throws javax.jms.JMSException
Get the territory of the Broker to which this connection is currently connected.

Returns:
the territory name
Throws:
javax.jms.JMSException - if the JMS provider fails to get the territory

getSSLEncryptionLevel

int getSSLEncryptionLevel()
                          throws javax.jms.JMSException
Get the SSL encryption level.

Returns:
ENCRYPT_LEVEL_NO_ENCRYPTION or ENCRYPT_LEVEL_ENCRYPTION
Throws:
javax.jms.JMSException - if the JMS provider fails to get the encryption level for this connection.

getSSLServerCertificate

java.util.Properties getSSLServerCertificate()
                                             throws javax.jms.JMSException
Get the Broker's SSL certificate properties. The included property names are: "subjectDn", "issuerDn", "status" "serialNumber", "beginDate", "endDate".

Returns:
the server certificate properties, or null if not an SSL connection
Throws:
javax.jms.JMSException - if the JMS provider fails to get the server certificate for this connection.

ping

void ping()
          throws javax.jms.JMSException
Pings the Broker to determine if there is network connectivity.

Throws:
javax.jms.JMSException - if the JMS provider fails to ping the Broker

getAccessLabel

short[] getAccessLabel()
                       throws javax.jms.JMSException
Get the client access label

Returns:
access labels
Throws:
javax.jms.JMSException

webMethods Broker API for JMS
Version 9.5.1.0.171 091713


Copyright © 2001 - 2013 Software AG Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, United States of America, and/or their suppliers.