Determines whether the integration broker has subscribed to a particular business object with a particular verb.
Syntax
public boolean isSubscribed(String busObjName, String verb);
Parameters
Return values
Returns true if the integration broker is interested in receiving the specified business object and verb; otherwise, returns false.
Notes
The isSubscribed() method is part of the subscription manager, which tracks all subscribe and unsubscribe messages that arrive from the connector framework and maintains a list of active business object subscriptions. For a Java connector, this subscription manager is part of the connector base class.
WebSphere InterChange Server |
---|
If your business integration system uses InterChange Server, the poll method can determine if any collaboration subscribes to the busObjName business object with the specified verb. At initialization, the connector framework requests its subscription list from the connector controller. At runtime, the poll method can use isSubscribed() to query the connector framework to verify that some collaboration subscribes to a particular business object. The poll method can send the event only if some collaboration is currently subscribed. For more information, see "Business object subscription and publishing". |
See also