org.springframework.integration.samples.cafe
Class Cafe

java.lang.Object
  extended by org.springframework.integration.samples.cafe.Cafe

public class Cafe
extends java.lang.Object

The entry point for CafeDemo. When the 'placeOrder' method is invoked, it passes the DrinkOrder as the payload of a Message to the 'orderChannel'. The channel reference is configured in the "cafe" bean definition within 'cafeDemo.xml'.

Author:
Mark Fisher

Field Summary
private  MessageChannel orderChannel
           
 
Constructor Summary
Cafe()
           
 
Method Summary
 void placeOrder(DrinkOrder order)
           
 void setOrderChannel(MessageChannel orderChannel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

orderChannel

private MessageChannel orderChannel
Constructor Detail

Cafe

public Cafe()
Method Detail

setOrderChannel

public void setOrderChannel(MessageChannel orderChannel)

placeOrder

public void placeOrder(DrinkOrder order)