Note: Since this blog was written, JBoss AS 7.0.0.Final (Lightning) has been released and our build now bundles this.
Our nightly builds are now pre-configured with JBoss AS 7.0.0.CR1 (White Rabbit) and SwitchYard v 0.2.0-SNAPSHOT:
We have also ensured that the quickstart samples and demos work seamlessly with this build. Thanks to the modular, crazy fast White Rabbit a full fleged application (with CDI Beans and SOAP gateway) deploys in a couple of seconds.
14:19:32,515 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "switchyard-quickstart-demo-orders-0.2.0-SNAPSHOT.jar" 14:19:32,609 INFO [org.jboss.weld] (MSC service thread 1-1) Processing CDI deployment: switchyard-quickstart-demo-orders-0.2.0-SNAPSHOT.jar 14:19:32,687 INFO [org.jboss.weld] (MSC service thread 1-4) Starting Services for CDI deployment: switchyard-quickstart-demo-orders-0.2.0-SNAPSHOT.jar 14:19:32,734 INFO [org.jboss.weld.Version] (MSC service thread 1-4) WELD-000900 1.1.1 (Final) 14:19:32,750 INFO [org.switchyard] (MSC service thread 1-4) Deploying SwitchYard application 'switchyard-quickstart-demo-orders-0.2.0-SNAPSHOT.jar' 14:19:32,781 INFO [org.jboss.weld] (MSC service thread 1-1) Starting weld service 14:19:33,125 INFO [org.switchyard] (MSC service thread 1-8) Starting SwitchYard service 14:19:33,875 INFO [org.apache.camel.impl.converter.AnnotationTypeConverterLoader] (MSC service thread 1-8) Found 3 packages with 13 @Converter classes to load 14:19:33,906 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] (MSC service thread 1-8) Loaded 147 type converters in 0.516 seconds 14:19:34,187 INFO [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-8) Creating Service {urn:switchyard-quickstart-demo:orders:1.0}OrderService from WSDL: wsdl/OrderService.wsdl 14:19:34,421 INFO [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-8) Setting the server's publish address to be http://localhost:18001/OrderService 14:19:34,453 INFO [org.switchyard.component.soap.InboundHandler] (MSC service thread 1-8) WebService published at http://localhost:18001/OrderService 14:19:34,531 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "switchyard-quickstart-demo-orders-0.2.0-SNAPSHOT.jar"
Installation
Download the SwitchYard Distribution Zip file and simply unzip it into a suitable location on your file system. To start the SwitchYard AS7 instance open a command terminal, change directory into the distribution bin directory and execute the "standalone" command script (standalone.sh on Unix/Linux/MacOS and standalone.bat on Windows). You should see the SwitchYard extension being activated.
INFO [org.jboss.as] JBoss AS 7.0.0.CR1 "White Rabbit" starting ... INFO [org.switchyard] (Controller Boot Thread) Activating SwitchYard Extension
Pre-installed Components
The following components come pre-installed in this distribution
<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>
Quickstarts
Follow the instruction in our guide here to run the quickstarts.
User Guide
A comprehensive guide on how to develop services using the components and gateways is located here.