Part B - Server Debugging

  1. Go to the Servers tab, and right-click on the JBoss Fuse Server.
  2. Click on Add and Remove, select Lab1, click Add and Finish.
  3. Open a web browser, and go to http://localhost:8181
  4. Log in as admin/admin
  5. Click on the Camel tab.
  6. Click on the route under Camel Contexts / context / Routes
  7. Click on Debug.
  8. Click on the Start debugging button.

  1. Double-click on the Log component of the route to set a breakpoint.

  1. Open File1.xml in ~/FuseWorkshop/support/Lab1.
  2. Copy its contents.
  3. Go back to the Fuse Management Console.
  4. Click on the file://InputDir under Endpoints.
  5. Click on Send.
  6. Select XML as the Payload Format.
  7. Paste the contents of File1.xml into the text box.
  8. Click on the Send Message button.

  1. Click on the route again (under Camel Contexts / context / Routes).
  2. Click on Debug.
  3. There should be a blue ball inside the Log component.
  4. Click on the message ID.

  1. Expand the Headers section and review the message content.
  2. Click on the Step into button.

  1. Click on the Resume button to let the route continue.

  1. Click on the Close button to stop the debugger.
  2. Click on Profile.
  3. Notice the execution statistics available even at component level.

results matching ""

    No results matching ""