@Override
	protected AbstractBeanDefinition parseConsumer(Element element, ParserContext parserContext) {
		BeanDefinitionBuilder builder = BeanDefinitionBuilder.genericBeanDefinition(DatasetWritingMessageHandlerFactoryBean.class);
		String datasetOperations = element.getAttribute("dataset-operations");
		if (!StringUtils.hasText(datasetOperations)) {
			parserContext.getReaderContext().error("dataset-operations is required", element);
		}
		builder.addConstructorArgReference(datasetOperations);
		IntegrationNamespaceUtils.setValueIfAttributeDefined(builder, element, "auto-startup");
		return builder.getBeanDefinition();
	}
Parser for the 'dataset-outbound-channel-adapter' element.

@author Thomas Risberg
spring-xd-hadoop/src/main/java/org/springframework/xd/integration/hadoop/config/DatasetOutboundChannelAdapterParser.java