Part B - Server Debugging
- Go to the Servers tab, and right-click on the JBoss Fuse Server.
- Click on Add and Remove, select Lab1, click Add and Finish.
- Open a web browser, and go to http://localhost:8181
- Log in as admin/admin
- Click on the Camel tab.
- Click on the route under Camel Contexts / context / Routes
- Click on Debug.
- Click on the Start debugging button.
- Double-click on the Log component of the route to set a breakpoint.
- Open File1.xml in ~/FuseWorkshop/support/Lab1.
- Copy its contents.
- Go back to the Fuse Management Console.
- Click on the file://InputDir under Endpoints.
- Click on Send.
- Select XML as the Payload Format.
- Paste the contents of File1.xml into the text box.
- Click on the Send Message button.
- Click on the route again (under Camel Contexts / context / Routes).
- Click on Debug.
- There should be a blue ball inside the Log component.
- Click on the message ID.
- Expand the Headers section and review the message content.
- Click on the Step into button.
- Click on the Resume button to let the route continue.
- Click on the Close button to stop the debugger.
- Click on Profile.
- Notice the execution statistics available even at component level.