aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Pavlovich (JIRA)" <>
Subject [jira] [Created] (ARIES-1355) blueprint-jpa does not interpolate configuration properties
Date Wed, 22 Jul 2015 20:57:05 GMT
Matt Pavlovich created ARIES-1355:

             Summary: blueprint-jpa does not interpolate configuration properties
                 Key: ARIES-1355
             Project: Aries
          Issue Type: Bug
          Components: JPA
    Affects Versions: jpa-2.0.0
            Reporter: Matt Pavlovich

When attempting to wire in the persistent unit name from a cm property, aries jpa does not
interpolate the value, and instead tries to lookup the ${name} literally.

<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns=""
	xmlns:xsi="" xmlns:camel=""
	xmlns:jpa="" xmlns:tx=""

	<cm:property-placeholder persistent-id="">
			<cm:property name="persistentUnitName" value="my.pu" />

	<bean id="tracingStoreTx" class="" destroy-method="destroy">
		<jpa:unit unitname="${persistentUnitName}" property="entityManagerFactory" />

Log message

This message was sent by Atlassian JIRA

View raw message