WebSphere MQ Adapter 6.5 | webMethods WebSphere MQ Adapter Documentation | webMethods WebSphere MQ Adapter Installation and User’s Guide Documentation | About the WebSphere MQ Adapter | Associating Connections and Adapter Services | Programmatically Supply a Value for overrideConnection at Run Time
 
Programmatically Supply a Value for overrideConnection at Run Time
At run time you can programmatically supply connection parameters in the overrideConnection property. Integration Server will use the connection parameters identified in overrideConnection rather than the adapter service's default connection.
*This method temporarily overrides the adapter service's default connection.
*Use this method when you do not know the identity of the target queue until run time.
*If you use this method, the adapter will ignore connection management processing. This could result, for example, in Integration Server exceeding the maximum number of connections defined for this connection's pool (that is, the value defined with the Maximum Pool Size parameter).
For more information about the overrideConnection property, and instructions on using it, see Overriding Connections in a Flow Service at Run Time.