camel-tooling / camel-tooling/camel-idea-plugin

camel bean method references - look up bean type if possible

Open
#1,156 0 comments 0 reactions 1 assignee Claimed by @rastislavpapp View on GitHub
enhancement
Dominant language
Java
Stars
210
Forks
59
Avg merge
6d 19h
Merged PRs (30d)
6

Description

when there's a camel bean method reference, like the "myMethod" string here:
```
@BeanInject("myBean")
private MyBean myBean;

public void configure() {
from("direct:start")
.bean(myBean, "myMethod")
...
}
```
We can click through the reference, and it points to the `myMethod` of the `MyBean` class. But this can be an interface, or a superclass, of the actual bean class used. We can determine the real bean type if used via @BeanInject (especially if the bean name is given), and make a more specific reference.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.