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

                 Key: SMXCOMP-607
                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-607
             Project: ServiceMix Components
          Issue Type: Bug
          Components: servicemix-bean, servicemix-camel, servicemix-common, 
servicemix-cxf-bc, servicemix-cxf-se, servicemix-drools, servicemix-eip, 
servicemix-exec, servicemix-file, servicemix-ftp, servicemix-http, 
servicemix-jms, servicemix-jsr181, servicemix-ldap, servicemix-mail, 
servicemix-osworkflow, servicemix-quartz, servicemix-saxon, servicemix-script, 
servicemix-scripting, servicemix-shared, servicemix-smpp, servicemix-snmp, 
servicemix-soap, servicemix-soap2, servicemix-truezip, servicemix-validation, 
servicemix-vfs, servicemix-wsn2005, servicemix-xmpp
    Affects Versions: servicemix-xmpp-2009.01, servicemix-xmpp-2008.01, 
servicemix-wsn2005-2009.01, servicemix-wsn2005-2008.01, servicemix-vfs-2009.01, 
servicemix-validation-2009.01, servicemix-validation-2008.01, 
servicemix-truezip-2009.01, servicemix-truezip-2008.01, 
servicemix-snmp-2009.01, servicemix-snmp-2008.01, servicemix-smpp-2009.01, 
servicemix-shared-2009.01, servicemix-shared-2008.01, 
servicemix-scripting-2009.01, servicemix-scripting-2008.01, 
servicemix-script-2009.01, servicemix-script-2008.01, servicemix-saxon-2009.01, 
servicemix-saxon-2008.01, servicemix-quartz-2009.01, servicemix-quartz-2008.01, 
servicemix-osworkflow-2009.01, servicemix-osworkflow-2008.01, 
servicemix-mail-2009.01, servicemix-mail-2008.01, servicemix-jsr181-2009.01, 
servicemix-jsr181-2008.01, servicemix-jms-2009.01, servicemix-jms-2008.01, 
servicemix-http-2009.01, servicemix-http-2008.01, servicemix-ftp-2009.01, 
servicemix-ftp-2008.01, servicemix-file-2009.01, servicemix-file-2008.01, 
servicemix-eip-2009.01, servicemix-eip-2008.01, servicemix-drools-2009.01, 
servicemix-drools-2008.01, servicemix-cxf-se-2009.01, 
servicemix-cxf-se-2008.01, servicemix-cxf-bc-2009.01, 
servicemix-cxf-bc-2008.01, servicemix-camel-2009.01, servicemix-camel-2008.01, 
servicemix-bean-2009.01, servicemix-bean-2008.01
            Reporter: Lars Heinemann


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

{code}
    <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>
{code}

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:
# rename all persistent-id values to use . instead of -
# rework the logic for parsing pids out of config files


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to