Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
11.6. Installing Red Hat JBoss Fuse Integration Quick Start Applications
The following features for Red Hat JBoss Fuse integration quick start applications are provided by org/jboss/integration/fuse/quickstarts/karaf-features/1.0.0.redhat-VERSION/karaf-features-1.0.0.redhat-VERSION-features.xml:
-
fuse-bxms-switchyard-quickstart-bpm-service -
fuse-bxms-switchyard-quickstart-rules-camel-cbr -
fuse-bxms-switchyard-quickstart-rules-interview -
fuse-bxms-switchyard-quickstart-rules-interview-container -
fuse-bxms-switchyard-quickstart-rules-interview-dtable -
fuse-bxms-switchyard-demo-library -
fuse-bxms-switchyard-demo-helpdesk -
fuse-bxms-camel-blueprint-drools-decision-table -
fuse-bxms-camel-spring-drools-decision-table -
fuse-bxms-jbpm-workitems-camel-quickstart -
fuse-bxms-spring-jbpm-osgi-example
This file (and supporting repositories) is located in http://repository.jboss.org/nexus/content/repositories/public, which is already configured for use on Red Hat JBoss Fuse 6.2 out of the box in INSTALLATION_DIRECTORY/etc/org.ops4j.pax.url.mvn.cfg.
Procedure: Installing Quick Start Applications
Add a reference to the features file by running the following console command:
JBossFuse:karaf@root> features:addurl mvn:org.jboss.integration.fuse.quickstarts/karaf-features/1.0.0.redhat-VERSION/xml/featuresYou can now install the quick start applications provided by this features file by running, for example, the following console command:
JBossFuse:karaf@root> features:install fuse-bxms-switchyard-quickstart-bpm-service
Procedure: Downloading and Installing Quick Start ZIP Files
- Download the quick start application ZIP file.
-
Unpack the contents of the quick starts directory into your existing
INSTALLATION_DIRECTORY/quickstartsdirectory. -
Unpack the contents of the system directory into your existing
INSTALLATION_DIRECTORY/systemdirectory.
11.6.1. Testing Your First Quick Start Application Link kopierenLink in die Zwischenablage kopiert!
Procedure: Testing Quick Start Application
Start Red Hat JBoss Fuse:
$ ./INSTALLATION_DIRECTORY/bin/fuseInstall and start the
switchyard-bpm-serviceby running the following console command:JBossFuse:karaf@root> features:install fuse-bxms-switchyard-quickstart-bpm-serviceNoteAny dependent features specified by the application’s features file will be installed automatically.
Submit a web service request to invoke the SOAP gateway.
-
Open a terminal window and navigate to the associated quick start directory that was unpacked from the quick start application ZIP file (in this case,
switchyard-bpm-service). Run the following command:
$ mvn clean installNoteYou will need the following repositories configured in your
settings.xmlfile:Run the following command:
$ mvn exec:java -Pkaraf
-
Open a terminal window and navigate to the associated quick start directory that was unpacked from the quick start application ZIP file (in this case,
You will receive the following response:
SOAP Reply: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/> <soap:Body> <ns2:submitOrderResponse xmlns:ns2="urn:switchyard-quickstart:bpm-service:1.0"> <orderId>test1</orderId> <accepted>true</accepted> <status>Thanks for your order, it has been shipped!</status> </ns2:submitOrderResponse> </soap:Body> </soap:Envelope>