IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

Java service that listens to a Broker message

  • 1.  Java service that listens to a Broker message

    Posted 10/04/06 07:46 AM

    Hi, I need to write a java service that listens to the Broker message pub.publish.notification:error and write the contents to a log file. Can anybody please help me on how to write such a Java service which listens to a Broker message ?:confused:


    #Universal-Messaging-Broker
    #Integration-Server-and-ESB
    #broker
    #webMethods


  • 2.  RE: Java service that listens to a Broker message

    Posted 10/04/06 05:44 PM

    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