Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »


Overview


FIX Edge Java is an application server providing FIX connectivity to multiple clients. Client applications communicate with FEJ through one of the multiple transport protocols (e.g. Simple Sockets, TIBCO, JMS, HTTPs) employing transport adaptors. It is designed to be as easy as possible to install, configure, administrate, and monitor trading information flows. It is written in Java and has a performance profile suitable for the needs of all clients up to and including large sell-side institutions and large-volume traders.

Installation

Get the License File

The FIXEdge Java license file can be obtained upon request to the Sales team. The license has an expiration date but it is possible to generate a perpetual license. License information is stored in the fixaj2-license.bin file for FIXEdge Java versions earlier than 1.10.3. Since FIXEdge Java 1.10.3 the license information is stored in the fixedgej-license.bin file. The license file is expected to be placed in the FIXEdge Java config.rootpath=./conf directory. In order to apply for a new license, it is enough to replace the current file with a newer one and restart FIXEdge Java.

Please, refer to the How to update license files article for additional information.

See in detail the step-by-step guides:

Testing

Set up the Echo Configuration to make sure that all components were deployed correctly. The test consists of sending a FIX message from FIX Client Simulator (aka Simple Client) to FIXEdge Java server and returning the same message back to Simple Client. The tool is based on .NET technologies and can be used to Simulate FIX buy and/or sell-side endpoints.

To perform the test download the FIX Client Simulator and follow the instructions from the How to configure Echo between FIXEdge Java and Simple Client article.

System Requirements

To get started, make sure your system has Java 17 or higher.

Important

Functionality was tested with Java 17.

$ java -version
openjdk version "17.0.13" 2024-10-15
OpenJDK Runtime Environment (build 17.0.13+11-Ubuntu-2ubuntu124.04)
OpenJDK 64-Bit Server VM (build 17.0.13+11-Ubuntu-2ubuntu124.04, mixed mode, sharing)

Configuration

This section will acquaint you with the basic information used during the configuration of the application.

All of the information in the configuration files is read at startup, meaning that any change to the files necessitates a restart of the application.

The 'conf' folder holds the configuration files for FEJ.

TypeNameDescription
fixedgej-1.11.0-SNAPSHOT

Executable FileFIXEdgeJ
Batch File (.bat)FIXEdgeJ.bat
fixedgej-1.11.0-SNAPSHOT\conf
FolderdslSamplesDirectory with examples of implementing rules using the dsl structure. See https://b2bits.atlassian.net/wiki/spaces/B2BITS/pages/6109247/Groovy+DSL+Rules
FolderrejectDirectory with templates for FIX reject messages.
FoldersessionDirectory with session configuration. See FIX Session configuration.
FolderspringDirectory for adding spring beans via xml if necessary.
FoldersslDirectory contains SSL/TLS-related cryptographic files used for secure communication
File (.properties)admin-users.propertiesSpring security file format. Pass depends on configured spring PasswordEncoder (hash or plain text)
Format: username=password,grantedAuthority[,grantedAuthority][,enabled|disabled]
File (.properties)aeron.properties_sampleAn example of an aeron configuration. All available parameters can be found in the official Aeron documentation: https://github.com/real-logic/Aeron/wiki/Configuration-Options .To overwrite the defaults/customization, you need to remove the _sample extension part from the specified file
File (.xml)cluster.xmlHazelcast cluster configuration. See Cluster Service.
File (.properties)fej-ha.propertiesSpring configuration file when specifying a profile'fej-ha' in the startup script. Allows to configure patterns for session files, the path to the configuration directory, etc. 
File (.properties)fej-standalone.propertiesSpring configuration file when specifying a profile'fej-standalone' in the startup script. Allows to configure patterns for session files, the path to the configuration directory, etc. 
File (.properties)fixedge.propertiesFEJ configuration properties.
File (.properties)fixengine.propertiesFIXAJ configuration properties. See FIX Antenna Java configuration.
File (.properties)fixicc-permissions.properties
File (.properties)history.propertiesThe DataSource configuration file for history. The description of the available parameters is described in the corresponding sections on the page: https://b2bits.atlassian.net/wiki/spaces/B2BITS/pages/23822365/History+implementation+in+DSL
File (.properties)jms-adaptor.propertiesJMS adaptor configuration properties. See JMS Transport Adapter. https://b2bits.atlassian.net/wiki/spaces/B2BITS/pages/6076710/Configuring+JMS+endpoints
File (.properties)kafka-adaptor.propertiesKafka adaptor configuration properties. See https://b2bits.atlassian.net/wiki/spaces/B2BITS/pages/6076714/Configuring+Kafka+endpoints
File (.xml)log4j2.xmlLogging configuration. See Logging configuration.
File (.vm)mail_message_template.vmFile to the Velocity template file for the default email converter interface. See more at Template converter properties. https://b2bits.atlassian.net/wiki/spaces/B2BITS/pages/6076722/Configuring+SMTP+endpoints#ConfiguringSMTPendpoints-Usingtemplatesforemails 
File (.properties)msg-converter.propertiesConfiguration properties that allows enabling/disabling FIX-to-JSON and JSON-to-FIX message conversion for WebSocket TA. See https://b2bits.atlassian.net/wiki/spaces/B2BITS/pages/6109343/Configuring+WebSocket+endpoints
File (.properties)replication.propertiesReplication service configuration. See Replication Service.
File (.groovy)rules.groovyCustom routing rules go here. See Routing Rules.
File (.sample)rules.groovy.sampleAn example of routing rules implemented in groovy. 
File (.xml)schedules.xmlCustom scheduler tasks go here.
File (.properties)shell.propertiesRemote shell configuration. See Administrative shell configuration.
File (.properties)smtp-adaptor.propertiesSMTP adaptor configuration propresties. See https://b2bits.atlassian.net/wiki/spaces/B2BITS/pages/6076722/Configuring+SMTP+endpoints 
File (.properties)websocket-adaptor.propertiesWebsocket adaptor configuration properties. See https://b2bits.atlassian.net/wiki/spaces/B2BITS/pages/6109343/Configuring+WebSocket+endpoints
fixedgej-1.11.0-SNAPSHOT/sysconf
FolderdslDirectory with the implementation of the DSL 
File (.xml)fej-camel-context.xmlCamel context spring configuration. See https://b2bits.atlassian.net/wiki/spaces/B2BITS/pages/6076719/Configuring+Camel+endpoints
File (.xml)fej-context.xmlMain Spring application context.
File (.xml)fej-events.xmlEvents functionality related bean.
File (.xml)fej-fixicch2-client.xmlFIXICC H2 client related beans.
File (.xml)fej-heartbeats.xmlHeartbeats (received from FIXICC H2 and sent by FIXEdge REST API) related beans.
File (.xml)fej-jms.xmlJMS adaptor related beans. See JMS Transport Adapter.
File (.xml)fej-kafka.xmlKafka adaptor related beans.
File (.xml)fej-lbc.xmlLBC related beans.
File (.xml)fej-metrics.xmlPrometheus metrics related beans.
File (.xml)fej-monitoring.xmlJMX and SSH related beans.
File (.xml)fej-msg-converter.xml
File (.xml)fej-replication.xmlReplication-related beans.
File (.xml)fej-rest-api.xmlREST API related beans.
File (.xml)fej-routing.xmlRouting related beans.
File (.xml)fej-scheduling.xmlScheduler related beans.
File (.xml)fej-security.xmlSpring Security configuration. See Security configuration.
File (.xml)fej-server.xmlFIX server configuration.
File (.xml)fej-service-discovery.xmlService Discovery (Consul) related beans.
File (.xml)fej-smtp.xmlSMTP adaptor related  beans.
File (.xml)fej-websocket.xmlWebsocket adaptor related beans.

