Re: Blueprint/@Produce

2013-05-22 Thread Christian Schneider
How do you initialize the ButtonProducer object? I am not sure if the annotation works with blueprint but in spring you would have to create a spring bean for the ButtonProducer. Christian Am 22.05.2013 13:24, schrieb Walzer, Thomas: Hi guys, I would like to send a message from a pojo to a

Blueprint/@Produce

2013-05-22 Thread Walzer, Thomas
Hi guys, I would like to send a message from a pojo to a blueprint route (Camel 2.10). Something along the lines: package net.integratix.camel.blueprint; public class ButtonProducer { @Produce(uri="direct:startRoute") ProducerTemplate producer; public void buttonPre