createConnection

 

public Object createConnection(MQManagedConnectionFactory mcf, 
                               ConnectionRequestInfo cxRequestInfo) 
              throws ResourceException;

Makes a connection to a queue manager. It is called by the connection factory instance of the resource adapter.

Normal applications should not call this method.

Parameters

  • mcf - the connection factory.

  • cxRequestInfo - represents information specific to the resource adapter for handling the connection request.

Returns

  • a connection.

Exceptions

  • ResourceException - if the call fails.


uj15550_