Apama 10.15.3 | Connecting Apama Applications to External Components | Standard IAF Plug-ins | The Database Connector IAF Adapter (ADBC) | The ADBCHelper application programming interface | Setting context
 
Setting context
By default the ADBCHelper API sends requests to an internal service monitor running in the main context with the EPL route statement. However, if your application uses parallel processing and spawns to multiple contexts, you have to add code that identifies the main context so the ADBCHelper API can determine how to send events.
In applications with multiple contexts, use the following action to specify the main context before spawning.
setPrespawnContext( context c )