Building Your Event-Driven Architecture : Implementing Event-Driven Architecture with Software AG Products : Configuring NERV : Guaranteed Delivery of Events with Ehcache : Setting up NERV Guaranteed Delivery Level with Ehcache
Setting up NERV Guaranteed Delivery Level with Ehcache
To persist events with Ehcache, you must set a level of guaranteed delivery in the NERV configuration file.
To set up a guaranteed delivery level with Ehcache
1. In Command Central, navigate to Environments > Instances > ALL > <profile_name> > NERV > Configuration tab, click the COMMON-SYSPROPS-com.softwareag.eda.nerv.properties file, and then click Edit.
2. Modify the value of the Guaranteed Delivery Level property.
Set to...
To...
NONE
Not persist any events.
MAXIMUM_STRONG
(Default) Persist events synchronously whenever a cache update occurs.
MAXIMUM_EVENTUAL
Persist events asynchronously whenever a cache update occurs.
3. Save your changes.
4. Restart the JVM instance where NERV is running for the changes to take effect.
When you set up the guaranteed delivery level to MAXIMUM_STRONG or MAXIMUM_EVENTUAL, the value you have defined for the Redelivery Attempts property is disregarded. Instead, NERV attempts to redeliver events infinitely.
Important:  
When you set up the guaranteed delivery level to MAXIMUM_STRONG or MAXIMUM_EVENTUAL and then start NERV, it creates a JMS connection which performs synchronous emits to Universal Messaging. However, in case the JMS connection is created before NERV initializes, you must add an additional JVM property. To do this, in the Software AG_directory /profiles/profile_name/configuration directory, open the wrapper.conf file, add the following JVM property: wrapper.java.additional.<new custom integer>=-Dnirvana.syncSendPersistent=true, then save your changes and restart the Common Platform profile.
Copyright © 2016 - 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback