Using multiple correlators
The DataView Service is designed to primarily interact with other EPL or Apama Java applications that reside in the same correlator. Therefore, the DataView Service implementation does not emit any events. You can inject the following optional additional monitors in order to emit the events when that is required:
DataViewService_ServiceEmitter.mon DataViewService_ApplicationEmitter.mon This enables Dashboard Builder clients to visualize the state of a number of applications, each of which is running in a separate correlator, and each of which may fail-over to another correlator. Since configuring all of the dashboards to know about each of these correlators might be difficult and fragile, you can designate an additional single correlator as the view correlator, which holds the DataViewService and ScenarioService to which any client dashboard can connect.
With this architecture, the individual applications in the separate correlators need to emit DataView Service request events to a channel that has been connected to the view correlator. These applications can either emit the events directly, or with the ApplicationEmitter injected they can route the events and the extra monitor will emit them to the channel. The DataViewService in the view correlator routes its responses (as normal), but the ServiceEmitter monitor will then emit those events out on the com.apama.dataview channel so that the originating correlators can receive them.
Note that these two emitters are entirely optional, and are not required for most deployments. Moreover, you normally do not inject these two monitors into the same correlator. Also, there is no bundle in Apama Studio that provides these monitors.
Copyright © 2013
Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.