Session configuration
BARX sessions must be configured with the following configuration parameters:
TRADING SESSIONS:
![*](chapterTOC_bullet.png)
OrderManager.GenerateNewStyleOrderIds = true
![*](chapterTOC_bullet.png)
FixChannel = BARX_FIX
MARKET DATA SESSIONS (Legacy Mode):
![*](chapterTOC_bullet.png)
FixChannel = BARX_FIX
![*](chapterTOC_bullet.png)
SubscriptionManager.EnableMassQuoteAcknowledgement = true
![*](chapterTOC_bullet.png)
SERVICEID = BARX-FIX
For example, for most BARX client installations the following session configuration could be used:
// For BARX Trading Session
com.apama.fix.SessionConfiguration("BARX_TRADING", {"FixChannel":"BARX_FIX",
"OrderManager.GenerateNewStyleOrderIds":"true"})
// For BARX MARKET DATA Session
com.apama.fix.SessionConfiguration("BARX_MARKET_DATA", {"FixChannel":"BARX_FIX",
"SubscriptionManager.EnableMassQuoteAcknowledgement":"true","SERVICEID":"BARX-FIX"})