Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-607

Persistence-id of the component can't contain the minus char

    XMLWordPrintableJSON

Details

    Description

      There is a problem with the minus char inside the components properties definition.

          <osgix:cm-properties id="cmProps" persistent-id="servicemix-http">
              <prop key="threadPoolCorePoolSize">8</prop>
              <prop key="threadPoolMaximumPoolSize">32</prop>
              <prop key="threadPoolQueueSize">256</prop>
          </osgix:cm-properties>
      

      The "persistent-id" attribute value should not contain a minus char. If there is a minus char inside, you are never able
      to override the configuration by placing a config file inside the etc folder of SMX4. The pid will be messed up to something
      like "servicemix.325253-234234-234324-24111" and thus never been applied to the component.

      To avoid this behaviour there are two options:

      1. rename all persistent-id values to use . instead of -
      2. rework the logic for parsing pids out of config files

      Attachments

        Activity

          People

            lhein Lars Heinemann
            lhein Lars Heinemann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: