List of usage examples for org.springframework.beans.factory.config TypedStringValue TypedStringValue
public TypedStringValue(@Nullable String value)
From source file:org.springframework.integration.config.xml.PointToPointChannelParser.java
private boolean parseStoreRef(BeanDefinitionBuilder builder, Element queueElement, String channel) { String storeRef = queueElement.getAttribute("message-store"); if (StringUtils.hasText(storeRef)) { BeanDefinitionBuilder queueBuilder = BeanDefinitionBuilder .genericBeanDefinition(MessageGroupQueue.class); queueBuilder.addConstructorArgReference(storeRef); queueBuilder.addConstructorArgValue(new TypedStringValue(storeRef).getValue() + ":" + channel); parseQueueCapacity(queueBuilder, queueElement); builder.addConstructorArgValue(queueBuilder.getBeanDefinition()); return true; }/*from w w w . ja v a2 s. c o m*/ return false; }