camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-2258) Add nice lookup method for processors
Date Fri, 04 Dec 2009 16:17:52 GMT
Add nice lookup method for processors
-------------------------------------

                 Key: CAMEL-2258
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2258
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-core
    Affects Versions: 2.1.0
            Reporter: Claus Ibsen
            Priority: Minor


Camel creates the processor at runtime based on the route definitions.

What if you want to adjust a processor at runtime, such as a Throttler, Delayer etc.

What needs is something like
{code}
from(myEndpoint).throttle(200).id("myThrottler").to(myOtherEndpoint);
{code}

And the lookup
{code}
Throttler throttler = context.lookupProcessor("myThrottler", Throttler.class);
throttler.setMaximumRequestsPerPeriod(500);
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message