Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2458

Cannot set factory-bean / factory-method in a spring bean

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.1.0, 10.1.0.AM3
    • 10.0.0, 10.0.0.AM2
    • Camel Editor
    • None

      There are two approaches in setting a factory-method / factory-bean

      • Blueprint
        • only static factory method is supported
      • Spring
        • we can use a static factory method
        • or a factory method in a factory bean

      In the current implementation for Spring DSL we can set only a factory-bean but the browse button searches for methods instead of classes. Moreover, there is no property for setting a factory-method.

      EDIT: I was wrong about the Blueprint. You can use factory-bean and factory-method in both Blueprint and Spring.

              bfitzpat_rh Brian Fitzpatrick (Inactive)
              apodhrad@redhat.com Andrej Podhradsky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: