Search in sources :

Example 1 with CamelIntegrationParser

use of org.wildfly.extension.camel.deployment.CamelIntegrationParser in project wildfly-camel by wildfly-extras.

the class CamelCoreSubsystemExtension method addDeploymentProcessor.

@Override
public void addDeploymentProcessor(DeploymentProcessorTarget processorTarget, SubsystemState subsystemState) {
    DeploymentUnitProcessor parser = new JBossAllXmlParserRegisteringProcessor<CamelDeploymentSettings>(CamelIntegrationParser.ROOT_ELEMENT, CamelDeploymentSettings.ATTACHMENT_KEY, new CamelIntegrationParser());
    processorTarget.addDeploymentProcessor(CamelExtension.SUBSYSTEM_NAME, Phase.STRUCTURE, CamelSubsystemAdd.STRUCTURE_REGISTER_CAMEL_INTEGRATION, parser);
}
Also used : DeploymentUnitProcessor(org.jboss.as.server.deployment.DeploymentUnitProcessor) CamelIntegrationParser(org.wildfly.extension.camel.deployment.CamelIntegrationParser) JBossAllXmlParserRegisteringProcessor(org.jboss.as.server.deployment.jbossallxml.JBossAllXmlParserRegisteringProcessor)

Aggregations

DeploymentUnitProcessor (org.jboss.as.server.deployment.DeploymentUnitProcessor)1 JBossAllXmlParserRegisteringProcessor (org.jboss.as.server.deployment.jbossallxml.JBossAllXmlParserRegisteringProcessor)1 CamelIntegrationParser (org.wildfly.extension.camel.deployment.CamelIntegrationParser)1