org.apache.camel.processor.RedeliveryPolicy not found by org.apache.camel.camel-base

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

org.apache.camel.processor.RedeliveryPolicy not found by org.apache.camel.camel-base

Gerald Kallas - mailbox.org
I'm working with Camel 3.0.1.

When defining

        <bean id="redeliveryPolicyConfig" class="org.apache.camel.processor.RedeliveryPolicy">
                <property name="maximumRedeliveries" value="3"/>
                <property name="redeliveryDelay" value="5000"/>
        </bean>

        <bean id="deadLetterErrorHandler" class="org.apache.camel.builder.DeadLetterChannelBuilder">
                <property name="deadLetterUri" value="jms:queue:DLQ"/>
                <property name="redeliveryPolicy" ref="redeliveryPolicyConfig"/>
        </bean>

as documented I'm getting an error

org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to load class org.apache.camel.processor.RedeliveryPolicy from recipe BeanRecipe[name='redeliveryPolicyConfig']
...
Caused by: java.lang.ClassNotFoundException: org.apache.camel.processor.RedeliveryPolicy not found by org.apache.camel.camel-base [94]

Does there have something changed in Camel 3?

Best
- Gerald