org.springframework.integration.samples.quote
Class QuotePublisher

java.lang.Object
  extended by org.springframework.integration.samples.quote.QuotePublisher

@MessageEndpoint(output="quotes")
public class QuotePublisher
extends java.lang.Object

Author:
Mark Fisher

Constructor Summary
QuotePublisher()
           
 
Method Summary
 java.lang.String generateTicker()
           
 Quote getQuote(java.lang.String ticker)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuotePublisher

public QuotePublisher()
Method Detail

generateTicker

@Polled(period=300)
public java.lang.String generateTicker()

getQuote

@Handler
public Quote getQuote(java.lang.String ticker)