kaoto
kaoto copied to clipboard
Bean component should provide list of available beans in the ref field
Describe the Bug
Bean component doesn't provide list of available beans in the ref
field.
Route used:
- beans:
- name: myCustomer
type: com.mycompany.Customer
scriptLanguage: java
script: |
var b = new com.mycompany.CustomerBuilder();
b.name('Acme').street('Somestreet 42').zip(90210).gold(true);
return b.build();
- from:
uri: "timer:yaml"
parameters:
period: "5000"
steps:
- bean:
ref: myCustomer
method: summary
- log: "${body}"
Steps to Reproduce the Bug or Issue
- create route
- see the "Bean" component doesn't provide list of available beans in the
ref
field
Screenshots or Videos
https://github.com/user-attachments/assets/09b4f6c2-05ff-4a18-829a-cf998e6e0b9d
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 0.30.0]