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

Apache Camel Blueprint continuously Restarts in Karaf with update-strategy = 'reload'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.17.0
    • Fix Version/s: None
    • Component/s: camel-blueprint
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Not sure if this one has been logged.

      I have seen the following chats which describe this behaviour, but it's hard to reliably replicate. It seems to be a race condition or a timeout being hit on starting a camel context:

      http://grokbase.com/t/camel/users/135qqay2x1/prevent-camelcontext-from-shutting-down-in-blueprint

      http://camel.465427.n5.nabble.com/Upgrade-Camel-2-10-1-2-11-0-Camel-keeps-restarting-td5731854.html

      Basically the steps to replicate are:

      • Deploy a blueprint.xml file to the karaf deploy directory, which has the following:
        <cm:property-placeholder persistent-id="user.example" update-strategy="reload" />
        
      • Notice that karaf will continuously reload the camel blueprint.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cetra3 Cetra Free
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: