org.apache.camel.example.pojo_messaging
Class DistributeRecordsBean

java.lang.Object
  extended by org.apache.camel.example.pojo_messaging.DistributeRecordsBean

public class DistributeRecordsBean
extends Object


Constructor Summary
DistributeRecordsBean()
           
 
Method Summary
 String[] route(String city)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributeRecordsBean

public DistributeRecordsBean()
Method Detail

route

@Consume(uri="activemq:personnel.records")
@RecipientList
public String[] route(@XPath(value="/person/city/text()")
                                               String city)


Apache CAMEL