See information about the latest product version
Compiling resources for the mqsipackagebar command
Compile Java™ code and message sets so that you can add them to a broker archive (BAR) file by using the mqsipackagebar command.
You can use the mqsipackagebar command to create BAR files on machines that do not have WebSphere® Message Broker installed. This command adds only deployable resources to the BAR file, so if you want to add message sets or Java code you must first compile them to create deployable resources. For more information about the mqsipackagebar command, see mqsipackagebar command.
You can compile resources by using the mqsicreatebar command, or by using the WebSphere Message Broker Toolkit. If you use the WebSphere Message Broker Toolkit, you can either compile resources in the current workspace or you can compile resources in selected projects.
- Ensure that your message sets and Java code are compiled before you add them to the version control system by using the WebSphere Message Broker Toolkit.
- Use the mqsicreatebar command to compile message sets and Java code that are stored in the version control system. You could use this command as part of an automated process.
To compile your message sets and Java code, complete one of the following steps:
Run the mqsipackagebar command to create your BAR file, see Creating a broker archive (BAR) file.