allocateConnection

 

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

Makes a connection to a queue manager, either by reusing an existing connection or by creating a new one. 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.


uj15540_