If an application is not using administered objects, use this class to create connection factories, queues and topics.
.NET property | Description |
---|---|
MetaData | Get the metadata that is appropriate to the connection type of the XMSFactoryFactory object. |
Method | Description |
---|---|
CreateConnectionFactory | Create a ConnectionFactory object of the declared type. |
CreateQueue | Create a Destination object to represent a queue in the messaging server. |
CreateTopic | Create a Destination object to represent a topic. |
GetInstance | Create an instance of XMSFactoryFactory. An XMS application uses an XMSFactoryFactory object to get a reference to a ConnectionFactory object that is appropriate to the required type of protocol. This ConnectionFactory object can then only produce connections for that protocol type. |
IDestination CreateQueue(String name);
Create a Destination object to represent a queue in the messaging server.
This method does not create the queue in the messaging server. You must create the queue before an application can call this method.
IDestination CreateTopic(String name);
Create a Destination object to represent a topic.
static XMSFactoryFactory GetInstance(int connectionType);
Create an instance of XMSFactoryFactory. An XMS application uses an XMSFactoryFactory object to get a reference to a ConnectionFactory object that is appropriate to the required type of protocol. This ConnectionFactory object can then only produce connections for that protocol type.