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

Inject CamelContext into Java DSL RouteBuilder #563

Closed
jcordes73 opened this issue Mar 17, 2019 · 5 comments
Closed

Inject CamelContext into Java DSL RouteBuilder #563

jcordes73 opened this issue Mar 17, 2019 · 5 comments
Assignees
Labels
status/waiting-for-feedback Needs some feedback

Comments

@jcordes73
Copy link

For configuring components (f.e. JMS) manipulating the CamelContext could be handy. Right now it seems that the CamelContext is not available in the RouteBuilder when using the Java DSL.

@lburgazzoli lburgazzoli self-assigned this Mar 17, 2019
@lburgazzoli lburgazzoli added kind/bug Something isn't working status/waiting-for-feedback Needs some feedback and removed kind/bug Something isn't working labels Mar 17, 2019
@lburgazzoli
Copy link
Contributor

hi @jcordes73 I had a look at the code and the context is actually set to the RouteBuilder so can you give more information about the runtime version you are testing against and if possible an example that shows the misbehaviour ?

@davsclaus
Copy link
Contributor

Yeah it should be there as context() method in the RouteBuilder class from its configure method.

@hguerrero
Copy link
Contributor

@davsclaus @lburgazzoli can you add an example of how to configure the context with a connection factory using Java DSL?

@lburgazzoli
Copy link
Contributor

@jcordes73 can we close this one ?

@lburgazzoli
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/waiting-for-feedback Needs some feedback
Projects
None yet
Development

No branches or pull requests

4 participants