When we support this, we need to perform a 'plus' or string concatenate operation based on the variable type:).
Therefore. when specifying the property in the blueprint xml, the explicit type should be specified if not string. Regards, Emily On Fri, Aug 12, 2011 at 10:00 AM, Valentin Mahrwald < [email protected]> wrote: > Hi Rex, > > to my knowledge (substantiated with a quick code inspection) the > placeholders in Aries today support no operators or arithmetic like that. > But please do raise an Improvement JIRA for the future :) > > Regards, > > Valentin > > On 12 Aug 2011, at 09:53, Rex Wang wrote: > > > Hi devs, > > > > I am wondering if Aries blueprint-cm support such scenario: > > > > <cm:property-placeholder id="property-placeholder" persistent-id=" > o.a.b.com" > > placeholder-prefix="${" placeholder-suffix="}"> > > <cm:default-properties> > > <cm:property name="port" value="12345"/> > > <cm:property name="offset" value="10"/> > > </cm:default-properties> > > </cm:property-placeholder> > > > > <xxx:conn name="loc" uri="http://localhost:${port+offset}"/> > > > > > > I have a test, but seems the ${port+offset} can not be replaced with > value > > "12355". > > > > Any ideas? > > > > > > -- > > Lei Wang (Rex) > > rwonly AT apache.org > > -- Thanks Emily ================= Emily Jiang [email protected]
