How quickfix-j/quickfixj works
Main Components
a. Core Components:
• Message Engine (quickfixj-core)
• Message Definitions (quickfixj-messages)
• Session Management
• Message Store
• Message Factory
• Logging System
b. External Interfaces:
• Socket Acceptor/Initiator
• FIX Protocol Endpoints
• Application Interface
Application Layer
• Custom Applications (implementing Application interface)
• Message Crackers
• Event Handlers
Session Layer
• Session Management
• Connection Handling
• Message Validation
Message Layer
• Message Parsing/Generation
• Field Management
• Data Dictionary
Storage Layer
• Message Store
• Logging
• State Management
Component Relationships
• Message flow between components
• Inheritance relationships
• Dependencies between modules
• Event propagation paths
Design Elements
Use these visual elements:
• Blue: Core components
• Green: External interfaces
• Yellow: Storage components
• Gray: Supporting utilities
• Rectangles: Major components
• Rounded rectangles: Interfaces
Specific Implementation Details
Classes:
• SocketAcceptor/SocketInitiator
• Session
• MessageStore
• MessageFactory
• Application interface
• MessageCracker
Integration Points
Show:
• FIX protocol version support (4.0-5.0SP2/FIXT1.1)
• External system connections
• Configuration points
• Logging interfaces
Extension points for customization
Example structure:
[External Systems]
• ↕
[Socket Layer (Acceptor/Initiator)]
• ↕
[Session Management]
• ↕
[Message Processing]
• ↙ ↓ ↘
[Store][Log][Application]
• Component types
• Version support
This will provide a clear visualization of QuickFIX/J's architecture while maintaining the necessary detail level for a principal software engineer to understand the system's structure and behavior.