[ https://issues.apache.org/jira/browse/CXF-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13948429#comment-13948429 ]
daniel carter commented on CXF-4617: ------------------------------------ The workaround is not to use the camel or cxf namespaces. Configure the camel components using pure spring and it works {code:xml}<bean id="salesforceEndpoint" class="org.apache.camel.component.cxf.CxfEndpoint" p:address="#{ @appPropertyBean.getProperty('SALESFORCE_WS_ENDPOINT_URL') }"/>{code} > 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 was sent by Atlassian JIRA (v6.2#6252)