Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 2.2 KB

File metadata and controls

59 lines (40 loc) · 2.2 KB

Table of Contents generated with DocToc

Compile BAR inline

[15 minutes 04JAN2021-IIBFileNodeBARMQReplyTryCatchFlowOrder]

To include message flows as compiled message flow (.cmf) files, and to include ESQL code directly in the .cmf file of each message flow that references an ESQL file, select Compile and in-line resources. By default, when you add a message flow to a BAR file, it is added as a .msgflow file. By default, each ESQL file that is referenced by one or more of your message flows is deployed as an individual resource, and can be accessed by multiple .msgflow files. If any of the flows that you add to your BAR file contain a subflow that is defined in a .msgflow file, you must select Compile and in-line resources.

BAR override

Notes from Udemy Section 12.

Under Independent resources -> GeneratedBarFiles you can copy the bar file to a folder or run mqsireadbar (04JAN2021-IIBFileNodeBARMQReplyTryCatchFlowOrder 20 minutes).

After extracting the file you can copy lines from the META-INF/broker.xml and create different property files for different environments.

The line from the broker.xml below:

Can be copied to a new file called DEV.properties]

ExternalVariable#EXTVAR = diffvalue

Then you can run mqsiapplybaroverride -b /MAP_PRO.generated.bar -p DEV.properties -k MAP_PRO

Then go to /MAP_PRO.generated.bar, copy it, go to the Toolkit, right click on the MAP_PRO application then, paste it. This results in a new BAR folder under the application that contains the new generated BAR file. Click on the new BAR and you will see the new properties in the RHS.

You can then run this command to deploy the BAR with the new properties.

$> mqsideploy BROKERNAME -e EG_NAME -a <path to desktop>/MAP_PRO.generated.bar

← Back to Main page