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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • 2.17.0
    • None
    • camel-blueprint
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: