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

Plugin does not support .bean(this, "method") #665

Open
bvn13 opened this issue Feb 4, 2022 · 1 comment
Open

Plugin does not support .bean(this, "method") #665

bvn13 opened this issue Feb 4, 2022 · 1 comment

Comments

@bvn13
Copy link

bvn13 commented Feb 4, 2022

image

And .bean("this", "method") as well.

@bvn13
Copy link
Author

bvn13 commented Feb 4, 2022

as a workaround I use

class ARouteBuilder extend RouteBuilder {
  ARouteBuilder self =  this;

  void configure() {
    from(A)
      .bean(self, "method");
  }

  public void method() {
  }

}

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

1 participant