Creating a NERV Emit Complex Example
Use this wizard to create a complex example of a custom NERV emit configuration bundle.
To create a NERV emit complex example
1. In Designer, click File > New > Example.
2. Expand the NERV node, select the NERV Emit Complex Example wizard, and click Next.
3. Select the emit.NERVEmitComplexExample project and click Next.
4. On the Emit Configuration dialog, browse to the Event Type Store, select an event type to be used for the emit configuration, and click Finish.
The example has been created and added to your workspace. You can see it in the Project Explorer view in the Events Development perspective.
Browse to the /OSGI-INF/blueprint/emit.xml file and open it in Designer. You see that when deployed, this emit configuration bundle:
Sends events to the JMS topic;
Saves copies of the events on the file system in the
<root_drive>/MyLogsDirectory directory;
Sends copies to the specified e-mail address.
You can customize the blueprint.xml and the emit.xml files to change the NERV emit configuration settings, and then deploy the new emit configuration bundle that will override the default NERV emit configuration definition. For more information about creating NERV emit configuration bundles, see the PDF publication Implementing Event-Driven Architecture with Software AG Products.