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

Cannot use event broker other than default #764

Closed
squakez opened this issue Dec 23, 2021 · 0 comments · Fixed by #765
Closed

Cannot use event broker other than default #764

squakez opened this issue Dec 23, 2021 · 0 comments · Fixed by #765
Assignees
Labels
kind/bug Something isn't working

Comments

@squakez
Copy link
Contributor

squakez commented Dec 23, 2021

A route like:

from("timer:x?repeatCount=1").setBody(constant("Hello"))
.to("knative:event/myevent?apiVersion=eventing.knative.dev/v1&kind=Broker&name=mybroker");
    }

fails with:

Caused by: org.apache.camel.RuntimeCamelException: java.lang.IllegalArgumentException: Unable to find a resource definition for event/sink/myevent

As we lookup a service with type instead that object name also for event types. It only works with the fallback default broker.

@squakez squakez added the kind/bug Something isn't working label Dec 23, 2021
@squakez squakez self-assigned this Dec 23, 2021
squakez added a commit to squakez/camel-k-runtime that referenced this issue Dec 23, 2021
squakez added a commit that referenced this issue Dec 23, 2021
squakez added a commit to squakez/camel-k-runtime that referenced this issue Dec 27, 2021
squakez added a commit to jboss-fuse/camel-k-runtime that referenced this issue Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant