About this task
Following is an example of how to configure ForeignExchangeImpl:
<com.ibm.btt.bc.fx.impl.ForeignExchangeImpl id="ForeignExchange"
homeCurrency="USD" ratesCacheRefreshInterval="1000"
InitMethod="initialize">
<ref Injection="ratesProvider" refId="ratesProvider" />
</com.ibm.btt.bc.fx.impl.ForeignExchangeImpl>
Where:
- homeCurrency specifies the homeCurrency property of ForeignExchangeImpl.
- ratesCacheRefreshInterval specifies the rates cache refresh
interval.
- The ratesProvider injection is used to inject the dependency
on Rates Provider to the ForeignExchangeImpl.