How do I use a custom bean as a producer endpoint in a camel and then wire it to processing beans or/and consumer beans.
For example I would like to use one of the bean methods to consume data from database and then pass on the results to another method of the same bean or to a another bean to process the data and then pass to a jms queue.
I would like to do something like following but the flow never goes to patstat service
public void configure() throws Exception {
from("direct:start").bean("patstatService", "getTestData")
.bean("patstatExtractorAutmn","generatRSSFromData")
.to("activemq:patstat:test");
}