Capital Markets Adapters 10.3 | Apama Capital Markets Adapters Documentation 10.3 | Apama Base FIX Adapter | IAF FIX adapter | Server transports
 
Server transports
For a transport to act as a FIX server the ConnectionType must be set to acceptor. It is then necessary to create a TargetCompID for each client that wishes to connect to the server. For example, the following transport is set up for two clients, CLIENT1 and CLIENT2 and is listening for connections on port 10602:
<transport name="ABC_MARKET_DATA" library="FIXTransport">
  <property name="QuickFIX.ConnectionType" value="acceptor" />
  <property name="QuickFIX.SocketConnectPort" value="10602"/>
  <property name="QuickFIX.SenderCompId" value="SERVER" />
  ...
  <!--clients -->
  <property name="QuickFIX.TargetCompId" value="CLIENT1" />
  <property name="QuickFIX.TargetCompId" value="CLIENT2" />
</transport>
When acting as a server, the transport creates a server capable of maintaining several external client sessions.