In your custom consumer, you can call the process method when you get the event no matter if it polling consumer or not.
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On May 14, 2014 at 2:13:35 AM, harjeets ([email protected]) wrote: > We have created custom component anlong with custom consumer. > > Its a ScheduledPollingConsumer. > > We want to make it event drriven. Pls help me. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Event-Driven-consumer-for-Custom-Component-tp5751089.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >
