You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jamesnetherton (via GitHub)" <gi...@apache.org> on 2025/04/24 09:03:38 UTC
[I] Allow multiple EndpointInject for the same type and qualifier [camel-quarkus]
jamesnetherton opened a new issue, #7299:
URL: https://github.com/apache/camel-quarkus/issues/7299
### Bug description
We currently only allow this in test mode where the test class extends `CamelQuarkusTestSupport`.
Seems logical to me to remove this restriction and have it work also in dev & prod mode.
I.e this should work, where `Foo` & `Bar` get the same `MockEndpoint` injected.
```
public class Foo {
@EndpointInject("mock:result")
MockEndpoint results;
}
```
```
public class Bar {
@EndpointInject("mock:result")
MockEndpoint results;
}
```
--
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] Allow multiple EndpointInject for the same type and qualifier [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #7299: Allow multiple EndpointInject for the same type and qualifier
URL: https://github.com/apache/camel-quarkus/issues/7299
--
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