On 16/11/2007, Robert Ginda <[EMAIL PROTECTED]> wrote: > I'm ok with starting and stopping consumers when the selector changes. > Can you elaborate on what you mean by binding the consumers to the > POJOs?
In camel you can write POJOs like this... public class MyService { @MessageDriven(uri="activemq:MyCheeseQueue") public Confirmation placeOrder(Order order) { ... } } and it will automatically bind the MyService.placeOrder() method to messages coming in from MyCheeseQeue - and in this case, send a reply to the JMSReplyTo destination. i.e. avoiding you have to write any middleware code. For more detail see... http://activemq.apache.org/camel/bean-integration.html -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com