Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load camel-cxf in camel-k integration #3550

Closed
logabstract opened this issue Aug 16, 2022 · 2 comments
Closed

load camel-cxf in camel-k integration #3550

logabstract opened this issue Aug 16, 2022 · 2 comments

Comments

@logabstract
Copy link

Hello, I'm trying to use cxf in an integration but fails to run with a dependency error in the operator, I'm using explicit dependency in the timer example to demonstrate the error

# camel-k: language=yaml
# camel-k: dependency=mvn:org.apache.camel:camel-cxf:3.17.0

# Write your routes here, for example:
- from:
    uri: "timer:yaml"
    parameters:
      period: "1000"
    steps:
      - set-body:
          constant: "Hello Camel K from yaml"
      - to: "log:info"

The operator shows:

{"level":"error","ts":1660678825.4334397,"logger":"camel-k.maven.build","msg":"[ERROR] Some problems were encountered while processing the POMs:\n[ERROR] 'dependencies.dependency.version' for org.apache.camel:camel-cxf:jar is missing. @ line 52, column 17\n @ ","stacktrace":"github.com/apache/camel-k/pkg/util.RunAndLog.func1\n\tgithub.com/apache/camel-k/pkg/util/command.go:58\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:57"}

I know there is a camel quarkus component in the works for cxf, should I wait for it to be realeased or is there any workaround to use the cxf camel component in Camel K?

Camel K Version: 1.9.2

@tadayosi
Copy link
Member

Yes, Camel K uses Camel Quarkus as the runtime but Camel Quarkus doesn't yet support camel-cxf. You'd need to wait for the next release.
apache/camel-quarkus#764

@logabstract
Copy link
Author

Ok, thanks @tadayosi I'm closing the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants