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] Updated: (CAMEL-2258) Add nice lookup method for processors
Date Thu, 26 Aug 2010 07:05:41 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-2258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-2258:
-------------------------------

    Fix Version/s: 3.0.0

We should consider some API changes in 3.0 which makes Processors having id's using the {{HasId}}
marker interface.

> 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
>             Fix For: 3.0.0
>
>
> 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