Interested about the Future of Enterprise Integration with the UltraESB ?
 

Tuesday, 29th May from 09:00 - 10:00 AM PDT, Presented by Asankha Perera, Founder and CTO of AdroitLogic

Register for the Webinar

Skip to end of metadata
Go to start of metadata

This guide describes the steps to be taken to setup the NetBeans IDE to configure, run/test and debug UltraESB mediation solutions. We have used the NetBeans 6.9.1 for this exercise.

To get started with, start the NetBeans IDE and navigate to File->Open Project

Next, navigate to the UltraESB installation directory where a pre-configured project file exists

NetBeans will then scan the project folder and open the project on the IDE. If you see a warning "Reference Problems" - ignore it. Once the project opens, you could switch to the "Files" view from the left navigation panel, and then select the conf/ultra-dynamic.xml for example to edit. Notice that the UltraESB schema will be automatically retrieved, and auto-completion support will be enabled. (e.g. type "<u:" above the <u:inDestination> element)

To debug/run the default configuration, un-comment the inSequence definition in the ultra-dynamic.xml to read as follows:

Next navigate to UltraRuntime/conf/mediation/src/java/sample/SampleMediation1, and place a break-point at the System.out.println() line of the execute() method

You could not debug the default configuration named as "UltraESB". To debug a sample configuration, customize the "UltraESB Sample" profile

If you use the ToolBox to start the sample Jetty Server, and issue a HTTP request using prefix #1, you would endup in the debugging view at the breakpoint

Note that you can evaluate variables and perform other typical debugger tasks while the message is live within the ESB

To debug a sample configuration, customize the "UltraESB Sample" profile as follows, and specify the sample configuration file. The line would read as follows by default:

To run/debug sample 201, you should update the --rootConf parameter accordingly.

JSR 223 scripting language setup

For information on setting up NetBeans for use with Groovy or other JSR 223 scripting languages, refer to the NetBeans documentation.

Congratulations!! You and your IDE is now ready to start the development, running, testing and debugging of your UltraESB integration solution!

Labels
  • None