WebLogic Messaging API Class Library

IConnectionFactory.CreateConnection�Method�()

Create a connection from the WebLogic .NET client host server to the JMS connection host (which may be the same server as the client host). This method is overloaded and comes in two forms:

The established identity is used for all subsequent operations involving this connection, including sending and receiving messages using the producers and consumers.

Important: The connection is created in stopped mode. No messages will be delivered until the IConnection.Start method is explicitly called.

IConnection�CreateConnection();

Return Value

a newly created connection

Exceptions

Exception TypeCondition
MessageExceptionif JMS fails to create the connection due to some internal error.
MessageSecurityException if client authentication fails due to an invalid user name or password.

See Also

IConnectionFactory Interface | WebLogic.Messaging Namespace | IConnectionFactory.CreateConnection Overload List