Since you say “Java service” I assume you’re trying to create something in Integration Server? If so, then just create a trigger and have it invoke your Java service. You should be sure that you really need to use Java to accomplish what you need. Chances are, it doesn’t need to be in Java.
If you need to use just plain ol’ Java from some other environment, there is a Broker Java API.
You may want to review the Logging and Monitoring Guide which is available on Advantage. You may find the environment already has facilities to do what you need.
#Universal-Messaging-Broker#webMethods#broker#Integration-Server-and-ESB