cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "daniel carter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4617) Support SpEL expressions in http conduit name
Date Wed, 26 Mar 2014 20:36:14 GMT

    [ https://issues.apache.org/jira/browse/CXF-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13948417#comment-13948417
] 

daniel carter commented on CXF-4617:
------------------------------------

I have the same problem configuring a cxf endpoint.  I don't understand why it doesn't work,
this is bog standard spring xml configuration, why does it not work with camel?
{code:xml}
<cxf:cxfEndpoint id="salesforceEndpoint" 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)

Mime
View raw message