Debug: redeploying a flow

Before you start

To complete this task, you must have completed the following tasks:

During your debug session, you might find a problem in a message flow, or see a behavior that you want to change. You can change 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 flow engine by clicking the Detach from the Selected Flow Engines icon 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 bar file (Broker Archive) that contains your flow, to edit it. Remove the flow, then add it again, and save your changes. See Adding files to a broker archive for more details.
  7. Deploy your bar file by dragging it from the Broker Administration Navigator view and dropping it onto the execution group in the Domains view. Check the event log for messages to make sure that the deploy was successful.
  8. Switch to the Debug perspective.
  9. 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 to the flow engine.
The modified message flow has been deployed to the broker, and the debug session is ready for you to debug the new flow logic:
Related concepts
Flow debugger overview
Debug perspective
Related tasks
Adding files to a broker archive
Attaching to the flow engine for debugging
Debug: detaching from the flow engine
Related reference
Flow debugger shortcuts
Flow debugger icons and symbols