Setting up cache notification
Edit the .conf.yaml configuration file to enable cache notification so that the cache is notified of events that occur in WebSphere® Service Registry and Repository (WSRR).
About this task
WSRR publishes notification events by using WebSphere Application Server. Cache notification allows the cache to subscribe to these events.
WSRRConnectorProvider
entries in
the ConnectorProviders
section of the node.conf.yaml or
server.conf.yaml configuration file. When you create a new integration node or
a new independent integration server, the .conf.yaml configuration file
contains the following subset of the WSRR parameters. All the other WSRR parameters have default
settings which generally do not need to be changed. If you need to change any of the other WSRR
parameters, you must add them to the .conf.yaml configuration file.
ConnectorProviders:
#WSRRConnectorProvider: # Requires the optional WSRR component install
#endpointAddress: 'https://host:9443/WSRR8_0/services/WSRRCoreSDOPort' # WSRR server endpoint url
#needCache: true # enable WSRR cache
#predefinedCacheQueries: '' # semicolon-separated XPath querys to initialize WSRR cache at start-up
#enableCacheNotification: false # enable WSRR cache notification
#locationJNDIBinding: 'iiop://host:2809' # WSRR cache WAS JMS provider JNDI bindings url
To enable cache notification, complete the following steps to change the relevant properties in the .conf.yaml configuration file, and to add a user ID and password if you are connecting to a secure WebSphere Application Server. Any properties that you set for the integration node, in the node.conf.yaml file, are inherited by the integration servers that it owns. However, you can change any of the integration server properties by modifying them in the appropriate server.conf.yaml file. For more information about configuring integration servers that are managed by an integration node, see Configuring an integration server by modifying the server.conf.yaml file.
Procedure
If you are connecting to a secure WebSphere Application Server, you must use a user ID and password. To set the user ID and password complete one of the following steps: