Configuring the storage of events for Collector nodes
You can use a Collector policy to control the storage of events for Collector nodes.
About this task
Information about the state of in-flight messages is held on storage queues that are controlled by IBM® MQ. The storage queues that hold the state information are owned by the queue manager that is associated with the integration server.
If you are using message collections on an integration server that is managed by an integration node, you must install IBM MQ on the same computer as your integration node in order to use the capabilities that are provided by the Collector node. If you are using message collections on an independent integration server, you can use a remote default queue manager to control the system queues, without the need to install IBM MQ on the same machine as the integration server. Interactions between an independent integration server and IBM MQ can use a client connection to a remote queue manager, by using a default policy setting. For more information about using a remote default queue manager, see Using a remote default queue manager and Configuring an integration server to use a remote default queue manager.
If the integration server has the necessary permissions to create the default system queues, they are created automatically when a flow that contains Collector nodes is deployed. If the default queues are not created automatically, you can create them manually by running the iib_createqueues command, as described in Creating the default system queues on an IBM MQ queue manager.
- SYSTEM.BROKER.EDA.EVENTS
- SYSTEM.BROKER.EDA.COLLECTIONS
These queues are also used by the Resequence node.
However, you can control the queues that are used by different Collector nodes by creating alternative queues that contain a QueuePrefix variable, and by using a Collector policy to specify the names of those queues for storing events.
Follow these steps to specify the queues that are used to store event states, and to set the expiry for the collection: