FileConsumer->MyProducer1->MyProducer2?

2011-08-09 Thread Michael Mertins
Hi all, I am implementing my own camel components: -MyProducer1 should get files from the FileConsumer and wrag them together with another object -MyProducer2 should get the two objects from MyProducer1 and is supposed to do something with both of em Is it enough for MyProducer1 to implement t

Re: FileConsumer->MyProducer1->MyProducer2?

2011-08-09 Thread Jean-Baptiste Onofré
Hi Michael, by careful, in your route, you define bean and not processor. To define processor, you should use: Regards JB On 08/09/2011 03:53 PM, Michael Mertins wrote: Hi all, I am implementing my own camel components: -MyProducer1 should get files from the FileConsumer and wrag

Re: FileConsumer->MyProducer1->MyProducer2?

2011-08-09 Thread Michael Mertins
Hi JB, then I get this error: Caused by: java.lang.IllegalArgumentException: registry entry called myProducer1must be specified on: process I registered my component here \META-INF\services\org\apache\camel\component\myProducer1 Regards, Michael Hi Michael, by careful, in your route, you

Re: FileConsumer->MyProducer1->MyProducer2?

2011-08-10 Thread Claus Ibsen
On Tue, Aug 9, 2011 at 6:14 PM, Michael Mertins wrote: > Hi JB, > > then I get this error: > > Caused by: java.lang.IllegalArgumentException: registry entry called > myProducer1must be specified on: process > > I registered my component here > \META-INF\services\org\apache\camel\component\myProdu