Class ExsimFeedConfig


  • @Component
    @EnableAutoConfiguration
    public class ExsimFeedConfig
    extends Object
    Provides configuration information for the ExsimFeedModule.
    Since:
    $Release$
    Version:
    $Id$
    Author:
    Colin DuPlantis
    • Field Detail

      • sessionId

        private quickfix.SessionID sessionId
        session ID value that the module will use to connect
      • senderCompId

        @Value("${metc.marketdata.exsim.senderCompId}")
        private String senderCompId
        sender comp id value to use
      • targetCompId

        @Value("${metc.marketdata.exsim.targetCompId:MRKTC-EXCH}")
        private String targetCompId
        target comp id value to use
      • hostname

        @Value("${metc.marketdata.exsim.hostname:exchange.marketcetera.com}")
        private String hostname
        hostname to connect to
      • port

        @Value("${metc.marketdata.exsim.port:7001}")
        private int port
        port to connect to
      • fixVersion

        @Value("${metc.marketdata.exsim.fixVersion:FIX.4.4}")
        private String fixVersion
        FIX version to use for exchange traffic
      • fixAplVersion

        @Value("${metc.marketdata.exsim.fixAplVersion}")
        private String fixAplVersion
        FIX application version if using FIXT11 for the fixVersion
      • reconnectInterval

        @Value("${metc.marketdata.exsim.reconnectInterval:5}")
        private int reconnectInterval
        interval at which to connect to the exchange
      • heartBtInt

        @Value("${metc.marketdata.exsim.heartBtInt:30}")
        private int heartBtInt
        session heart beat interval
      • startTime

        @Value("${metc.marketdata.exsim.startTime:00:00:00}")
        private String startTime
        session start time
      • endTime

        @Value("${metc.marketdata.exsim.endTime:22:45:00}")
        private String endTime
        session end time
      • timeZone

        @Value("${metc.marketdata.exsim.timeZone:US/Pacific}")
        private String timeZone
        session time zone
      • dataDictionary

        @Value("${metc.marketdata.exsim.dataDictionary:FIX44.xml}")
        private String dataDictionary
        session FIX dictionary
      • appDataDictionary

        @Value("${metc.marketdata.exsim.appDataDictionary}")
        private String appDataDictionary
        session FIX application data dictionary
      • feedAvailableTimeout

        @Value("${metc.marketdata.exsim.feedAvailableTimeout:10000}")
        private long feedAvailableTimeout
        number of milliseconds to wait for the feed to become available if a request is made while it is offline
      • nonStopSession

        @Value("${metc.marketdata.non.stop.session:false}")
        private boolean nonStopSession
        indicates a non-stop session
    • Constructor Detail

      • ExsimFeedConfig

        public ExsimFeedConfig()
    • Method Detail

      • getSenderCompId

        public String getSenderCompId()
        Get the senderCompId value.
        Returns:
        a String value
      • setSenderCompId

        public void setSenderCompId​(String inSenderCompId)
        Sets the senderCompId value.
        Parameters:
        inSenderCompId - a String value
      • getTargetCompId

        public String getTargetCompId()
        Get the targetCompId value.
        Returns:
        a String value
      • setTargetCompId

        public void setTargetCompId​(String inTargetCompId)
        Sets the targetCompId value.
        Parameters:
        inTargetCompId - a String value
      • getHostname

        public String getHostname()
        Get the hostname value.
        Returns:
        a String value
      • setHostname

        public void setHostname​(String inHostname)
        Sets the hostname value.
        Parameters:
        inHostname - a String value
      • getPort

        public int getPort()
        Get the port value.
        Returns:
        an int value
      • setPort

        public void setPort​(int inPort)
        Sets the port value.
        Parameters:
        inPort - an int value
      • getFixVersion

        public String getFixVersion()
        Get the fixVersion value.
        Returns:
        a String value
      • setFixVersion

        public void setFixVersion​(String inFixVersion)
        Sets the fixVersion value.
        Parameters:
        inFixVersion - a String value
      • getFixAplVersion

        public String getFixAplVersion()
        Get the fixAplVersion value.
        Returns:
        a String value
      • setFixAplVersion

        public void setFixAplVersion​(String inFixAplVersion)
        Sets the fixAplVersion value.
        Parameters:
        inFixAplVersion - a String value
      • getAppDataDictionary

        public String getAppDataDictionary()
        Get the appDataDictionary value.
        Returns:
        a String value
      • setAppDataDictionary

        public void setAppDataDictionary​(String inAppDataDictionary)
        Sets the appDataDictionary value.
        Parameters:
        inAppDataDictionary - a String value
      • getReconnectInterval

        public int getReconnectInterval()
        Get the reconnectInterval value.
        Returns:
        an int value
      • setReconnectInterval

        public void setReconnectInterval​(int inReconnectInterval)
        Sets the reconnectInterval value.
        Parameters:
        inReconnectInterval - an int value
      • getHeartBtInt

        public int getHeartBtInt()
        Get the heartBtInt value.
        Returns:
        an int value
      • setHeartBtInt

        public void setHeartBtInt​(int inHeartBtInt)
        Sets the heartBtInt value.
        Parameters:
        inHeartBtInt - an int value
      • getStartTime

        public String getStartTime()
        Get the startTime value.
        Returns:
        a String value
      • setStartTime

        public void setStartTime​(String inStartTime)
        Sets the startTime value.
        Parameters:
        inStartTime - a String value
      • getEndTime

        public String getEndTime()
        Get the endTime value.
        Returns:
        a String value
      • setEndTime

        public void setEndTime​(String inEndTime)
        Sets the endTime value.
        Parameters:
        inEndTime - a String value
      • getTimeZone

        public String getTimeZone()
        Get the timeZone value.
        Returns:
        a String value
      • setTimeZone

        public void setTimeZone​(String inTimeZone)
        Sets the timeZone value.
        Parameters:
        inTimeZone - a String value
      • getDataDictionary

        public String getDataDictionary()
        Get the dataDictionary value.
        Returns:
        a String value
      • setDataDictionary

        public void setDataDictionary​(String inDataDictionary)
        Sets the dataDictionary value.
        Parameters:
        inDataDictionary - a String value
      • getSessionId

        public quickfix.SessionID getSessionId()
        Get the sessionId value.
        Returns:
        a SessionID value
      • start

        @PostConstruct
        public void start()
        Validate and start the object.
      • isNonStopSession

        public boolean isNonStopSession()
        Get the non-stop session value.
        Returns:
        a boolean value
      • setNonStopSession

        public void setNonStopSession​(boolean inNonStopSession)
        Sets the non-stop session value.
        Parameters:
        inNonStopSession - a boolean value
      • populateSessionSettings

        void populateSessionSettings​(quickfix.SessionSettings inSessionSettings)
        Populates the given session settings value with the settings established for this config.
        Parameters:
        inSessionSettings - a quickfix.SessionSettings value