Apama Documentation : 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 command. 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 whether to send an event with route or with enqueue.
In applications with multiple contexts, use the following action to specify the main context before spawning.
setPrespawnContext( context c )
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback