Posted: Tue Mar 24, 2015 12:08 am Post subject: BAR file BUILD process for different environment in IIB
Newbie
Joined: 23 Mar 2015 Posts: 6
I am trying to promote a BAR file created in IBM Integration Bus to higher environment. As of now I am overriding the BAR file using ANT script which internally calls mqsibaroverride utility and applies config.properties file to broker.xml and builds the BAR file for the respective environment.
I am just wondering if a deployed BAR file can refer all the properties from a file. I mean to say if we promote a BAR file from one env to other say dev to sit is it possible to just place a configuration property file in a location and let the BAR file refer to it like we do in java.
Through CMP API it is possible to change few properties. But can we actually set all the properties ?
Please suggest.
You can only override those properties that are overridable.
You can't use a properties file external to the BAR file, unless you code your flows to use one. This is a poor idea, and doesn't allow you to change, for example, what queue an MQInput node reads from.
The file you pass to mqsiapplybaroverrides is, in fact, a properties file.
You can also take steps to ensure that your environments use all the same names for things, so that you don't need to apply bar overrides...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum