Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Using the Callback Model | Understanding Callbacks
 
Understanding Callbacks
 
Using Callbacks
Implementing a Callback
Passing Arguments to Callback Methods
The callback model for processing event types allows your client application to register one or more callback objects to process event types for a Broker client. Unlike the get-events model, which can only process event types for one Broker client at a time, the callback model can receive any event type for any of your client application's Broker clients and then dispatch it to the appropriate callback object's event handling method. If your client application creates several Broker clients, using the callback model frees your application from making separate calls to one of the webMethods Broker get-event methods for each Broker client.