Updating a user-defined extension

On all systems, you can change a user-defined extension file by completing the following steps.

  1. Stop the broker using the mqsistop command.
  2. Update or overwrite the .lil or .jar file.
  3. Start the broker using the mqsistart command.
In two situations it is not necessary to stop and start the broker:
  • If have created an execution group in the workbench, but have not yet deployed to it, you can add the .lil, .pdb, and .jar files to your chosen directory.
  • If something has already been deployed to the execution group that you want to use, add the .lil, .pdb, and .jar files to your chosen directory and use the mqsireload command to restart the group. You cannot overwrite an existing file on the Windows® system when the broker is running because of the file lock that is put in place by the operating system.

These two approaches should be used with caution, because any execution group that is connected to the same broker also detects the new .lil, .pdb, and .jar files when that execution group is restarted, or when something is first deployed to it. If you restart the broker, you ensure that anyone with an interest in a particular execution group is made aware that recent changes have been made to the broker.

These two situations assume that you have used either the mqsichangebroker command or the mqsicreatebroker command to notify the broker of the directory in which the user-defined extension files have been placed.

Related concepts
User-defined extensions overview
Related tasks
Developing user-defined extensions
Creating the user interface representation of a user-defined node in the workbench
Testing a user-defined node
Packaging a user-defined node workbench project
Related reference
User-defined extensions
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:23:16

as10006_