[
https://issues.apache.org/jira/browse/CAMEL-14269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Bednar resolved CAMEL-14269.
--------------------------------
Resolution: Invalid
You need to check your camel dependencies and validate you have upgraded all of
them. You have most probably dependency to 2.x somewhere. Try with mvn
dependency:tree and validate all camel-* dependencies have the same version. We
have many passing tests for ConsumerTemplate, so this is probably on your side.
If this does not help, please come to mailing list or gitter, share your
pom.xml and details about your environment, we will help you there
[https://camel.apache.org/community/support/]
> ConsumerTemplate not finding DefaultComponent
> ---------------------------------------------
>
> Key: CAMEL-14269
> URL: https://issues.apache.org/jira/browse/CAMEL-14269
> Project: Camel
> Issue Type: Bug
> Components: came-core
> Affects Versions: 3.0.0
> Reporter: brian yang
> Priority: Major
>
> I have updated my project to use camel 3.0.0
> The following code gives me error
> ConsumerTemplate consumer = exchange.getContext().createConsumerTemplate();
> consumer.receive(s3Endpoint);
> throws exception java.lang.ClassNotFoundException:
> org.apache.camel.impl.DefaultComponent
>
> however, based on documentation all org.apache.camel.impl should be moved to
> org.apache.camel.support . so consumer.receive(s3Endpoint); should look at
> org.apache.camel.support
--
This message was sent by Atlassian Jira
(v8.3.4#803005)