Adapter for MongoDB 9.12 | webMethods Adapter for MongoDB Documentation | webMethods Adapter for MongoDB Installation and User’s Guide Documentation | Overview of the Adapter | Adapter Listeners and Listener Notifications | Listeners
 
Listeners
The listener in the Adapter for MongoDB represents a change stream. When a MongoDB Adapter listener is created, a database or a collection change stream is also created.
When you enable the listener, it waits for a message from the change stream. When a message appears in the change stream, the listener then passes the message to a listener notification.
You must never invoke a listener directly from a service or client. Instead, use the Integration Server Administrator to configure, enable, and disable the services.
All listeners function in the following manner:
*All listeners stop functioning when the package containing the listener node is disabled or when Integration Server shuts down.
*All listeners start functioning when the package containing the listener node is enabled or when Integration Server restarts.