class QuoteRemoteCallService {

	@HystrixCommand(fallbackMethod = "getQuoteFallback")
	public Quote getQuote(String symbol) {
		logger.debug("Fetching quote: " + symbol);
		Quote quote = restTemplate.getForObject(downstreamProtocol + "://" + quotesService + "/quote/{symbol}", Quote.class, symbol);
		return quote;
	}

}