camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Moulliard <cmoulli...@gmail.com>
Subject Question concerning pollingConsumer usage
Date Wed, 16 Sep 2009 08:38:02 GMT
Hi,

I will implement a bean component who will play the role of a
pollingConsumer. This bean will be called every x minutes from a quartz
endpoint. This bean component will read all messages posted in a queue until
the last one and create a list of objects who will be used next by marshal
function defined in the camel route.

Question : Can the method called in my "polling consumer" bean return a list
of objects or should it be defined as void ?

Regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message