Install SwitchYard to AS7
Extract the contents of AS7 deployer:
unzip core/deploy/jboss-as7/build/target/switchyard.deployer.zip -d ${JBOSS_AS7_HOME}
Edit standalone.xml or domain.xml according to the configuration used and add the following:
<server ...
urn:jboss:domain:switchyard:1.0 jboss-switchyard.xsd"
</extensions>
...
<extension module="org.switchyard"/>
</extensions>
...
<subsystem xmlns="urn:jboss:domain:switchyard:1.0"/>
Add Components
To add a component extract the contents of components/{component}/target/switchyard.deployer.zip to JBoss AS7 root directory:
unzip components/bean/target/switchyard.deployer.zip -d ${JBOSS_AS7_HOME}
unzip components/camel/target/switchyard.deployer.zip -d ${JBOSS_AS7_HOME}
unzip components/soap/target/switchyard.deployer.zip -d ${JBOSS_AS7_HOME}
Now edit the susbsytem configuration as follows:
<subsystem xmlns="urn:jboss:domain:switchyard:1.0">
<modules>
<module identifier="org.switchyard.component.bean"/>
<module identifier="org.switchyard.component.soap"/>
<module identifier="org.switchyard.component.camel"/>
</modules>
</subsystem>
Comments