On Thu, Jul 25, 2013 at 1:22 PM, cgiera <christoph.gi...@mic-cust.com> 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: 
> http://camel.465427.n5.nabble.com/Adding-MultiConsumer-support-to-a-ScheduledPollEndpoint-ScheduledPollConsumer-tp5736266.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to