JiriOndrusek commented on pull request #1452:
URL: https://github.com/apache/camel-quarkus/pull/1452#issuecomment-653502566
@lburgazzoli Is it possible to obtain endpoint via @inject directly?
I mean something like:
> @Inject
@Named("mock:result")
MockEndpoint mockEndpoint;
I'm getting:
> javax.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied
dependency for type org.apache.camel.component.mock.MockEndpoint and qualifiers
[@Named(value = "mock:result")]
although I think that it should be possiblr
(My route:
> ...Route extends RouteBuilder {
@Override
public void configure() throws Exception {
from("direct:start").log("${body}").to("mock:result");
}
)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]