Debug: redeploying a message flow

If you want to make changes to your message flow while you are debugging it, you must redeploy it to the execution group and then reattach the flow debugger.

Before you start

Stop the message flow before you redeploy it. See: Debug: stopping a message flow instance

During your debugging session, you might find a problem in a message flow that you want to correct or see a behavior that you want to change. You can alter the flow to resolve the situation and redeploy the flow to the broker:

  1. Switch to the Debug perspective.
  2. Detach the debugger from the execution group by clicking Detach from the Selected Flow Engines Detach flow on the toolbar.
  3. Switch to the Broker Application Development perspective.
  4. Edit the flow in the Message Flow editor and save your changes.
  5. Switch to the Broker Administration perspective.
  6. Double-click the broker archive (BAR) file that contains your flow. Remove the flow, then add your edited version and save your changes.

    See Adding files to a broker archive.

  7. Deploy your BAR file.

    Drag your BAR file from the Broker Administration Navigator view to the execution group in the Domains view. Check the event log to make sure that the deployment was successful.

    See: Deploying a broker archive file.

  8. Switch to the Debug perspective.
  9. Reattach the debugger to the execution group.

    Click the down-arrow on the Debug icon Launch Debug on the toolbar, and select Debug to invoke the Debug (Create, manage, and run configurations) wizard, and attach the flow engine again, following the instructions in Attaching the flow debugger to an execution group for debugging.

The modified message flow is now deployed to the broker, and the debugging session is ready for you to debug the new flow logic.

Next:

Related concepts
Flow debugger overview
Debug perspective
Related tasks
Adding files to a broker archive
Attaching the flow debugger to an execution group for debugging
Debug: ending a session
Related reference
Flow debugger shortcuts
Flow debugger icons and symbols
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:21:55

ag11400_