Relative Content

Tag Archive for quickfixj

How to handle Sessions in a multi threaded initiator app?

I am writing a Spring Boot application that has a REST endpoint that takes a currency pair as input and responds with an exchange rate. I am planning to configure QuickFixJ as an initiator and use it to retrieve a quote. However I am unsure how to deal with Sessions. Do I define just one session section in my QuickFixJ config file (example config file below) and then use that single Session for all my REST requests? If so, do I need to use the single Session in a thread safe way?

How to handle Sessions in a multi threaded initiator app?

I am writing a Spring Boot application that has a REST endpoint that takes a currency pair as input and responds with an exchange rate. I am planning to configure QuickFixJ as an initiator and use it to retrieve a quote. However I am unsure how to deal with Sessions. Do I define just one session section in my QuickFixJ config file (example config file below) and then use that single Session for all my REST requests? If so, do I need to use the single Session in a thread safe way?

How to handle Sessions in a multi threaded initiator app?

I am writing a Spring Boot application that has a REST endpoint that takes a currency pair as input and responds with an exchange rate. I am planning to configure QuickFixJ as an initiator and use it to retrieve a quote. However I am unsure how to deal with Sessions. Do I define just one session section in my QuickFixJ config file (example config file below) and then use that single Session for all my REST requests? If so, do I need to use the single Session in a thread safe way?

QuickFIX/J Shutdown the Application

A QuickFIX java application could be started by using the
Acceptor.start() or Initiator.start() methods.
Is there a way to send a shutdown signal to the application that is running, instead of killing it?