camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Adding MultiConsumer support to a ScheduledPollEndpoint/ScheduledPollConsumer
Date Sat, 27 Jul 2013 08:31:26 GMT
On Thu, Jul 25, 2013 at 1:22 PM, cgiera <> wrote:
> Hello,
> I have to write a new Camel component which should have the similar behavior
> like the JmsComponent but I'm not allowed to use Jms(due customer
> restrictions).
> I want to use as much functionallity as possible from the standard
> implementations in camel.
> So I decided to extend from the DefaultScheduledPollEndpoint/Consumer to get
> all the inital delay, delay... stuff.
> In the poll method I just use the JdbcTemplate to call a pl/sql procedure
> which dequeues the data.
> What is missing now is the MultiConsumer support so I can provide the
> concurrentConsumer parameters  we use in our JMS routes nowadays.

They are not the same. The former is for allowing 2+ routes with the
same endpoint, eg multiple consumers, eg:

from A
  to B

from A
  to C

concurrentConsumers is for the same consumer, eg

from A concurrentConsumers = 10
  to B

> I have looked through the existing components and there are only jms, seda
> and timer which support this feature. Non of them does fit my requirements
> exactly(or I don't understand it enough).
> Sorry if I've missed something and it is really easy, thanks for your time.
> kind regards,
> Christoph
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message