The unit of deployment to the broker is the broker archive or BAR file.
The BAR file is a compressed file that can contain a number of different files:
- A .cmf file for each message flow. This file is a compiled version of the message flow. You can have any number of these files within your BAR file.
- A broker.xml file. This file is called the broker deployment descriptor. You can have only one of these files within your BAR file. This file, in XML format, resides in the META-INF folder of the compressed file and can be modified using a text editor or shell script.
- Other files that you need. (As a compressed file archive, the BAR file can contain any file type.)