Removed the check for "UNBOUNDED" String in the channel parser.

This commit is contained in:
Mark Fisher
2008-11-12 16:53:28 +00:00
parent fb52ef630c
commit 3a3ac1c298

View File

@@ -65,9 +65,7 @@ public class PointToPointChannelParser extends AbstractChannelParser {
private void parseQueueCapacity(BeanDefinitionBuilder builder, Element queueElement) {
String capacity = queueElement.getAttribute(CAPACITY_ATTRIBUTE);
if (StringUtils.hasText(capacity)) {
if (!capacity.equals("UNBOUNDED")) {
builder.addConstructorArgValue(Integer.valueOf(capacity));
}
builder.addConstructorArgValue(Integer.valueOf(capacity));
}
}