Problem with contexts in Apama

we want to send events from contexts to other monitors. Therefore we tried as the example from the documentation on page 268 (Sending events to monitors in a specific context, continued).
But it does not work. The ‘on all XyzEvent’ in the other monitor does not get triggered.

The problem seems to be, that the private context cannot enqueue events to the main context which is public. When we open the view “Engine Status” we see a large number of events on input queue. But the other monitor which waits on the events does not get them.

Note: The example code in 168 was probably not tested. Because the variable c in the action onload is not visible for the action calculate Position. This example would not run.

Best regards

Looks like this is a duplicate posting of the thread “Wrong context example in the documentation”