org.apache.camel.example.tracer
Class QuoteService

java.lang.Object
  extended by org.apache.camel.example.tracer.QuoteService

public class QuoteService
extends Object

Our quote server that can split words and lookup a quote based on a word


Constructor Summary
QuoteService()
           
 
Method Summary
 String quote(String text)
           
 void setQuotes(List<String> quotes)
           
 List<String> splitWords(String payload)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuoteService

public QuoteService()
Method Detail

setQuotes

public void setQuotes(List<String> quotes)

quote

public String quote(String text)

splitWords

public List<String> splitWords(String payload)


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.