Management

FIXEdge Java can be managed with Remote Shell and with the scripts to start/stop FIXEdge as a service/daemon. Also, there are additional options for FIXEdge for Windows.

More information about Remote Shell is presented in FIXEdge Java Administration.

Starting FIXEdge Java

Steps for Windows

  1. Run FIXEdge Java as a service in Windows Services
    • Go to Administrative tools --> Services. Find FIXEdgeJava service and select 'Start' option in the context menu.
  2. Run FIXEdge Java as a console application
    • Go to the B2BITS\fixedgej-x.x.x\bat\ and run the 'runConsole.bat' script.

Steps for Linux

  1. Run FIXEdge Java as a daemon with the script
    • Go to /home/user/B2BITS/fixedgej-x.x.x/bin and run the 'startDaemon.sh' script with sudo user rights.
  2. Run FIXEdge Java as a console application
    • Go to the /home/user/B2BITS/fixedgej-x.x.x/bin and run the 'runConsole.sh' script with sudo rights.

Stopping FIXEdge Java

Steps for Windows

  1. Stop FIXEdge Java service with the script
    • Go to the B2BITS\fixedgej-x.x.x\bat\ and run the 'stopService.bat' script as Administrator.
  2. Stop FIXEdge Java service with Windows Services
    • Go to Administrative tools --> Services. Find FIXEdgeJava service and select 'Stop' option in the context menu.
  3. The console version of FIXEdge Java can be stopped by pressing “Ctrl+C” keys combination.


Steps for Linux

  1. Stop FIXEdge Java daemon with the script
    • Go to /home/user/B2BITS/fixedgej-x.x.x/bin and run the 'stopDaemon.sh' script with sudo user rights.
  2. The console version of FIXEdge Java can be stopped by pressing “Ctrl+C” keys combination.

Session Management

Sessions can be configured, started, or stopped in the Remote Shell, see FIX Session management.

Analyzing Log Files with FIXEye

All log files with incoming and outgoing FIX messages can be viewed via FIXEyeFIXEye is a multi-purpose FIX session surveillance and visibility platform. 

See more about the FIX log analyzer here: FIXEye User Guide.

Useful Links

Frequently asked questions and "How to" articles can be found here: "How to" instructions


  • No labels