Class ExsimFeedConfig
- java.lang.Object
-
- org.marketcetera.marketdata.exsim.ExsimFeedConfig
-
@Component @EnableAutoConfiguration public class ExsimFeedConfig extends Object
Provides configuration information for theExsimFeedModule.- Since:
- $Release$
- Version:
- $Id$
- Author:
- Colin DuPlantis
-
-
Field Summary
Fields Modifier and Type Field Description private StringappDataDictionarysession FIX application data dictionaryprivate StringdataDictionarysession FIX dictionaryprivate StringendTimesession end timeprivate longfeedAvailableTimeoutnumber of milliseconds to wait for the feed to become available if a request is made while it is offlineprivate StringfixAplVersionFIX application version if using FIXT11 for thefixVersionprivate StringfixVersionFIX version to use for exchange trafficprivate intheartBtIntsession heart beat intervalprivate Stringhostnamehostname to connect toprivate booleannonStopSessionindicates a non-stop sessionprivate intportport to connect toprivate intreconnectIntervalinterval at which to connect to the exchangeprivate StringsenderCompIdsender comp id value to useprivate quickfix.SessionIDsessionIdsession ID value that the module will use to connectprivate StringstartTimesession start timeprivate StringtargetCompIdtarget comp id value to useprivate StringtimeZonesession time zone
-
Constructor Summary
Constructors Constructor Description ExsimFeedConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAppDataDictionary()Get the appDataDictionary value.StringgetDataDictionary()Get the dataDictionary value.StringgetEndTime()Get the endTime value.StringgetFixAplVersion()Get the fixAplVersion value.StringgetFixVersion()Get the fixVersion value.intgetHeartBtInt()Get the heartBtInt value.StringgetHostname()Get the hostname value.intgetPort()Get the port value.intgetReconnectInterval()Get the reconnectInterval value.StringgetSenderCompId()Get the senderCompId value.quickfix.SessionIDgetSessionId()Get the sessionId value.StringgetStartTime()Get the startTime value.StringgetTargetCompId()Get the targetCompId value.StringgetTimeZone()Get the timeZone value.booleanisNonStopSession()Get the non-stop session value.(package private) voidpopulateSessionSettings(quickfix.SessionSettings inSessionSettings)Populates the given session settings value with the settings established for this config.voidsetAppDataDictionary(String inAppDataDictionary)Sets the appDataDictionary value.voidsetDataDictionary(String inDataDictionary)Sets the dataDictionary value.voidsetEndTime(String inEndTime)Sets the endTime value.voidsetFixAplVersion(String inFixAplVersion)Sets the fixAplVersion value.voidsetFixVersion(String inFixVersion)Sets the fixVersion value.voidsetHeartBtInt(int inHeartBtInt)Sets the heartBtInt value.voidsetHostname(String inHostname)Sets the hostname value.voidsetNonStopSession(boolean inNonStopSession)Sets the non-stop session value.voidsetPort(int inPort)Sets the port value.voidsetReconnectInterval(int inReconnectInterval)Sets the reconnectInterval value.voidsetSenderCompId(String inSenderCompId)Sets the senderCompId value.voidsetStartTime(String inStartTime)Sets the startTime value.voidsetTargetCompId(String inTargetCompId)Sets the targetCompId value.voidsetTimeZone(String inTimeZone)Sets the timeZone value.voidstart()Validate and start the object.
-
-
-
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 senderCompIdsender comp id value to use
-
targetCompId
@Value("${metc.marketdata.exsim.targetCompId:MRKTC-EXCH}") private String targetCompIdtarget comp id value to use
-
hostname
@Value("${metc.marketdata.exsim.hostname:exchange.marketcetera.com}") private String hostnamehostname to connect to
-
port
@Value("${metc.marketdata.exsim.port:7001}") private int portport to connect to
-
fixVersion
@Value("${metc.marketdata.exsim.fixVersion:FIX.4.4}") private String fixVersionFIX version to use for exchange traffic
-
fixAplVersion
@Value("${metc.marketdata.exsim.fixAplVersion}") private String fixAplVersionFIX application version if using FIXT11 for thefixVersion
-
reconnectInterval
@Value("${metc.marketdata.exsim.reconnectInterval:5}") private int reconnectIntervalinterval at which to connect to the exchange
-
heartBtInt
@Value("${metc.marketdata.exsim.heartBtInt:30}") private int heartBtIntsession heart beat interval
-
startTime
@Value("${metc.marketdata.exsim.startTime:00:00:00}") private String startTimesession start time
-
endTime
@Value("${metc.marketdata.exsim.endTime:22:45:00}") private String endTimesession end time
-
timeZone
@Value("${metc.marketdata.exsim.timeZone:US/Pacific}") private String timeZonesession time zone
-
dataDictionary
@Value("${metc.marketdata.exsim.dataDictionary:FIX44.xml}") private String dataDictionarysession FIX dictionary
-
appDataDictionary
@Value("${metc.marketdata.exsim.appDataDictionary}") private String appDataDictionarysession FIX application data dictionary
-
feedAvailableTimeout
@Value("${metc.marketdata.exsim.feedAvailableTimeout:10000}") private long feedAvailableTimeoutnumber 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 nonStopSessionindicates a non-stop session
-
-
Method Detail
-
getSenderCompId
public String getSenderCompId()
Get the senderCompId value.- Returns:
- a
Stringvalue
-
setSenderCompId
public void setSenderCompId(String inSenderCompId)
Sets the senderCompId value.- Parameters:
inSenderCompId- aStringvalue
-
getTargetCompId
public String getTargetCompId()
Get the targetCompId value.- Returns:
- a
Stringvalue
-
setTargetCompId
public void setTargetCompId(String inTargetCompId)
Sets the targetCompId value.- Parameters:
inTargetCompId- aStringvalue
-
getHostname
public String getHostname()
Get the hostname value.- Returns:
- a
Stringvalue
-
setHostname
public void setHostname(String inHostname)
Sets the hostname value.- Parameters:
inHostname- aStringvalue
-
getPort
public int getPort()
Get the port value.- Returns:
- an
intvalue
-
setPort
public void setPort(int inPort)
Sets the port value.- Parameters:
inPort- anintvalue
-
getFixVersion
public String getFixVersion()
Get the fixVersion value.- Returns:
- a
Stringvalue
-
setFixVersion
public void setFixVersion(String inFixVersion)
Sets the fixVersion value.- Parameters:
inFixVersion- aStringvalue
-
getFixAplVersion
public String getFixAplVersion()
Get the fixAplVersion value.- Returns:
- a
Stringvalue
-
setFixAplVersion
public void setFixAplVersion(String inFixAplVersion)
Sets the fixAplVersion value.- Parameters:
inFixAplVersion- aStringvalue
-
getAppDataDictionary
public String getAppDataDictionary()
Get the appDataDictionary value.- Returns:
- a
Stringvalue
-
setAppDataDictionary
public void setAppDataDictionary(String inAppDataDictionary)
Sets the appDataDictionary value.- Parameters:
inAppDataDictionary- aStringvalue
-
getReconnectInterval
public int getReconnectInterval()
Get the reconnectInterval value.- Returns:
- an
intvalue
-
setReconnectInterval
public void setReconnectInterval(int inReconnectInterval)
Sets the reconnectInterval value.- Parameters:
inReconnectInterval- anintvalue
-
getHeartBtInt
public int getHeartBtInt()
Get the heartBtInt value.- Returns:
- an
intvalue
-
setHeartBtInt
public void setHeartBtInt(int inHeartBtInt)
Sets the heartBtInt value.- Parameters:
inHeartBtInt- anintvalue
-
getStartTime
public String getStartTime()
Get the startTime value.- Returns:
- a
Stringvalue
-
setStartTime
public void setStartTime(String inStartTime)
Sets the startTime value.- Parameters:
inStartTime- aStringvalue
-
getEndTime
public String getEndTime()
Get the endTime value.- Returns:
- a
Stringvalue
-
setEndTime
public void setEndTime(String inEndTime)
Sets the endTime value.- Parameters:
inEndTime- aStringvalue
-
getTimeZone
public String getTimeZone()
Get the timeZone value.- Returns:
- a
Stringvalue
-
setTimeZone
public void setTimeZone(String inTimeZone)
Sets the timeZone value.- Parameters:
inTimeZone- aStringvalue
-
getDataDictionary
public String getDataDictionary()
Get the dataDictionary value.- Returns:
- a
Stringvalue
-
setDataDictionary
public void setDataDictionary(String inDataDictionary)
Sets the dataDictionary value.- Parameters:
inDataDictionary- aStringvalue
-
getSessionId
public quickfix.SessionID getSessionId()
Get the sessionId value.- Returns:
- a
SessionIDvalue
-
start
@PostConstruct public void start()
Validate and start the object.
-
isNonStopSession
public boolean isNonStopSession()
Get the non-stop session value.- Returns:
- a
booleanvalue
-
setNonStopSession
public void setNonStopSession(boolean inNonStopSession)
Sets the non-stop session value.- Parameters:
inNonStopSession- abooleanvalue
-
populateSessionSettings
void populateSessionSettings(quickfix.SessionSettings inSessionSettings)
Populates the given session settings value with the settings established for this config.- Parameters:
inSessionSettings- aquickfix.SessionSettingsvalue
-
-