Apama 10.2 | Apama Capital Markets Foundation 10.2 Documentation | Release Notes | What's New in Capital Markets Foundation 5.1 | New session management interfaces
 
New session management interfaces
A session provides the interface between your CMF application and a source of data, such as an external adapter. In this CMF release, you can use sessions only with market data architecture (MDA) subscribers. It is expected that future CMF releases will extend the use of sessions to other CMF components.
The event interfaces for implementing session management have been streamlined for ease of use. Common tasks, such as connection to an external datasource, can be accomplished in a single line of code.
The interfaces for using sessions are:
*com.apama.session.SessionHandlerFactory
*com.apama.session.SessionHandler
The factory object lets you create a session handler and optionally connect to a session. The session handler lets you manage the session interaction between your application and the external datasource. You use it to connect, disconnect, add parameters, add callbacks to be executed upon successful subscription, and override default error behavior for sessions. Information about how to use sessions in the "Session Management" section of the Capital Markets Foundation guide.
You can use the new utility interfaces, com.apama.utils.Params and com.apama.utils.Error, with the session management interfaces.

Copyright © 2013-2018 | 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.
Innovation Release