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

Using Camel's @Produce injection #2066

Closed
ismailbaskin opened this issue Dec 10, 2020 · 2 comments
Closed

Using Camel's @Produce injection #2066

ismailbaskin opened this issue Dec 10, 2020 · 2 comments
Milestone

Comments

@ismailbaskin
Copy link
Contributor

Is there any way to inject interface with org.apache.camel.Produce way as described in HIDING THE CAMEL APIS FROM YOUR CODE USING @PRODUCE ?

@ppalaga
Copy link
Contributor

ppalaga commented Dec 10, 2020

We have one test using org.apache.camel.Produce:

@Inject
@Produce("direct:start")
FluentProducerTemplate targetWithUri;

So we have some basic support for it. I am not sure the case with an interface will work. I guess you tried it and it did not work?

@ppalaga
Copy link
Contributor

ppalaga commented May 26, 2021

The use case with an interface will work with Camel Quarkus 2.0.0-M1 that should appear in ~48 hours. Please feel free to reopen if it does not work for you (and please provide details).

@ppalaga ppalaga closed this as completed May 26, 2021
@ppalaga ppalaga added this to the 2.0.0-M1 milestone May 26, 2021
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