My Oracle Support Banner

Using a Single Customization File to Change " MQ Connection List " and " MQ Connection Host " Properties (Doc ID 1910092.1)

Last updated on APRIL 02, 2021

Applies to:

Oracle Service Bus - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Goal

You have an OSB project which connect to MQ using MQ Transport,
To specify the MQ hostname you set the "MQ Host Name" under MQ Connection Configuration
You have also created a customization file to change the MQ Host Name dynamically.  In the customization file you can see the following setting:

< xt:envValueTypes >MQ Connection Host< /xt:envValueTypes >

the customization file works fine in a lower environment where there is only one MQ Server, the problem is in higher environments where there are 2 MQ Servers.  You cannot specify 2 hostnames on  < xt:envValueTypes >MQ Connection Host< / xt:envValueTypes > instead you need to use:

< xt:envValueType >MQ Connection List < /xt:envValueType >

You changed your customization file to use "MQ Connection List" The problem is that in order for "MQ Connection List" to work you need to modify the OSB project to use the feature "Multi-instance Queue Manager Enabled"

But if you enabled that then the customization file with < xt:envValueTypes >MQ Connection Host< / xt:envValueTypes > doesn't work anymore.

is there a way to use a single customization file to change " MQ Connection List " and " MQ Connection Host " properties?
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.