Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8770

Camel Blueprint - depends-on does not work

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Pending Closed
    • 2.14.2, 2.15.2
    • 2.14.3, 2.15.3, 2.16.0
    • camel-blueprint
    • None
    • Unknown

    Description

      Attribute depends-on does not work for camelContext element in blueprint container. When bean XXX does not exist then an exception should be thrown like in spring container.

      <camelContext ... depends-on="XXX">
      

      Attachments

        Activity

          njiang Willem Jiang added a comment -

          Applied the patch into camel master, camel-2.14.x and camel-2.15.x branches.

          njiang Willem Jiang added a comment - Applied the patch into camel master, camel-2.14.x and camel-2.15.x branches.
          lichtin Martin Lichtin added a comment -

          Hi Willem thanks for the fix. Something definitely changed with 2.15.3
          I've so far been referring to several beans with depends-on="beanA,beanB"
          However, this (obviously) no longer works. It seems depends-on does not support a list (unlike the depends-on in Aries Blueprint).
          How then can one make the CamelContext depend on more than one bean?

          lichtin Martin Lichtin added a comment - Hi Willem thanks for the fix. Something definitely changed with 2.15.3 I've so far been referring to several beans with depends-on="beanA,beanB" However, this (obviously) no longer works. It seems depends-on does not support a list (unlike the depends-on in Aries Blueprint). How then can one make the CamelContext depend on more than one bean?

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: