I want to specify the location and name of the quickfix/j configuration file in the springboot starter project.
quickfixj:
server:
config: classpath:quickfixj-server.cfg
auto-startup: true
force-disconnect: false
phase: 0
jmx-enabled: true
concurrent:
enabled: true
useDefaultExecutorFactory: true
queueCapacity: Integer.MAX_VALUE
corePoolSize: 8
maxPoolSize: Integer.MAX_VALUE
allowCoreThreadTimeOut: true
keepAliveSeconds: 60
waitForTasksToCompleteOnShutdown: false
awaitTerminationMillis: 0
threadNamePrefix: "QuickFixJ Spring Boot Starter thread-"
message-store-factory: memory
log-factory: screen
I am not sure in which file do I need to write this. I tried writing it in application.properties but it seems like even if I change the location of the config attribute, the program is still reading it from the default location "classpath:quickfixj-server.cfg".By the way I have the config file with the name "quickfixj-server.cfg" in the resources folder, but I want to load my own cofiguration file with a new name. Thank You