« Return to Thread: expressions conflict with property-placeholder

Re: expressions conflict with property-placeholder

by Andrew Perepelytsya :: Rate this Message:

Reply to Author | View in Thread

Search the list, you need to configure spring's placeholders to use some other prefix/suffix.

Andrew

On Tue, Sep 23, 2008 at 5:08 PM, Steve A. <steve@...> wrote:

Is there any work-around for the apparent conflict of expressions with
property-placeholders?

e.g. ${header:bar} below causes an error (Could not resolve placeholder
'header:bar'), but if I comment out the <context:property-placeholder>
below, and replace ${foo} below with the literal value, then there is not a
problem.

       <context:property-placeholder location = "my.properties"/>
...
       <service name = "MyService">
               <inbound>
                       <vm:inbound-endpoint path = "GetMetadata" />
               </inbound>
                       <http:rest-service-component serviceUrl = "${foo}" >
                               <http:requiredParameter key = "name" value = "${header:bar}" />
                       </http:rest-service-component>
       </service>

Thoughts?

Steve
--
View this message in context: http://www.nabble.com/expressions-conflict-with-property-placeholder-tp19637042p19637042.html
Sent from the Mule - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



 « Return to Thread: expressions conflict with property-placeholder