Developing Apama Applications > Developing Apama Applications in EPL > Defining Monitors > Communication among monitor instances
Communication among monitor instances
In EPL applications, everything in a monitor instance is private. There is no direct way for a monitor instance to invoke an action or access the state of another monitor instance. Instead, messages, in the form of events, are the mechanism for communication among monitor instances. All events are visible to all interested monitor instances.
Consequently, how you divide your application operations into monitors and what events the monitor instances use to communicate are crucial design decisions. An understanding of the order in which the correlator processes events for monitors helps you determine where and when to allocate events.
The following topics provide information for making these decisions:
*Organizing behavior into monitors
*Event processing order for monitors
*Allocating events in monitors
*Sending events to other monitors
*Defining your application’s message exchange protocol
*Using events to control processing
To use the MemoryStore correlator plug-in to share state between monitors, see Using the MemoryStore. If you are mixing monitors and queries in your application, see Communication between monitors and queries.
Copyright © 2013-2015 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.