|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.osesb.utilities.jms.DisplayJMSProviderInformation
public class DisplayJMSProviderInformation
This is not an operational framework Class. The purpose of this Class is to connect to a JMS provider and display the ConnectionMetaData.
It uses a JMSClientConfiguration for connection properties, makes a QueueConnection, and displays ConnectionMetaData. Use this Class to determine the JMS version (1.0 or 1.1) that the provider supports. The JMS version is an inportant consideration when using temporary replyTo Destinations. JMS 1.0 requires that the Session creating a TemporaryQueue or TemporaryTopic be a QueueSession or TopicSession, respectively. The JMS 1.0 API also requires that a QueueReceiver or TopicReceiver be created by a QueueSession or TopicSession, respectively. The JMS 1.0 API restrictions make it difficult to set up a completely flexible replyTo scheme that allows QueueSenders to have replyTo Topics or TopicSenders that have replyTo Queues. JMS 1.1 does not have these restrictions. The class is JMS 1.0 compliant.
| Field Summary | |
|---|---|
protected JMSClientConfiguration |
jmsClientConfiguration
The JMS configuration properties as read from the XML configuration file. |
protected javax.jms.QueueConnection |
queueConnection
The QueueConnection. |
protected java.lang.String |
thisClassName
The full name of this class. |
| Constructor Summary | |
|---|---|
DisplayJMSProviderInformation(JMSClientConfiguration jmsClientConfiguration)
Creates a new instance of JMSProviderInformation. |
|
| Method Summary | |
|---|---|
java.lang.String |
getConnectionMetaData()
Initialize JMS QueueConnection according to JMSClientConfiguration passed to constructor. |
static void |
main(java.lang.String[] args)
main() For testing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String thisClassName
protected JMSClientConfiguration jmsClientConfiguration
protected javax.jms.QueueConnection queueConnection
| Constructor Detail |
|---|
public DisplayJMSProviderInformation(JMSClientConfiguration jmsClientConfiguration)
throws java.lang.Exception
jmsClientConfiguration - The JMSClientConfiguration.
java.lang.Exception - if constructed with a null JMSClientConfiguration.| Method Detail |
|---|
public java.lang.String getConnectionMetaData()
public static void main(java.lang.String[] args)
args - commandline arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||