You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "claudio4j (via GitHub)" <gi...@apache.org> on 2023/12/07 01:21:27 UTC
[I] Fail to run route with toD [camel-k]
claudio4j opened a new issue, #4972:
URL: https://github.com/apache/camel-k/issues/4972
### What happened?
Given a route with a dynamic endpoint as `toD("{{foo.myroute.endpoint}}/test")` the camel-k-operator fails with `error during trait customization: kamelets trait configuration failed: component not found for uri \"{{foo.myroute.endpoint}}/test\"`
https://camel.zulipchat.com/#narrow/stream/257299-camel-k/topic/Help.20with.20.60--build-property.60/near/406416737
### Steps to reproduce
Run the route
```
- from:
uri: "timer:test"
steps:
- setBody:
simple: "{{foo.application.custom}}"
- toD: "{{foo.myroute.endpoint}}/test"
```
given the properties file
```
foo.application.custom = my-custom-value
foo.myroute.endpoint = http://my-site.com
```
### Relevant log output
_No response_
### Camel K version
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Fail to run route with toD [camel-k]
Posted by "claudio4j (via GitHub)" <gi...@apache.org>.
claudio4j commented on issue #4972:
URL: https://github.com/apache/camel-k/issues/4972#issuecomment-1845049545
With a small change it was able to enhance this corner case, local tests indicates this works, let's wait for the e2e tests.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Fail to run route with toD [camel-k]
Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #4972:
URL: https://github.com/apache/camel-k/issues/4972#issuecomment-1844822947
I don't think this is a bug. It's a known limitation [1]. The final solution would be to complete [2] and [3].
[1] https://camel.apache.org/camel-k/2.1.x/configuration/dependencies.html#dependencies-dynamic
[2] https://github.com/apache/camel-k/issues/2600
[3] https://github.com/apache/camel-k/issues/527
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Fail to run route with toD [camel-k]
Posted by "claudio4j (via GitHub)" <gi...@apache.org>.
claudio4j closed issue #4972: Fail to run route with toD
URL: https://github.com/apache/camel-k/issues/4972
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org