kaoto icon indicating copy to clipboard operation
kaoto copied to clipboard

Bean component should provide list of available beans in the ref field

Open tplevko opened this issue 4 months ago • 1 comments

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

  1. create route
  2. 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]

tplevko avatar Oct 10 '24 10:10 tplevko