Eugene Scripnik created CXF-4617:
------------------------------------

             Summary: Support SpEL expressions in http conduit name
                 Key: CXF-4617
                 URL: https://issues.apache.org/jira/browse/CXF-4617
             Project: CXF
          Issue Type: Improvement
          Components: Core
    Affects Versions: 2.6.1
         Environment: Spring 3.1.1
            Reporter: Eugene Scripnik


I've recently described this problem in another issue (CXF-4391), but the fix 
for it does not actually resolve my problem.

If you try to configure HTTP Conduit name using property file and SpEL, it will 
be silently discarded.

Sample configuration:
{code}
<http-conf:conduit name="${soap.address.prefix}.*" />
{code}

Where ${soap.address.prefix} is configured in external property file:
{code}
soap.address.prefix=http://localhost:8080/services/
{code}

I am not the only one requesting this feature, here is the same request from 
Stack Overflow:
http://stackoverflow.com/questions/9396095/how-to-externalize-properties-from-httpconduit-java

I would expect that all SpEL substitutions are executed before regexp pattern 
is compiled in ConfigurerImpl#initWildcardDefinitionMap.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to