Determines whether the integration broker has subscribed to a particular business object with a particular verb.
public boolean isSubscribed(String busObjName, String verb);
Returns true if the integration broker is interested in receiving the specified business object and verb; otherwise, returns false.
None.
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.
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.
If your business integration system uses a WebSphere message broker (WebSphere MQ Integrator, WebSphere MQ Integrator Broker, or WebSphere Business Integration Message Broker) or WebSphere Application Server, the connector framework assumes that the integration broker is interested in all the connector's supported business objects. If the application-specific component uses the isSubscribed() method to query the connector framework about subscriptions for a particular business object, the method returns true for every business object that the connector supports.