Deploying and Managing Apama Applications > Managing and Monitoring over REST > Correlator Management
Correlator Management
The Apama REST API provides URIs to use with the GET method in order to return information about running Apama correlators. This information includes data such as the number of listeners, monitors, and contexts in the correlator, the number and types of events, and the number of JMon applications. For details about the type of information returned by these methods, see Watching correlator runtime status and Inspecting correlator state.
GET /correlator/status
This is analogous to the information reported by the Apama engine_watch utility.
Response
<?xml version="1.0"?>
<map name="apama-response">
<prop name="numConsumers">1</prop>
<prop name="numOutEventsQueued">0</prop>
<prop name="numOutEventsUnAcked">0</prop>
<prop name="numOutEventsSent">62</prop>
<prop name="uptime">1061116</prop>
<prop name="numMonitors">15</prop>
<prop name="numProcesses">16</prop>
<prop name="numJavaApplications">0</prop>
<prop name="numListeners">63</prop>
<prop name="numEventTypes">110</prop>
<prop name="numQueuedFastTrack">0</prop>
<prop name="numQueuedInput">0</prop>
<prop name="numReceived">3</prop>
<prop name="numFastTracked">101</prop>
<prop name="numEmits">227</prop>
<prop name="numProcessed">260</prop>
<prop name="numSubListeners">63</prop>
<prop name="numContexts">1</prop>
<prop name="virtualMemorySize">235624</prop>
<prop name="numSnapshots">0</prop>
<prop name="numInputQueuedInput">0</prop>
<prop name="mostBackedUpInputContext"><none></prop>
<prop name="mostBackedUpICQueueSize">0</prop>
<prop name="mostBackedUpICLatency">0.0</prop>
</map>
GET /correlator/info
This is analogous to the information reported by the Apama engine_inspect utility.
Response
<?xml version="1.0"?>
<map name="apama-response">
<list name="eventTypes">
<map name="eventType">
<prop name="nameSpace">com.apama.samples.vwap</prop>
<prop name="name">Match</prop>
<prop name="eventTemplates">0</prop>
</map>
<map name="eventType">
<prop name="nameSpace">com.apama.samples.vwap</prop>
<prop name="name">Trade</prop>
<prop name="eventTemplates">1</prop>
</map>
<map name="eventType">
<prop name="nameSpace">com.apama.samples.vwap</prop>
<prop name="name">VwapWatch</prop>
<prop name="eventTemplates">2</prop>
</map>
</list>
<list name="timers">
<map name="timer">
<prop name="nameSpace"></prop>
<prop name="name">wait</prop>
<prop name="timers">1</prop>
</map>
</list>
<list name="containerTypes"/>
<list name="monitors">
<map name="monitor">
<prop name="nameSpace">com.apama.samples.vwap</prop>
<prop name="name">Vwap</prop>
<prop name="subMonitors">2</prop>
</map>
</list>
<list name="javaApplications"/>
<list name="aggregates"/>
<list name="contexts">
<map name="context">
<prop name="name">main</prop>
<prop name="subMonitors">2</prop>
<prop name="queueSize">0</prop>
</map>
</list>
</map>
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.