FIXED - issue INT-570: property placeholders not replaced for <queue capacity="${placeholder}/>

http://jira.springframework.org/browse/INT-570
This commit is contained in:
Iwein Fuld
2009-02-03 16:36:46 +00:00
parent 918ee6545f
commit a17927935d
4 changed files with 72 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ import org.springframework.util.xml.DomUtils;
* Parser for the &lt;channel&gt; element.
*
* @author Mark Fisher
* @author Iwein Fuld
*/
public class PointToPointChannelParser extends AbstractChannelParser {
@@ -61,7 +62,7 @@ public class PointToPointChannelParser extends AbstractChannelParser {
private void parseQueueCapacity(BeanDefinitionBuilder builder, Element queueElement) {
String capacity = queueElement.getAttribute("capacity");
if (StringUtils.hasText(capacity)) {
builder.addConstructorArgValue(Integer.valueOf(capacity));
builder.addConstructorArgValue(capacity);
}
}