Hi

In the CAMEL-64[1], we are talking about using the verbs for EIP actions.
Current Camel's DSL and Spring configruation file are using noun to
define the routing rules.

Such as
from(seda:a).throttler(10).to(mock:result);

<camelContext id="camel"
xmlns="http://activemq.apache.org/camel/schema/spring";>
<route>
<from uri="seda:a" />
<throttler maximumRequestsPerPeriod="3" timePeriodMillis="30000">
<to uri="mock:result" />
</throttler>
</route>
</camelContext>

it will be better if we make DSL like this
from(seda:a).throttle(10).to(mock:result);

As we discussed in the JIRA, it is impossible to make the Spring schema
support old nuns and new verbs at same time.

Since we are working on Camel 2.0, it will be painless if we directly
move on to use the verbs instead of still supporting nuns in DSL and
Spring configuration.

Any thoughts ?

[1]https://issues.apache.org/activemq/browse/CAMEL-64

Willem

Reply via email to