xmlBlaster 2.1.0 API

org.xmlBlaster.jms
Class XBConnectionMetaData

java.lang.Object
  extended by org.xmlBlaster.jms.XBPropertyNames
      extended by org.xmlBlaster.jms.XBConnectionMetaData
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.jms.ConnectionMetaData

public class XBConnectionMetaData
extends XBPropertyNames
implements javax.jms.ConnectionMetaData, java.io.Serializable, java.lang.Cloneable

XBConnectionMetaData

Author:
Michele Laghi
See Also:
Serialized Form

Field Summary
static java.lang.String JMSX_GROUP_EOF
          If this exists it is always set to boolean 'true' and tells this is the EOF message of a sequence (a group)
static java.lang.String JMSX_GROUP_EX
          If set, an exception occured in this chunk.
static java.lang.String JMSX_GROUP_ID
          When using chunked messages this belongs to a specified group.
static java.lang.String JMSX_GROUP_SEQ
          The internal sequence number within a group.
static java.lang.String JMSX_MAX_CHUNK_SIZE
          The maximum size for the data to be transmitted in one single message
static java.lang.String JMSX_PTP_DESTINATION
           
static java.lang.String JMSX_RCV_TIMESTAMP
          The receiver Timestamp which is a property specific to XmlBlaster
(package private) static int MAJOR_VERSION
           
private static java.lang.String ME
           
(package private) static int MINOR_VERSION
           
private static long serialVersionUID
           
 
Fields inherited from class org.xmlBlaster.jms.XBPropertyNames
CONNECT_QOS, JMS_CORRELATION_ID, JMS_DELIVERY_MODE, JMS_EXPIRATION, JMS_MESSAGE_ID, JMS_MESSAGE_TYPE, JMS_PRIORITY, JMS_REDELIVERED, JMS_REPLY_TO, JMS_TIMESTAMP, JMS_TYPE, MAX_CHUNK_SIZE, OPEN_END_PUBLISH
 
Constructor Summary
XBConnectionMetaData()
           
 
Method Summary
 int getJMSMajorVersion()
           
 int getJMSMinorVersion()
           
 java.lang.String getJMSProviderName()
           
 java.lang.String getJMSVersion()
           
 java.util.Enumeration getJMSXPropertyNames()
           
 int getProviderMajorVersion()
           
 int getProviderMinorVersion()
           
 java.lang.String getProviderVersion()
           
private  int getProviderVersion(boolean isMinor)
           
static java.util.Set getReservedProps()
          These properties are specific to our implementation and must start with the prefix JMSX
 
Methods inherited from class org.xmlBlaster.jms.XBPropertyNames
getStandardProps
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

ME

private static final java.lang.String ME
See Also:
Constant Field Values

MAJOR_VERSION

static final int MAJOR_VERSION
See Also:
Constant Field Values

MINOR_VERSION

static final int MINOR_VERSION
See Also:
Constant Field Values

JMSX_RCV_TIMESTAMP

public static final java.lang.String JMSX_RCV_TIMESTAMP
The receiver Timestamp which is a property specific to XmlBlaster

See Also:
Constant Field Values

JMSX_MAX_CHUNK_SIZE

public static final java.lang.String JMSX_MAX_CHUNK_SIZE
The maximum size for the data to be transmitted in one single message

See Also:
Constant Field Values

JMSX_PTP_DESTINATION

public static final java.lang.String JMSX_PTP_DESTINATION
See Also:
Constant Field Values

JMSX_GROUP_ID

public static final java.lang.String JMSX_GROUP_ID
When using chunked messages this belongs to a specified group.

See Also:
Constant Field Values

JMSX_GROUP_SEQ

public static final java.lang.String JMSX_GROUP_SEQ
The internal sequence number within a group. If this is set, then JMSXGroupID must be set too.

See Also:
Constant Field Values

JMSX_GROUP_EOF

public static final java.lang.String JMSX_GROUP_EOF
If this exists it is always set to boolean 'true' and tells this is the EOF message of a sequence (a group)

See Also:
Constant Field Values

JMSX_GROUP_EX

public static final java.lang.String JMSX_GROUP_EX
If set, an exception occured in this chunk. It contains the exception. It is used to perform clean up in case of exceptions.

See Also:
Constant Field Values
Constructor Detail

XBConnectionMetaData

XBConnectionMetaData()
Method Detail

getReservedProps

public static final java.util.Set getReservedProps()
These properties are specific to our implementation and must start with the prefix JMSX


getProviderVersion

private int getProviderVersion(boolean isMinor)
                        throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getJMSVersion

public java.lang.String getJMSVersion()
                               throws javax.jms.JMSException
Specified by:
getJMSVersion in interface javax.jms.ConnectionMetaData
Throws:
javax.jms.JMSException

getJMSMajorVersion

public int getJMSMajorVersion()
                       throws javax.jms.JMSException
Specified by:
getJMSMajorVersion in interface javax.jms.ConnectionMetaData
Throws:
javax.jms.JMSException

getJMSMinorVersion

public int getJMSMinorVersion()
                       throws javax.jms.JMSException
Specified by:
getJMSMinorVersion in interface javax.jms.ConnectionMetaData
Throws:
javax.jms.JMSException

getJMSProviderName

public java.lang.String getJMSProviderName()
                                    throws javax.jms.JMSException
Specified by:
getJMSProviderName in interface javax.jms.ConnectionMetaData
Throws:
javax.jms.JMSException

getProviderVersion

public java.lang.String getProviderVersion()
                                    throws javax.jms.JMSException
Specified by:
getProviderVersion in interface javax.jms.ConnectionMetaData
Throws:
javax.jms.JMSException

getProviderMajorVersion

public int getProviderMajorVersion()
                            throws javax.jms.JMSException
Specified by:
getProviderMajorVersion in interface javax.jms.ConnectionMetaData
Throws:
javax.jms.JMSException

getProviderMinorVersion

public int getProviderMinorVersion()
                            throws javax.jms.JMSException
Specified by:
getProviderMinorVersion in interface javax.jms.ConnectionMetaData
Throws:
javax.jms.JMSException

getJMSXPropertyNames

public java.util.Enumeration getJMSXPropertyNames()
                                           throws javax.jms.JMSException
Specified by:
getJMSXPropertyNames in interface javax.jms.ConnectionMetaData
Throws:
javax.jms.JMSException

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.