List of usage examples for org.springframework.amqp.rabbit.stocks.domain Quote Quote
public Quote(Stock stock, String price)
From source file:org.springframework.amqp.rabbit.stocks.gateway.RabbitMarketDataGateway.java
private Quote generateFakeQuote() { MockStock stock = this.stocks.get(random.nextInt(this.stocks.size())); String price = stock.randomPrice(); return new Quote(stock, price); }