Parameters |
Description |
MComponentRegistry* pComponentRegistry |
Component registry that holds this subscriber. |
const MString& sObjectName |
Name of this subscriber instance. Must be unique. |
const MEndpointSpec& endpointSpec |
The endpointSpec specification for this MSubscriber. See MEndpointSpec. The timeout value for this subscriber is specified in the endpoint specification. If the subscriber is activated and does not get an event within the specified timeout period, it returns and dispatches a timeout event. If the subscriber receives one (or more) events after activation but no additional events for amounts of time exceeding the timeout, there is no timeout event. Timeout is specified in milliseconds. Default is 0, that is, never time out. If no destination is specified by the endpointSpec an inbox or temporary topic or temporary queue subscriber will be created. |
Mboolean bAutoConfirm = Mtrue |
Specify whether event is confirmed automatically or explicitly |
Mboolean bMustActivate = Mtrue |
If set to true, the default, this subscriber is active when it is created. Otherwise, it is inactive and applications have to call the activate() method explicitly. |