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

Container sees Context prematurely (with default name)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.14.0
    • 2.15.0
    • None
    • None
    • Unknown

    Description

      In the case of SpringCamelContext we have this code

          protected SpringCamelContext createContext() {
              SpringCamelContext ctx = newCamelContext();        
              ctx.setName(getId());        
              return ctx;
          }
      

      The Container singleton is however called from the DefaultCamelContext ctor (i.e. before the name is initialised properly)

      CrossRef: https://github.com/tdiesler/wildfly-camel/issues/16

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              tdiesler Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: