Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Xerces-c 2.8 (headers and dynamic libraries) is required for building the sample Handler project.

Note: as for future release of FIXEdge (5.11) xerces-c 3.1 is used then it also will be used in SDK instead of xerces-c 2.8

 

How to build samples

  1. Export a system variable pointing to the XERCES-C: export XERCESCROOT=/home/user/extlibs/xerces-c-src_2_8_0
  2. Create a folder for build: 
    $ mkdir ./build
    $ cd ./build
  3. Run CMake:
    $ cmake -G "Unix Makefiles" ../
    or (Windows)
    > cmake.exe -G "Visual Studio 10 Win64" ../
  4. Build shared libraries:
    $ make
    or (Windows)
    build b2b_fixserver_development_ta.sln (Release, MD)

...

There are already implemented Handlers - see FIXEdge BL Handlers for more info. 


Transport Adaptor is more complicated plugin. It is suited for using in following scenarios where adapting FIX Session to any other kind of session is required:

...

There are already implemented Transport Adaptors - see FIXEdge Transport Adaptors for more info. 


FeatureHandlerTransport Adaptor
Load

reloads each time after BL Rules are reloaded

loads only if reference to Handler exists in some BL rule

once at FE start
ClientIDdoesn't have a ClientID. Can't be referenced by another Handler or TA.Can register several ClientIDs
Incoming messages

Can be addressed from BL Rules using <HandlerAction> tag only

 message is coming to process method

Messages to each of ClientID can be passed from BL <Send> tag, or from another TA or Handler.

Message is coming into sendToClient method

Outgoing messages

Can just pass original or transformed message to the BL

Can send synchronously to any registered ClientID

Can send asynchronously to any registed ClientID

Can be send to BL only via onMessageFromClient method.

onMessageFromClient can't be called from the same thread as sendToClient

History accesshas direct access to any configured on BL Historyfor Bridge Adaptors only (see FIXEdge Transport Adaptors Developer Guide) for more details
Configurationin BL_Config.xmlin FIXEdge.properties

...


More detailed info on developing custom Handler see FIXEdge BL Handlers Developer Guide

More detailed info on  developing custom Transport Adaptor see FIXEdge Transport Adaptors Developer Guide