- See interstellar-exchange and stock-loader for JMS clients tied to this application.
FLOW:
- QuoteLoader is called on Startup. This uses the QuoteProcessor to generate quote objects containing bid/ask prices for a stock symbol and saves them in SQL.
- QuoteLoader sends saved quotes to quotes JMS queue for processing.
- QuoteListener picks up quote messages from JMS quotes queue and calls the Orchestrator for further processing.
- OutboundQuoteOrchestrator splits quote up into bid and ask objects, then saves them to SQL for trade consideration at the interstellar-exchange
- OutboundQuoteOrchestrator then sends bid and ask objects to outbound queues that are picked up by other applications.
- The Stock-Loader and Interstellar Exchange applications pick messages up from the outbound queues to match and persist Trades.