Page tree

Versions Compared

Key

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

Table of Contents

Description

The CCAdminConsole tool allows to manage sessions and can be started from the command line as well as from cron.

The tool is written on Java, so requires Java to be installed on your machine. Can be run both on Windows and Linux.

How to run

  • Unzip the archive to any directory on your machine;
  • Start run.sh file for Linux or run.bat for Windows.
Note
CCAdminConsole requires FIXICC’s license. Please, place your license file for FIXICC (fixaj2-license.bin) into user’s home directory, application working directory or classpath.

It uses the same authentication as FIXICC with UI.

For every command the following list of authentication parameters should be provided:

  • -admin_sender <SenderCompId for admin session>. Optional, default is AdminClient;
  • -admin_target <TargetCompId for admin session>. Optional, default is FIXADMIN;
  • -user <user>. Optional, default is user;
  • -password <password>. Optional, default is pass;
  • -host <Host_Name> - the FIXEdge host name. Optional, default is localhost;
  • -port <Port_Number> - port. Optional, default is 8903.

Examples

WIth all authentication parameters (run.bat for Windows):

Code Block
languagebash
./run.sh -host 192.168.0.100 -port 19234  -user user -start_session -sender TEST001 -target TEST002
./run.sh -host 192.168.0.100 -port 19234  -user user -stop_session -sender TEST001 -target TEST002

Or for local usage and with default settings (run.bat for Windows):

Code Block
languagebash
./run.sh -stop_session -sender TEST001 -target TEST002
./run.sh -start_session -sender TEST001 -target TEST002

Full list of commands

Enumerate all options and command line keys

Code Block
languagebash
CCAdminConsole
Code Block
languagebash
CCAdminConsole -help
Code Block
languagebash
CCAdminConsole -?

All these three commands do the same: print all options and command line keys.

Print list of FIX sessions

Code Block
languagebash
CCAdminConsole -host Host_Name -port Port_Number -online_sessions_list

Parameters:

  • -host <Host_Name> - the FIXEdge host name. Default: localhost;
  • -port <Port_Number> - port. Default: 8903.

Start a session

Code Block
languagebash
CCAdminConsole -host Host_Name -port Port_Number -start_session -sender Sender_Name -target Target_Name

Parameters:

  • -host <Host_Name> - host name. Default: localhost;
  • -port <Port_Number> - port. Default: 8903;
  • -sender <Sender_Name> - the sender ID. Required;
  • -target <Target_Name> - the target ID. Required.

Stop a session

Code Block
languagebash
CCAdminConsole -host Host_Name -port Port_Number -stop_session -sender Sender_Name -target Target_Name

Parameters:

  • -host <Host_Name> - host name. Default: localhost;
  • -port <Port_Number> - port. Default: 8903;
  • -sender <Sender_Name> - the sender ID. Required;
  • -target <Target_Name> - the target ID. Required.

Manage sequence numbers

Code Block
languagebash
CCAdminConsole -host Host_Name -port Port_Number -change_session -sender Sender_Name -target Target_Name -inseqnum 1 -outseqnum 1

Parameters:

  • -host <Host_Name> - host name. Default: localhost;
  • -port <Port_Number> - port. Default: 8903;
  • -sender <Sender_Name> - the sender ID. Required;
  • -target <Target_Name> - the target ID. Required;
  • -inseqnum <Seq_Number>. Optional. Default is empty;
  • -outseqnum <Seq_Number>. Optional. Default is empty.

Reload BL rules

Code Block
languagebash
CCAdminConsole  -host Host_Name -port Port_Number -reload_bl
Code Block
languagebash
CCAdminConsole  -host Host_Name -port Port_Number -reload_bl -reload_history

Parameters:

  • -host <Host_Name> - host name. Default: localhost;
  • -port <Port_Number> - port. Default: 8903;
  • -reload_history - reloading history.