[jboss-svn-commits] JBL Code SVN: r20943 - in labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product: docs and 142 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Jul 7 12:11:37 EDT 2008
Author: kevin.conner at jboss.com
Date: 2008-07-07 12:11:35 -0400 (Mon, 07 Jul 2008)
New Revision: 20943
Added:
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/lib/ext/wsdl4j-1.6.2.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/tests/src/org/jboss/soa/esb/lifecycle/LifecycleResourceManagerUnitTest.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/deployment.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/jbm-queue-service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/jbmq-queue-service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/deployment.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/jbm-queue-service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/jbmq-queue-service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/deployment.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/src/h2/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/src/h2/create.sql
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/jbossesb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/log4j.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/bindings.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/datasources.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/ref-data.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/main.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-orders-parser.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-to-xml-order-mapping.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-02_Low_Price_Service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-03_High_Price_Service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-04_Reptiles_notify_webservice_proxy.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-05_Database.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/jbossesb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/log4j.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/jbossesb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/log4j.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Address.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Order.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Product.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/Notification.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/ReptilesNotifyWS.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/web.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/index.jsp
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-dataload.sql
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-schema.sql
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.lck
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.log
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.properties
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.script
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/hsqldb.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.bat
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.sh
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.bat
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.properties
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.sh
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/README.html
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/02_Low_Price.gif
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/Overview.odp
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/Overview.png
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/datasource-vafter.gif
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/datasource-vbefore.gif
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/source-model.gif
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbm-queue-service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbmq-queue-service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbossesb-properties.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jndi.properties
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/juddi.properties
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/log4j.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/MessageGenerator.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintMessage.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintVisitor.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/messaging-db-users-service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/message-store-sql/mssql/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/message-store-sql/mssql/create_database.sql
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/message-store-sql/mssql/drop_database.sql
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/org/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/org/jbpm/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/org/jbpm/ant/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/org/jbpm/ant/DeployProcessToServerTaskUnitTest.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-core-1.0.1.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-css-1.0.1.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-csv-1.0.1.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-edi-1.0.1.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-javabean-1.0.1.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-misc-1.0.1.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-routing-1.0.1.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-scripting-1.0.1.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-servlet-1.0.1.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-templating-1.0.1.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/mvel-1.3.3-java1.5.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/FragmentRouter.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/SmooksAction.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/AbstractStreamSplitter.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/FileStreamSplitter.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/ProfilingUnitTest.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SmooksActionUnitTest.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SourceResultUnitTest.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/jbossesb-properties.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person1.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person2.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/person.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-smooks-01.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/smooks-config.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-01.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-02.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/schemas/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/schemas/XMLSchema1999.xsd
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/soapui-settings.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/JBESB_1713_SoapUIClientServiceMBeanUnitTest.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_1713_01.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_1713_02.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/handdator.wsdl
Removed:
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/docs/FAQ.txt
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/tests/src/org/jboss/soa/esb/lifecycle/LifecycleResourceManagerTest.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/deployment.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/src/h2/create.sql
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/src/hsqldb/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/jbossesb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/log4j.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/bindings.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/datasources.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/ref-data.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/main.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-orders-parser.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-to-xml-order-mapping.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-02_Low_Price_Service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-03_High_Price_Service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-04_Reptiles_notify_webservice_proxy.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-05_Database.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/jbossesb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/log4j.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/jbossesb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/log4j.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Address.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Order.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Product.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/Notification.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/ReptilesNotifyWS.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/web.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/index.jsp
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-dataload.sql
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-schema.sql
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.lck
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.log
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.properties
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.script
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/hsqldb.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.bat
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.sh
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.bat
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.properties
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.sh
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/README.html
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/02_Low_Price.gif
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/Overview.odp
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/Overview.png
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/datasource-vafter.gif
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/datasource-vbefore.gif
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/source-model.gif
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbm-queue-service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbmq-queue-service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbossesb-properties.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jndi.properties
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/juddi.properties
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/log4j.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/MessageGenerator.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintMessage.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintVisitor.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/message-store-sql/mssql/create_database.sql
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/message-store-sql/mssql/drop_database.sql
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/org/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/org/jbpm/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/org/jbpm/ant/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/org/jbpm/ant/DeployProcessToServerTaskUnitTest.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/lib/ext/jbpm-ant.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/src/main/resources/jbpm-sql/import.sql
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-core-1.0.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-css-1.0.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-csv-1.0.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-edi-1.0.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-javabean-1.0.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-misc-1.0.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-routing-1.0.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-scripting-1.0.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-servlet-1.0.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-templating-1.0.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/mvel-1.2.24-java1.5.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/FragmentRouter.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/SmooksAction.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/AbstractStreamSplitter.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/FileStreamSplitter.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/actions/smooks/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/ProfilingUnitTest.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SmooksActionUnitTest.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SourceResultUnitTest.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/jbossesb-properties.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person1.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person2.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/person.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-smooks-01.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/smooks-config.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-01.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-02.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/lib/jboss-common.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/lib/jboss-system-client.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/lib/jboss-system.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/lib/jsr173_1.0_api-xmlbeans-2.2.0.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/lib/log4j.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/lib/ognl-2.6.9.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/lib/wsdl4j-1.6.2.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/lib/xbean-2.2.0.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/schemas/XMLSchema1999.xsd
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management/src/main/java/org/jboss/soa/esb/monitoring/server/BeanRegistrationServlet.java
Modified:
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/docs/MessageActionGuide.odt
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/etc/schemas/xml/jbossesb-1.0.1.xsd
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/install/conf/actionArtifactMap.properties
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/couriers/JmsCourier.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/couriers/SqlTableCourier.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/dependencies/H2Database.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/dependencies/H2DatabaseMBean.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/remoting/HttpUnmarshaller.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/JmsConnectionPool.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/JmsSession.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/JmsXASession.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/services/registry/JAXRRegistryImpl.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/soap/OGNLUtils.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/FtpImpl.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/FtpsImpl.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/SecureFtpImpl.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/SecureFtpUserInfo.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/StreamUtils.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/actions/routing/JMSRouter.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/addressing/eprs/SFTPEpr.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/common/Environment.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/common/JBossESBPropertyService.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/helpers/Email.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/helpers/NamingContextPool.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/listeners/StandAloneBootStrapper.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/listeners/config/mappers/FtpListenerMapper.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/listeners/gateway/SqlTableGatewayListener.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/message/Properties.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/notification/NotificationTarget.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/util/RemoteFileSystem.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/tests/src/org/jboss/soa/esb/actions/routing/JmsRouterIntegrationTest.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/tests/src/org/jboss/soa/esb/notification/NotifySqlTableUnitTest.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/aggregation_service/jbossesb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/blue_service/jbossesb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/green_service/jbossesb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/inbound_splitter/jbossesb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/red_service/jbossesb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration1/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration2/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration2/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration2/readme.txt
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration3/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration3/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/business_rules_service/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/business_service/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/conf/base-build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/conf/quickstarts.properties-example
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/custom_action/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/deadletter/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/exceptions_faults/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/fun_cbr/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/groovy_gateway/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/jbossesb-service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/quickstart-ds.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/jbossesb-service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/quickstart-ds.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/jbossesb-service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/quickstart-ds.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/deployment.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/readme.txt
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_topic/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/deployment.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/jbossesb-service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/quickstart-ds.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/readme.txt
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/load_generator/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/messagefilter/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/messagestore/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/native_client/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/scripting_groovy/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_CSV2XML/SampleOrder.csv
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2POJO/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2POJO/smooks-res.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/dvdstore/DVDStoreAction.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2XML_date_manipulation/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2XML_simple/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_bpel/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_consumer1/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_consumer2/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_mtom/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_producer/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_wsaddressing/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_wssecurity/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/wiretap/jboss-esb.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/base-project-build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/java/org/jboss/internal/soa/esb/persistence/format/db/DBMessageStoreImpl.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/META-INF/deployment.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/src/org/jbpm/ant/DeployProcessToServerTask.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/src/org/jbpm/ant/ProcessDeployer.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/src/main/resources/META-INF/deployment.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/src/main/resources/jbpm-service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-commons-1.0.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-edisax-0.3.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-edisax-model-0.3.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-magger-0.1.3.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-tinak-0.8.1.jar
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/actions/converters/SmooksInstanceManager.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/actions/converters/SmooksTransformer.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/actions/smooks/SmooksAction.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/SOAPClient.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/SoapUIInvoker.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/test-in.wsdl
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/test-out-expected-http-rewrite.wsdl
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/test-out-expected.wsdl
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/soapui-client.iml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/soapui-client.ipr
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/soapui-client.iws
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBean.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/META-INF/jboss-service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBeanUnitTest.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/orderprocessing/expected_01.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/orderprocessing/expected_01_JBESB-1329.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/contract-web/src/main/webapp/contract.jsp
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-esb/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-esb/src/main/resources/jbossesbmanagement-service.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-esb/src/main/resources/oracle/create_database.sql
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-esb/src/main/resources/oracle/management-ds.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-web/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-web/src/main/webapp/WEB-INF/jboss-web.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-web/web.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management/build.xml
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management/src/main/java/org/jboss/soa/esb/monitoring/server/DataFilerScheduler.java
labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management/src/main/resources/oracle/monitoring-mappings.hbm.xml
Log:
Merged FP2
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -34,7 +34,7 @@
<property name="org.jboss.esb.internal.jar.dest" location="build/jbossesb/lib"/>
<!-- JBoss ESB version -->
- <property name="version" value="4.2.1GA"/>
+ <property name="version" value="4.2.1TP2"/>
<property name="esb.server.name" value="jbossesb-server-${version}"/>
<property name="esbserver.dist.dir" value="${org.jboss.esb.internal.dest}/${esb.server.name}"/>
@@ -290,7 +290,6 @@
<mkdir dir="${org.jboss.esb.installationdirectory}/docs"/>
<copy file="docs/README_FIRST.txt" todir="${org.jboss.esb.installationdirectory}/docs"/>
- <copy file="docs/FAQ.txt" todir="${org.jboss.esb.installationdirectory}/docs"/>
<copy todir="${org.jboss.esb.installationdirectory}/docs">
<fileset dir="docs">
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/docs/FAQ.txt
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/docs/FAQ.txt 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/docs/FAQ.txt 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,24 +0,0 @@
-Frequently Asked Questions (FAQs)
-
-Question 1: I was used to using the old configuration model. How do I transition to using the new XSD based model?
-
-Answer: See Transitioning From The Old Configuration Model.
-
-Question 2: Can I put whatever markup I like, wherever I like, in the new XSD based configuration?
-
-Answer: No! The new XSD based configuration only supports free-form markup on <property> elements/types and even there, the XSD to ConfigTree mapping that's currently in place, only supports mapping from <property> elements contained within an <action> i.e. the free form <property> child content is not mapped from <bus> or <listener> elements.
-See Transitioning From The Old Configuration Model.
-
-Question 3: Why does the XSD based configuration specify <listeners> and <actions>, as well as an optional “service-class” attribute on the <service> type?
-
-Answer: Sorry, but the answer to this question is quite convoluted. The reason the “service-class” attribute is on the <service> element is down to 2 factors:
-1.A known issue in the ESB (http://jira.jboss.com/jira/browse/JBESB-280).
-2.The need to be able to override the default listener class for a Gateway or Message Aware Listener.
-
-In hindsight however, adding this attribute here may not have been the best workaround. Hopefully the “service-class” attribute is only a short term feature of the XSD configuration.
-
-Question 4: Why does the XSD based configuration specify “target-service-name” and “target-service-category” attributes on the <service> type?
-
-Answer: As a workaround to a known issue in the ESB (http://jira.jboss.com/jira/browse/JBESB-280).
-
-
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/docs/MessageActionGuide.odt
===================================================================
(Binary files differ)
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/etc/schemas/xml/jbossesb-1.0.1.xsd
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/etc/schemas/xml/jbossesb-1.0.1.xsd 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/etc/schemas/xml/jbossesb-1.0.1.xsd 2008-07-07 16:11:35 UTC (rev 20943)
@@ -989,8 +989,7 @@
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
- <xsd:attribute name="password" type="xsd:string"
- use="required">
+ <xsd:attribute name="password" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The password used to access the ftp server.
@@ -1104,8 +1103,9 @@
use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
- The url to a certificate, which can be needed
- for secure protocols (sftp and ftps).
+ The url to a public server certificate for ftps, or to a
+ private certificate for sftp client verification. sftp certificate
+ can be located via a resource.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
@@ -1113,11 +1113,19 @@
use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
- The common name of a certificate, which can be needed
- for secure protocols (sftp and ftps).
+ The common name of a certificate, which may be needed
+ for ftps.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
+ <xsd:attribute name="certificate-passphrase" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The passphrase of the private key, if necessary, for sftp client verification.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
<xsd:attribute default="false" name="read-only"
type="xsd:boolean" use="optional">
<xsd:annotation>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/install/conf/actionArtifactMap.properties
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/install/conf/actionArtifactMap.properties 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/install/conf/actionArtifactMap.properties 2008-07-07 16:11:35 UTC (rev 20943)
@@ -46,6 +46,7 @@
# smooks.esb actions
org.jboss.soa.esb.actions.converters.SmooksTransformer=smooks.esb
+org.jboss.soa.esb.smooks.SmooksAction=smooks.esb
# management.esb actions
org.jboss.soa.esb.monitoring.server.DataFilerAction=management.esb
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/lib/ext/wsdl4j-1.6.2.jar (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/lib/ext/wsdl4j-1.6.2.jar)
===================================================================
(Binary files differ)
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/couriers/JmsCourier.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/couriers/JmsCourier.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/couriers/JmsCourier.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -28,12 +28,12 @@
import java.util.Properties;
import javax.jms.DeliveryMode;
+import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.MessageConsumer;
import javax.jms.MessageProducer;
import javax.jms.ObjectMessage;
import javax.jms.Session;
-import javax.jms.Topic;
import javax.naming.Context;
import javax.naming.NamingException;
import javax.xml.parsers.ParserConfigurationException;
@@ -98,26 +98,28 @@
public void cleanup() {
synchronized(this) {
- if (_messageProducer != null) {
- try {
- _messageProducer.close();
- } catch (Exception e) {
- _logger.debug(e.getMessage(), e);
- } finally {
- _messageProducer = null;
- closeSession();
+ try {
+ if (_messageProducer != null) {
+ try {
+ _messageProducer.close();
+ } catch (Exception e) {
+ _logger.debug(e.getMessage(), e);
+ } finally {
+ _messageProducer = null;
+ }
}
- }
- if (_messageConsumer != null) {
- try {
- _messageConsumer.close();
- } catch (JMSException e) {
- _logger.debug(e.getMessage(), e);
- } finally {
- _messageConsumer = null;
- closeSession();
+ if (_messageConsumer != null) {
+ try {
+ _messageConsumer.close();
+ } catch (JMSException e) {
+ _logger.debug(e.getMessage(), e);
+ } finally {
+ _messageConsumer = null;
+ }
}
+ } finally {
+ closeSession() ;
}
}
} // ________________________________
@@ -269,7 +271,7 @@
synchronized(this) {
try {
- if (jmsSession.getTransacted()) {
+ if ((jmsSession != null) && jmsSession.getTransacted()) {
jmsSession.rollback() ;
return false ;
} else {
@@ -311,48 +313,46 @@
} // ________________________________
private void createMessageProducer() throws CourierException, NamingContextException {
- Context oJndiCtx = null;
-
synchronized(this) {
if (_messageProducer == null) {
try {
- oJndiCtx = NamingContextPool.getNamingContext(_epr.getJndiEnvironment());
-
- String sType = _epr.getDestinationType();
- if (JMSEpr.QUEUE_TYPE.equals(sType)) {
- Session qSess = getJmsSession(_epr.getAcknowledgeMode());
- javax.jms.Queue queue = null;
- try {
- queue = (javax.jms.Queue) oJndiCtx.lookup(_epr
- .getDestinationName());
- } catch (NamingException ne) {
+ final Session session = getJmsSession(_epr.getAcknowledgeMode());
+ Destination destination = null ;
+ final String destinationName = _epr.getDestinationName() ;
+ Context oJndiCtx = NamingContextPool.getNamingContext(_epr.getJndiEnvironment());
+ try {
+ String sType = _epr.getDestinationType();
+ if (JMSEpr.QUEUE_TYPE.equals(sType)) {
try {
- oJndiCtx = NamingContextPool.replaceNamingContext(oJndiCtx, _epr.getJndiEnvironment());
- queue = (javax.jms.Queue) oJndiCtx.lookup(_epr
- .getDestinationName());
- } catch (NamingException nex) {
- //ActiveMQ
- queue = qSess.createQueue(_epr.getDestinationName());
+ destination = (Destination) oJndiCtx.lookup(destinationName);
+ } catch (NamingException ne) {
+ try {
+ oJndiCtx = NamingContextPool.replaceNamingContext(oJndiCtx, _epr.getJndiEnvironment());
+ destination = (Destination) oJndiCtx.lookup(destinationName);
+ } catch (NamingException nex) {
+ //ActiveMQ
+ destination = session.createQueue(destinationName);
+ }
}
+ } else if (JMSEpr.TOPIC_TYPE.equals(sType)) {
+ try {
+ destination = (Destination) oJndiCtx.lookup(destinationName);
+ }
+ catch (NamingException ne) {
+ destination = session.createTopic(destinationName);
+ }
+ } else {
+ throw new CourierException("Unknown destination type");
}
- _messageProducer = qSess.createProducer(queue);
- } else if (JMSEpr.TOPIC_TYPE.equals(sType)) {
- Session tSess = getJmsSession(_epr.getAcknowledgeMode());
- Topic topic = null;
- try {
- topic = (Topic) oJndiCtx.lookup(_epr
- .getDestinationName());
+ _messageProducer = session.createProducer(destination);
+ _messageProducer.setDeliveryMode(_epr.getPersistent()?DeliveryMode.PERSISTENT:DeliveryMode.NON_PERSISTENT);
+ if ( _logger.isDebugEnabled() )
+ _logger.debug("JMSCourier deliveryMode: " + _messageProducer.getDeliveryMode() + ", peristent:" + _epr.getPersistent());
+ } finally {
+ if (oJndiCtx != null) {
+ NamingContextPool.releaseNamingContext(oJndiCtx) ;
}
- catch (NamingException ne) {
- topic = tSess.createTopic(_epr.getDestinationName());
- }
- _messageProducer = tSess.createProducer(topic);
- } else {
- throw new CourierException("Unknown destination type");
}
- _messageProducer.setDeliveryMode(_epr.getPersistent()?DeliveryMode.PERSISTENT:DeliveryMode.NON_PERSISTENT);
- if ( _logger.isDebugEnabled() )
- _logger.debug("JMSCourier deliveryMode: " + _messageProducer.getDeliveryMode() + ", peristent:" + _epr.getPersistent());
}
catch (JMSException ex) {
_logger.debug("Error from JMS system.", ex);
@@ -361,10 +361,6 @@
}
catch (URISyntaxException ex) {
throw new CourierException(ex);
- } finally {
- if (oJndiCtx != null) {
- NamingContextPool.releaseNamingContext(oJndiCtx) ;
- }
}
}
}
@@ -491,42 +487,39 @@
boolean success = false;
try {
Properties environment = _epr.getJndiEnvironment();
+ final Session session = getJmsSession(_epr.getAcknowledgeMode());
+ Destination destination = null ;
+ final String destinationName = _epr.getDestinationName() ;
oJndiCtx = NamingContextPool.getNamingContext(environment);
try
{
String sType = _epr.getDestinationType();
if (JMSEpr.QUEUE_TYPE.equals(sType)) {
- Session qSess = getJmsSession(_epr.getAcknowledgeMode());
- javax.jms.Queue queue = null;
try {
- queue = (javax.jms.Queue) oJndiCtx.lookup(_epr
- .getDestinationName());
+ destination = (Destination) oJndiCtx.lookup(destinationName);
} catch (NamingException ne) {
try {
oJndiCtx = NamingContextPool.replaceNamingContext(oJndiCtx, environment);
- queue = (javax.jms.Queue) oJndiCtx.lookup(_epr
- .getDestinationName());
+ destination = (Destination) oJndiCtx.lookup(destinationName);
} catch (NamingException nex) {
//ActiveMQ
- queue = qSess.createQueue(_epr.getDestinationName());
+ destination = session.createQueue(destinationName);
}
}
- _messageConsumer = qSess.createConsumer(queue, _epr.getMessageSelector());
} else if (JMSEpr.TOPIC_TYPE.equals(sType)) {
- Session tSess = getJmsSession(_epr.getAcknowledgeMode());
- Topic topic = null;
try {
- topic = (Topic) oJndiCtx.lookup(_epr
- .getDestinationName());
+ destination = (Destination) oJndiCtx.lookup(destinationName);
}
catch (NamingException ne) {
- topic = tSess.createTopic(_epr.getDestinationName());
+ destination = session.createTopic(destinationName);
}
- _messageConsumer = tSess.createConsumer(topic, _epr
- .getMessageSelector());
} else {
throw new CourierException("Unknown destination type");
}
+ if (destination == null) {
+ throw new CourierException("Could not locate destination: " + destinationName);
+ }
+ _messageConsumer = session.createConsumer(destination, _epr.getMessageSelector());
success = true;
} finally {
NamingContextPool.releaseNamingContext(oJndiCtx) ;
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/couriers/SqlTableCourier.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/couriers/SqlTableCourier.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/couriers/SqlTableCourier.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -24,6 +24,7 @@
import org.apache.log4j.Logger;
import org.jboss.internal.soa.esb.couriers.helpers.JDBCEprDBResourceFactory;
+import org.jboss.internal.soa.esb.util.StreamUtils;
import org.jboss.soa.esb.addressing.Call;
import org.jboss.soa.esb.addressing.eprs.JDBCEpr;
import org.jboss.soa.esb.common.TransactionStrategy;
@@ -34,13 +35,18 @@
import org.jboss.soa.esb.message.util.Type;
import org.jboss.soa.esb.util.Util;
+import java.io.Reader;
import java.io.Serializable;
import java.net.URI;
import java.net.URISyntaxException;
+import java.sql.Blob;
+import java.sql.Clob;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
+import java.sql.ResultSetMetaData;
import java.sql.SQLException;
+import java.sql.Types;
import java.util.UUID;
public class SqlTableCourier implements PickUpOnlyCourier, DeliverOnlyCourier
@@ -284,6 +290,8 @@
selectUpdateStatement.setString(2, State.Pending.getColumnValue());
ResultSet resultSet = selectUpdateStatement.executeQuery();
+ final ResultSetMetaData metaData = resultSet.getMetaData() ;
+ final int type = metaData.getColumnType(1) ;
try
{
if (resultSet.next())
@@ -292,8 +300,22 @@
try
{
- Serializable blob = (Serializable) resultSet.getObject(1);
- result = Util.deserialize(blob);
+ final Serializable value ;
+ if (type == Types.BLOB)
+ {
+ final Blob blob = resultSet.getBlob(1) ;
+ value = StreamUtils.readStreamString(blob.getBinaryStream(), "UTF-8");
+ }
+ else if (type == Types.CLOB)
+ {
+ final Clob clob = resultSet.getClob(1) ;
+ value = StreamUtils.readReader(clob.getCharacterStream());
+ }
+ else
+ {
+ value = (Serializable) resultSet.getObject(1);
+ }
+ result = Util.deserialize(value);
}
catch (Exception e)
{
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/dependencies/H2Database.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/dependencies/H2Database.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/dependencies/H2Database.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -25,7 +25,10 @@
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
+import java.sql.SQLException;
+import java.sql.Statement;
+import org.h2.tools.Server;
import org.jboss.system.ServiceMBeanSupport;
import org.jboss.system.server.ServerConfigLocator;
@@ -39,235 +42,444 @@
* @author <a href="mailto:vesco.claudio at previnet.it">Claudio Vesco</a>
* @author <a href="mailto:dimitris at jboss.org">Dimitris Andreadis</a>
* @author <a href="mailto:kevin.conner at jboss.org">Kevin Conner</a>
+ * @author <a href="mailto:dbevenius at redhat.com">Daniel Bevenius</a>
* @version $Revision$
*/
-public class H2Database extends ServiceMBeanSupport
- implements H2DatabaseMBean
+public class H2Database extends ServiceMBeanSupport implements H2DatabaseMBean
{
- /** Default password: <code>empty string</code>. */
- private static final String DEFAULT_PASSWORD = "";
+ /** Default password: <code>empty string</code>. */
+ private static final String DEFAULT_PASSWORD = "";
+
+ /** Default user: <code>sa</code>. */
+ private static final String DEFAULT_USER = "sa";
+
+ /** JDBC Driver class: <code>org.h2.Driver</code>. */
+ private static final String JDBC_DRIVER_CLASS = "org.h2.Driver";
+
+ /** JDBC URL common prefix: <code>jdbc:h2:</code>. */
+ private static final String JDBC_URL_PREFIX = "jdbc:h2:";
- /** Default user: <code>sa</code>. */
- private static final String DEFAULT_USER = "sa";
+ /** JDBC in memory URL prefix: <code>jdbc:h2:mem:</code>. */
+ private static final String JDBC_MEM_URL_PREFIX = JDBC_URL_PREFIX + "mem:";
+
+ /** JDBC flags */
+ private static final String DEFAULT_FLAGS = ";MVCC=TRUE;DB_CLOSE_ON_EXIT=FALSE";
+
+ /** Default data subdir: <code>h2</code>. */
+ private static final String H2_DATA_DIR = "h2";
+
+ /** Default database name: <code>default</code>. */
+ private static final String DEFAULT_DATABASE_NAME = "default";
+
+ /** Default address for remote h2: <code>0.0.0.0</code>. */
+ private static final String DEFAULT_ADDRESS = "0.0.0.0";
+
+ /** Default port for remote h2: <code>9092</code>. */
+ private static final int DEFAULT_PORT = 9092;
+
+ /** Default delay for remote hypersonic initialisation (ms): <code>5000</code>. */
+ private static final long DEFAULT_DELAY = 5000;
+
+ // Private Data --------------------------------------------------
+
+ /** Full path to db/h2. */
+ private File dbPath;
+
+ /** Database name. */
+ private String name = DEFAULT_DATABASE_NAME;
+
+ /** In memory mode. */
+ private boolean inMemoryMode ;
+
+ /** Database user. */
+ private String user = DEFAULT_USER;
+
+ /** Database password. */
+ private String password = DEFAULT_PASSWORD;
+
+ /** Database flags */
+ private String flags = DEFAULT_FLAGS ;
+
+ /** Hold a connection for in memory h2. */
+ private Connection connection;
+
+ /** Default address. */
+ private String address = DEFAULT_ADDRESS;
+
+ /** Default port. */
+ private int port = DEFAULT_PORT;
+
+ /** Server/remote mode. */
+ private boolean serverMode = false;
- /** JDBC Driver class: <code>org.h2.Driver</code>. */
- private static final String JDBC_DRIVER_CLASS = "org.h2.Driver";
-
- /** JDBC URL common prefix: <code>jdbc:h2:</code>. */
- private static final String JDBC_URL_PREFIX = "jdbc:h2:";
-
- /** JDBC in memory URL prefix: <code>jdbc:h2:mem:</code>. */
- private static final String JDBC_MEM_URL_PREFIX = JDBC_URL_PREFIX + "mem:";
-
- /** Default data subdir: <code>h2</code>. */
- private static final String H2_DATA_DIR = "h2";
-
- /** Default database name: <code>default</code>. */
- private static final String DEFAULT_DATABASE_NAME = "default";
+ /** Server thread for remote h2. */
+ private Thread serverThread;
+
+ /** The remote server instance */
+ private Server remoteServer ;
+
+ /** Server thread delay for remote H2. */
+ private long delay = DEFAULT_DELAY ;
- // Private Data --------------------------------------------------
+ // Attributes ----------------------------------------------------
- /** Full path to db/h2. */
- private File dbPath;
+ /**
+ * Set the database name.
+ *
+ * @jmx.managed-attribute
+ */
+ public void setDatabase(String name)
+ {
+ if (name == null)
+ {
+ name = DEFAULT_DATABASE_NAME;
+ }
+ this.name = name;
+ }
- /** Database name. */
- private String name = DEFAULT_DATABASE_NAME;
-
- /** In memory mode. */
- private boolean inMemoryMode ;
-
- /** Database user. */
- private String user = DEFAULT_USER;
-
- /** Database password. */
- private String password = DEFAULT_PASSWORD;
-
- /** Hold a connection for in memory h2. */
- private Connection connection;
+ /**
+ * Get the database name.
+ *
+ * @jmx.managed-attribute
+ */
+ public String getDatabase()
+ {
+ return name;
+ }
+
+ /**
+ * Get the full database path.
+ *
+ * @jmx.managed-attribute
+ */
+ public String getDatabasePath()
+ {
+ if (dbPath != null)
+ {
+ return dbPath.toString();
+ }
+ else
+ {
+ return null;
+ }
+ }
+
+ /**
+ * @return the <code>inMemoryMode</code> flag.
+ *
+ * @jmx.managed-attribute
+ */
+ public boolean isInMemoryMode()
+ {
+ return inMemoryMode;
+ }
+ /**
+ * If <b>true</b> the h2 is in memory mode otherwise embedded mode.
+ *
+ * @param b in memory mode.
+ *
+ * @jmx.managed-attribute
+ */
+ public void setInMemoryMode( boolean b )
+ {
+ inMemoryMode = b;
+ }
+
+ /**
+ * @return the password
+ *
+ * @jmx.managed-attribute
+ */
+ public String getPassword()
+ {
+ return password;
+ }
- // Attributes ----------------------------------------------------
+ /**
+ * @return the user
+ *
+ * @jmx.managed-attribute
+ */
+ public String getUser()
+ {
+ return user;
+ }
+
+ /**
+ * @return the flags
+ *
+ * @jmx.managed-attribute
+ */
+ public String getFlags()
+ {
+ return flags;
+ }
+
+ /**
+ * @param password
+ *
+ * @jmx.managed-attribute
+ */
+ public void setPassword(String password)
+ {
+ if (password == null)
+ {
+ password = DEFAULT_PASSWORD;
+ }
+ this.password = password;
+ }
+
+ /**
+ * @param user
+ *
+ * @jmx.managed-attribute
+ */
+ public void setUser(String user)
+ {
+ if (user == null)
+ {
+ user = DEFAULT_USER;
+ }
+ this.user = user;
+ }
+
+ /**
+ * @param flags
+ *
+ * @jmx.managed-attribute
+ */
+ public void setFlags(String flags)
+ {
+ if (flags == null)
+ {
+ flags = DEFAULT_FLAGS;
+ }
+ this.flags = flags;
+ }
- /**
- * Set the database name.
- *
- * @jmx.managed-attribute
- */
- public void setDatabase(String name)
- {
- if (name == null)
- {
- name = DEFAULT_DATABASE_NAME;
- }
- this.name = name;
- }
+ /**
+ * @return the serverMode
+ *
+ * @jmx.managed-attribute
+ */
+ public boolean isServerMode()
+ {
+ return serverMode;
+ }
- /**
- * Get the database name.
- *
- * @jmx.managed-attribute
- */
- public String getDatabase()
- {
- return name;
- }
+ /**
+ * @param serverMode
+ *
+ * @jmx.managed-attribute
+ */
+ public void setServerMode( boolean serverMode )
+ {
+ this.serverMode = serverMode;
+ }
- /**
- * Get the full database path.
- *
- * @jmx.managed-attribute
- */
- public String getDatabasePath()
- {
- if (dbPath != null)
- {
- return dbPath.toString();
- }
- else
- {
- return null;
- }
- }
+ /**
+ * @return the address
+ *
+ * @jmx.managed-attribute
+ */
+ public String getBindAddress()
+ {
+ return address;
+ }
- /**
- * @return the <code>inMemoryMode</code> flag.
- *
- * @jmx.managed-attribute
- */
- public boolean isInMemoryMode()
- {
- return inMemoryMode;
- }
+ /**
+ * @return the port
+ *
+ * @jmx.managed-attribute
+ */
+ public int getPort()
+ {
+ return port;
+ }
- /**
- * If <b>true</b> the h2 is in memory mode otherwise h2 is in server or remote mode.
- *
- * @param b in memory mode.
- *
- * @jmx.managed-attribute
- */
- public void setInMemoryMode(boolean b)
- {
- inMemoryMode = b;
- }
+ /**
+ * @param address
+ *
+ * @jmx.managed-attribute
+ */
+ public void setBindAddress(String address)
+ {
+ this.address = address;
+ }
- /**
- * @return the password
- *
- * @jmx.managed-attribute
- */
- public String getPassword()
- {
- return password;
- }
+ /**
+ * @param port
+ *
+ * @jmx.managed-attribute
+ */
+ public void setPort(int port)
+ {
+ this.port = port;
+ }
+
+ /**
+ * Set the delay for remote hypersonic initialisation.
+ *
+ * @jmx.managed-attribute
+ */
+ public void setDelay(final long delay)
+ {
+ this.delay = delay;
+ }
+
+ /**
+ * Get the delay for remote hypersonic initialisation.
+ *
+ * @jmx.managed-attribute
+ */
+ public long getDelay()
+ {
+ return delay;
+ }
+
+ // Lifecycle -----------------------------------------------------
+
+ /**
+ * Start the database
+ */
+ protected void startService() throws Exception
+ {
+ if (serverMode)
+ {
+ startRemoteDatabase();
+ }
+ else if (inMemoryMode)
+ {
+ startInMemoryDatabase();
+ }
+ else
+ {
+ startStandaloneDatabase();
+ }
+ }
- /**
- * @return the user
- *
- * @jmx.managed-attribute
- */
- public String getUser()
- {
- return user;
- }
+ /**
+ * We now close the connection clean by calling the
+ * serverSocket throught jdbc. The MBeanServer calls this
+ * method at closing time.
+ */
+ protected void stopService() throws Exception
+ {
+ if (serverMode)
+ {
+ stopRemoteDatabase();
+ }
+ else if (inMemoryMode)
+ {
+ stopInMemoryDatabase();
+ }
+ else
+ {
+ stopStandaloneDatabase();
+ }
+ }
- /**
- * @param password
- *
- * @jmx.managed-attribute
- */
- public void setPassword(String password)
- {
- if (password == null)
- {
- password = DEFAULT_PASSWORD;
- }
- this.password = password;
- }
+ // Private -------------------------------------------------------
+
+ /**
+ * Start the standalone (in process) database.
+ */
+ private void startStandaloneDatabase() throws Exception
+ {
+ final File h2Dir = checkDataDir() ;
+
+ dbPath = new File(h2Dir, name);
+
+ final String dbURL = JDBC_URL_PREFIX + dbPath.toURI().toString() + flags ;
+ log.info(dbURL);
+
+ // Check we have connectivity
+ connection = getConnection(dbURL);
+ }
- /**
- * @param user
- *
- * @jmx.managed-attribute
+ /**
+ * Start the only in memory database.
*/
- public void setUser(String user)
- {
- if (user == null)
- {
- user = DEFAULT_USER;
- }
- this.user = user;
- }
+ private void startInMemoryDatabase() throws Exception
+ {
+ final String dbURL = JDBC_MEM_URL_PREFIX + name + flags ;
- // Lifecycle -----------------------------------------------------
+ // hold a connection so h2 does not close the database
+ connection = getConnection(dbURL);
+ }
- /**
- * Start the database
- */
- protected void startService() throws Exception
- {
- if (inMemoryMode)
- {
- startInMemoryDatabase();
- }
- else
- {
- startStandaloneDatabase();
- }
- }
+ /**
+ * Start a remote/server database
+ * @throws Exception
+ */
+ private void startRemoteDatabase() throws Exception
+ {
+ final File h2Dir = checkDataDir() ;
+ dbPath = new File(h2Dir, name);
+
+ // Start DB in new thread, or else it will block us
+ serverThread = new Thread("h2-" + name)
+ {
+ public void run()
+ {
+ try
+ {
+ log.debug( "Starting remote h2 db with port : " + port );
+ final String[] args = new String[] {
+ "-baseDir", dbPath.getAbsolutePath(),
+ "-tcpPort", String.valueOf(port),
+ "-tcpAllowOthers","" }; // need the extra empty string or a exception is thrown by H2
+ final Server server = Server.createTcpServer(args) ;
+ server.start() ;
+ setRemoteServer(server);
+ }
+ catch (Exception e)
+ {
+ log.error("Failed to start database", e);
+ }
+ }
+ };
+
+ serverThread.start();
+
+ if (delay > 0)
+ {
+ log.debug("Waiting for Database initialisation: maximum " + delay + " milliseconds") ;
+ try
+ {
+ serverThread.join(delay) ;
+ }
+ catch (final InterruptedException ie)
+ {
+ Thread.currentThread().interrupt() ;
+ }
+
+ if (serverThread.isAlive())
+ {
+ log.warn("Database initialisation is still active") ;
+ }
+ else
+ {
+ log.debug("Database initialisation completed") ;
+ }
+ }
+ }
/**
- * We now close the connection clean by calling the
- * serverSocket throught jdbc. The MBeanServer calls this
- * method at closing time.
+ * Stop the standalone (in process) database.
*/
- protected void stopService() throws Exception
+ private void stopStandaloneDatabase() throws Exception
{
- if (inMemoryMode)
+ try
{
- stopInMemoryDatabase();
+ final Statement stmt = connection.createStatement() ;
+ stmt.execute("shutdown") ;
}
- else
+ finally
{
- stopStandaloneDatabase();
+ connection = null;
}
- }
-
- // Private -------------------------------------------------------
-
- /**
- * Start the standalone (in process) database.
- */
- private void startStandaloneDatabase() throws Exception
- {
- final File h2Dir = checkDataDir() ;
-
- dbPath = new File(h2Dir, name);
-
- final String dbURL = JDBC_URL_PREFIX + dbPath.toURI().toString();
-
- // Check wee have connectivity
- final Connection connection = getConnection(dbURL);
- connection.close() ;
- }
-
- /**
- * Start the only in memory database.
- */
- private void startInMemoryDatabase() throws Exception
- {
- final String dbURL = JDBC_MEM_URL_PREFIX + name;
-
- // hold a connection so h2 does not close the database
- connection = getConnection(dbURL);
- }
-
- /**
- * Stop the standalone (in process) database.
- */
- private void stopStandaloneDatabase() throws Exception
- {
- // Nothing to do here
log.info("Database standalone closed clean");
}
@@ -288,46 +500,80 @@
}
/**
- * Get the connection.
- *
- * @param dbURL jdbc url.
- * @return the connection, allocate one if needed.
- * @throws Exception
+ * Stop the remote database.
*/
- private synchronized Connection getConnection(String dbURL) throws Exception
+ private void stopRemoteDatabase() throws SQLException
{
- if (connection == null)
- {
- ClassLoader cl = Thread.currentThread().getContextClassLoader();
- Class.forName(JDBC_DRIVER_CLASS, true, cl).newInstance();
- connection = DriverManager.getConnection(dbURL, user, password);
- }
- return connection;
+ final Server server = getRemoteServer() ;
+ if (server != null)
+ {
+ server.stop() ;
+ }
}
/**
- * Check the existence of the h2 data directory.
- * @return The h2 data directory.
- * @throws IOException For errors checking/creating the h2 data directory.
+ * Set the remote server instance.
+ * @param remoteServer The remote server instance.
*/
- private File checkDataDir()
- throws IOException
+ private synchronized void setRemoteServer(final Server remoteServer)
{
- // Get the server data directory
- final File dataDir = ServerConfigLocator.locate().getServerDataDir();
+ this.remoteServer = remoteServer ;
+ }
+
+ /**
+ * Get the remote server instance.
+ * @return The remote server instance.
+ */
+ private synchronized Server getRemoteServer()
+ {
+ return remoteServer ;
+ }
+
+ /**
+ * Get the connection.
+ *
+ * @param dbURL jdbc url.
+ * @return the connection, allocate one if needed.
+ * @throws Exception
+ */
+ private synchronized Connection getConnection(String dbURL) throws Exception
+ {
+ if (connection == null)
+ {
+ ClassLoader cl = Thread.currentThread().getContextClassLoader();
+ Class.forName(JDBC_DRIVER_CLASS, true, cl).newInstance();
+ connection = DriverManager.getConnection(dbURL, user, password);
+ }
+ return connection;
+ }
+
+ /**
+ * Check the existence of the h2 data directory.
+ * @return The h2 data directory.
+ * @throws IOException For errors checking/creating the h2 data directory.
+ */
+ private File checkDataDir() throws IOException
+ {
+ // Get the server data directory
+ final File dataDir = getDataDir();
- // Get DB directory
- final File h2Dir = new File(dataDir, H2_DATA_DIR);
+ // Get DB directory
+ final File h2Dir = new File(dataDir, H2_DATA_DIR);
- if (!h2Dir.exists())
- {
- h2Dir.mkdirs();
- }
- else if (!h2Dir.isDirectory())
- {
- throw new IOException("Failed to create directory: " + h2Dir);
- }
- return h2Dir ;
- }
+ if (!h2Dir.exists())
+ {
+ h2Dir.mkdirs();
+ }
+ else if (!h2Dir.isDirectory())
+ {
+ throw new IOException("Failed to create directory: " + h2Dir);
+ }
+ return h2Dir ;
+ }
+
+ File getDataDir()
+ {
+ return ServerConfigLocator.locate().getServerDataDir();
+ }
}
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/dependencies/H2DatabaseMBean.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/dependencies/H2DatabaseMBean.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/dependencies/H2DatabaseMBean.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -33,7 +33,7 @@
* A few notes on h2 running modes:
*
* remote (server) mode
- * Not supported yet
+ * h2 can be connected to vid tcp
*
* in-process (standalone) mode
* h2 can only be contacted from in-vm clients
@@ -68,4 +68,20 @@
/** In memory mode */
boolean isInMemoryMode() ;
void setInMemoryMode(boolean b) ;
+
+ /** Server/remote mode */
+ boolean isServerMode() ;
+ void setServerMode(boolean mode) ;
+
+ /** The flags to use when connecting to the DB, default is "" */
+ String getFlags();
+ void setFlags(String flags);
+
+ /** The listening port when in remove server mode, default is '9092' */
+ int getPort();
+ void setPort(int port);
+
+ /** The binding address, default is '0.0.0.0' */
+ String getBindAddress();
+ void setBindAddress(String address);
}
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/remoting/HttpUnmarshaller.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/remoting/HttpUnmarshaller.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/remoting/HttpUnmarshaller.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -101,10 +101,6 @@
int amtRead = inputStream.read(byteBuffer);
while (amtRead > 0) {
byteOutputStream.write(byteBuffer, pointer, amtRead);
- if (amtRead < bufferSize && byteOutputStream.size() >= contentLength) {
- //done reading, so process
- break;
- }
amtRead = inputStream.read(byteBuffer);
}
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/JmsConnectionPool.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/JmsConnectionPool.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/JmsConnectionPool.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -24,8 +24,17 @@
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
+import java.util.List;
import java.util.Map;
import java.util.Properties;
+import java.util.concurrent.Callable;
+import java.util.concurrent.CompletionService;
+import java.util.concurrent.ExecutionException;
+import java.util.concurrent.Executor;
+import java.util.concurrent.ExecutorCompletionService;
+import java.util.concurrent.Executors;
+import java.util.concurrent.Future;
+import java.util.concurrent.ThreadFactory;
import javax.jms.Connection;
import javax.jms.ConnectionFactory;
@@ -64,6 +73,15 @@
private static int CONFIGURED_POOL_SIZE = DEFAULT_POOL_SIZE;
private static int CONFIGURED_SLEEP = DEFAULT_SLEEP;
+ /**
+ * The executor used to create sessions.
+ */
+ private static final Executor SESSION_EXECUTOR = Executors.newSingleThreadExecutor(new DaemonThreadFactory()) ;
+ /**
+ * The completion service.
+ */
+ private static final CompletionService<JmsSession> COMPLETION_SERVICE = new ExecutorCompletionService<JmsSession>(SESSION_EXECUTOR) ;
+
/** Maximum number of Sessions that will be created in this pool */
private int MAX_SESSIONS = DEFAULT_POOL_SIZE; //TODO Make this manageable
@@ -104,6 +122,11 @@
private boolean terminated ;
/**
+ * The pool instance id.
+ */
+ private long id ;
+
+ /**
* Contructor of the pool.
*
*/
@@ -138,16 +161,44 @@
private synchronized void addAnotherSession(Map<String, String> poolKey, final boolean transacted, final int acknowledgeMode)
throws JMSException
{
+ final Future<JmsSession> future = COMPLETION_SERVICE.submit(new Callable<JmsSession>() {
+ public JmsSession call()
+ throws JMSException
+ {
+ final JmsSession session ;
+ if (transacted) {
+ session = new JmsXASession(JmsConnectionPool.this, ((XAConnection)jmsConnection).createXASession(), id);
+ } else {
+ session = new JmsSession(jmsConnection.createSession(transacted, acknowledgeMode), id);
+ }
+ return session ;
+ }
+ }) ;
+
//Create a new Session
ArrayList<JmsSession> freeSessions = freeSessionsMap.get(acknowledgeMode);
// For now we only support JTA transacted sessions
- final JmsSession session ;
- if (transacted) {
- session = new JmsXASession(this, ((XAConnection)jmsConnection).createXASession());
- } else {
- session = new JmsSession(jmsConnection.createSession(transacted, acknowledgeMode));
+ try
+ {
+ freeSessions.add(future.get());
}
- freeSessions.add(session);
+ catch (final InterruptedException ie) {} // ignore
+ catch (final ExecutionException ee)
+ {
+ final Throwable th = ee.getCause() ;
+ if (th instanceof JMSException)
+ {
+ throw (JMSException)th ;
+ }
+ if (th instanceof Error)
+ {
+ throw (Error)th ;
+ }
+ if (th instanceof RuntimeException)
+ {
+ throw (RuntimeException)th ;
+ }
+ }
logger.debug("Number of Sessions in the pool with acknowledgeMode: " + acknowledgeMode + " is now " + getSessionsInPool(acknowledgeMode));
}
@@ -258,19 +309,22 @@
*/
synchronized void handleCloseSession(final JmsSession session)
{
- final int mode ;
- try {
- mode = session.getAcknowledgeMode() ;
- } catch (final JMSException jmse) {
- logger.warn("JMSException while calling getAcknowledgeMode") ;
- logger.debug("JMSException while calling getAcknowledgeMode", jmse) ;
- return ;
+ if (session.getId() == id)
+ {
+ final int mode ;
+ try {
+ mode = session.getAcknowledgeMode() ;
+ } catch (final JMSException jmse) {
+ logger.warn("JMSException while calling getAcknowledgeMode") ;
+ logger.debug("JMSException while calling getAcknowledgeMode", jmse) ;
+ return ;
+ }
+
+ final ArrayList<JmsSession> sessions = (freeSessionsMap == null ? null : freeSessionsMap.get(mode));
+ if (sessions != null) {
+ sessions.add(session) ;
+ }
}
-
- final ArrayList<JmsSession> sessions = (freeSessionsMap == null ? null : freeSessionsMap.get(mode));
- if (sessions != null) {
- sessions.add(session) ;
- }
handleReleaseSession(session) ;
}
@@ -321,6 +375,42 @@
}
/**
+ * This method is called when the pool needs to cleaned. It closes all open sessions
+ * and the connection.
+ */
+ private void cleanSessionPool()
+ {
+ final Connection connection ;
+ synchronized(this)
+ {
+ if (terminated)
+ {
+ return ;
+ }
+ id++ ;
+ for (List<JmsSession> list : freeSessionsMap.values())
+ {
+ list.clear() ;
+ }
+ for (List<JmsSession> list : inUseSessionsMap.values())
+ {
+ list.clear() ;
+ }
+ transactionsToSessions.clear() ;
+ sessionsToTransactions.clear() ;
+
+ logger.debug("Cleared the session pool now closing the connection to the factory.");
+ connection = jmsConnection ;
+ jmsConnection = null ;
+ }
+ if (connection!=null) {
+ try {
+ connection.close();
+ } catch (final Exception ex) {} // ignore
+ }
+ }
+
+ /**
* This method is called when the pool needs to destroyed. It closes all open sessions
* and the connection and removes it from the container's poolMap.
*/
@@ -436,7 +526,7 @@
jmsConnection.setExceptionListener(new ExceptionListener() {
public void onException(JMSException arg0)
{
- removeSessionPool() ;
+ cleanSessionPool() ;
}
}) ;
jmsConnection.start();
@@ -531,4 +621,27 @@
}
}
}
+
+ /**
+ * Thread factory returning daemon threads.
+ * @author kevin
+ */
+ private static final class DaemonThreadFactory implements ThreadFactory
+ {
+ /**
+ * The default executor factory.
+ */
+ private final ThreadFactory defaultFactory = Executors.defaultThreadFactory() ;
+
+ /**
+ * Return a new daemon thread.
+ * @param runnable The runnable associated with the thread.
+ */
+ public Thread newThread(final Runnable runnable)
+ {
+ final Thread thread = defaultFactory.newThread(runnable) ;
+ thread.setDaemon(true) ;
+ return thread ;
+ }
+ }
}
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/JmsSession.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/JmsSession.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/JmsSession.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -52,6 +52,10 @@
* The session delegate.
*/
private final Session session ;
+ /**
+ * The pool instance id.
+ */
+ private final long id ;
/**
* The set of active queue browsers.
@@ -69,15 +73,22 @@
/**
* Create the session wrapper.
* @param session The session delegate.
+ * @param id The pool instance id.
* @param isJTA True if this tales part in a JTA transaction
* @throws JMSException
*/
- JmsSession(final Session session)
+ JmsSession(final Session session, final long id)
throws JMSException
{
+ this.id = id ;
this.session = session ;
}
+ public long getId()
+ {
+ return id ;
+ }
+
public void close() throws JMSException
{
session.close();
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/JmsXASession.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/JmsXASession.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/JmsXASession.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -72,13 +72,13 @@
* Create the session wrapper.
* @param pool The current connection pool
* @param session The session delegate.
- * @param isJTA True if this tales part in a JTA transaction
+ * @param id The pool instance id.
* @throws JMSException
*/
- JmsXASession(final JmsConnectionPool pool, final XASession session)
+ JmsXASession(final JmsConnectionPool pool, final XASession session, final long id)
throws JMSException
{
- super(session) ;
+ super(session, id) ;
this.pool = pool ;
this.session = session ;
}
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/services/registry/JAXRRegistryImpl.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/services/registry/JAXRRegistryImpl.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/services/registry/JAXRRegistryImpl.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -400,7 +400,7 @@
*
* @param organizationName used to match with the name of the organization.
* @return the Organization.
- */
+ */
public static Organization findOrganization(String organizationName, JAXRConnectionFactory jaxrConnectionFactory) throws JAXRException {
if (organizationName==null) {
organizationName="";
@@ -707,8 +707,9 @@
try {
RegistryService rs = connection.getRegistryService();
BusinessQueryManager bqm = rs.getBusinessQueryManager();
- Collection<String> findQualifiers = new ArrayList<String>();
- findQualifiers.add(FindQualifier.SORT_BY_NAME_ASC);
+ Collection<String> findQualifiers = null;
+ //Collection<String> findQualifiers = new ArrayList<String>();
+ //findQualifiers.add(FindQualifier.SORT_BY_DATE_ASC);
BulkResponse bulkResponse = bqm.findServiceBindings(service.getKey(),findQualifiers,null,null);
if (bulkResponse.getStatus()==JAXRResponse.STATUS_SUCCESS){
serviceBindings = (Collection<ServiceBinding>)bulkResponse.getCollection();
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/soap/OGNLUtils.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/soap/OGNLUtils.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/soap/OGNLUtils.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -67,40 +67,46 @@
}
public static String getOGNLExpression(Element element, String nameSpace) {
- StringBuffer ognlExpression = new StringBuffer();
- Node parent = element.getParentNode();
- boolean isInBody = false;
+ String preassignedOgnl = element.getAttributeNS(JBOSSESB_SOAP_NS, OGNL_ATTRIB);
- ognlExpression.append(getOGNLToken(element));
+ if(preassignedOgnl != null && !preassignedOgnl.equals("")) {
+ return preassignedOgnl;
+ } else {
+ StringBuffer ognlExpression = new StringBuffer();
+ Node parent = element.getParentNode();
+ boolean isInBody = false;
- while (parent != null && parent.getNodeType() == Node.ELEMENT_NODE) {
- Element parentElement = (Element) parent;
- String parentName = YADOMUtil.getName(parentElement);
+ ognlExpression.append(getOGNLToken(element));
- if (parentName.equalsIgnoreCase("body") && checkParentNameSpace( parent.getNamespaceURI(), nameSpace ) ) {
- isInBody = true;
- break;
+ while (parent != null && parent.getNodeType() == Node.ELEMENT_NODE) {
+ Element parentElement = (Element) parent;
+ String parentName = YADOMUtil.getName(parentElement);
+
+ if (parentName.equalsIgnoreCase("body") && checkParentNameSpace( parent.getNamespaceURI(), nameSpace ) ) {
+ isInBody = true;
+ break;
+ }
+
+ preassignedOgnl = parentElement.getAttributeNS(JBOSSESB_SOAP_NS, OGNL_ATTRIB);
+ if(preassignedOgnl != null && !preassignedOgnl.equals("")) {
+ ognlExpression.insert(0, "." + preassignedOgnl);
+ isInBody = true;
+ break;
+ } else {
+ ognlExpression.insert(0, getOGNLToken(parentElement));
+ }
+ parent = parent.getParentNode();
}
- String preassignedOgnl = parentElement.getAttributeNS(JBOSSESB_SOAP_NS, OGNL_ATTRIB);
- if(preassignedOgnl != null && !preassignedOgnl.equals("")) {
- ognlExpression.insert(0, "." + preassignedOgnl);
- isInBody = true;
- break;
- } else {
- ognlExpression.insert(0, getOGNLToken(parentElement));
+ if(!isInBody) {
+ return "";
}
- parent = parent.getParentNode();
- }
- if(!isInBody) {
- return "";
+ // Remove the leading '.'
+ ognlExpression.deleteCharAt(0);
+
+ return ognlExpression.toString();
}
-
- // Remove the leading '.'
- ognlExpression.deleteCharAt(0);
-
- return ognlExpression.toString();
}
public static String getOGNLToken(Element element) {
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/FtpImpl.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/FtpImpl.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/FtpImpl.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -228,7 +228,7 @@
if (null == m_sUser)
throw new ConfigurationException("No username specified for FTP");
- m_sPasswd = (null != sa) ? sa[1] : m_oParms.getAttribute(PARMS_PASSWD);
+ m_sPasswd = ((null != sa) && (sa.length > 1)) ? sa[1] : m_oParms.getAttribute(PARMS_PASSWD);
m_sRemoteDir = (null != uri) ? uri.getPath() : m_oParms
.getAttribute(PARMS_REMOTE_DIR);
@@ -569,6 +569,11 @@
final String sRemoteTmp = p_sRemoteName + TMP_SUFFIX;
final OutputStream os = m_oConn.storeFileStream(sRemoteTmp) ;
+ if (os == null)
+ {
+ throw new RemoteFileSystemException("Failed to obtain output stream: " + m_oConn.getReplyString()) ;
+ }
+
try
{
final FileInputStream fis = new FileInputStream(p_oFile) ;
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/FtpsImpl.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/FtpsImpl.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/FtpsImpl.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -237,24 +237,24 @@
final BufferedInputStream bis = new BufferedInputStream(is) ;
final DataInputStream dis = new DataInputStream(bis) ;
- if (bis.available() > 0)
+ if (dis.available() > 0)
{
// We have to skip any preamble to read the certificate
do
{
- bis.mark(BEGIN_CERTIFICATE.length() * 2) ;
+ dis.mark(BEGIN_CERTIFICATE.length() * 2) ;
final String line = dis.readLine() ;
if (BEGIN_CERTIFICATE.equals(line))
{
- bis.reset() ;
+ dis.reset() ;
break ;
}
}
- while (bis.available() > 0) ;
+ while (dis.available() > 0) ;
- if (bis.available() > 0)
+ if (dis.available() > 0)
{
- final X509Certificate cert = (X509Certificate)cf.generateCertificate(bis);
+ final X509Certificate cert = (X509Certificate)cf.generateCertificate(dis);
certificates.add(cert) ;
}
}
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/SecureFtpImpl.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/SecureFtpImpl.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/SecureFtpImpl.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -47,6 +47,7 @@
import org.jboss.soa.esb.common.ModulePropertyManager;
import org.jboss.soa.esb.helpers.ConfigTree;
import org.jboss.soa.esb.helpers.KeyValuePair;
+import org.jboss.soa.esb.util.ClassUtil;
import org.jboss.soa.esb.util.FileUtil;
import org.jboss.soa.esb.util.RemoteFileSystem;
import org.jboss.soa.esb.util.RemoteFileSystemException;
@@ -95,6 +96,9 @@
private String m_sRemoteDir, m_sLocalDir;
+ private URI m_oCertificate;
+ private String m_sPassphrase;
+
/*
* Constructor
*
@@ -159,6 +163,16 @@
ModulePropertyManager.TRANSPORTS_MODULE).getProperty(
Environment.FTP_LOCALDIR, tmpdir);
+ try
+ {
+ m_oCertificate = p_oP.getCertificateURI() ;
+ }
+ catch (final URISyntaxException urise)
+ {
+ _logger.warn(urise) ;
+ }
+ m_sPassphrase = p_oP.getPassphrase() ;
+
configTreeFromEpr();
initialize(p_bConnect);
@@ -196,12 +210,49 @@
if (m_sPasswd != null)
{
- final UserInfo ui = new SecureFtpUserInfo(m_sPasswd);
+ session.setPassword(m_sPasswd) ;
+ session.setConfig("PreferredAuthentications", "password") ;
+ }
+ else if (m_oCertificate != null)
+ {
+ final String certificate = m_oCertificate.toString() ;
+ final InputStream is ;
+ final String certificateName ;
+ final InputStream resourceIS = ClassUtil.getResourceAsStream(certificate, getClass()) ;
+ if (resourceIS != null)
+ {
+ is = resourceIS ;
+ certificateName = getSimpleName(certificate) ;
+ }
+ else
+ {
+ certificateName = getSimpleName(m_oCertificate.getPath()) ;
+ try
+ {
+ if (m_oCertificate.isAbsolute())
+ {
+ is = m_oCertificate.toURL().openStream() ;
+ }
+ else
+ {
+ final File file = new File(m_oCertificate.getPath()) ;
+ is = file.toURL().openStream() ;
+ }
+ }
+ catch (final IOException ioe)
+ {
+ throw new ConfigurationException("Unexpected IOException accessing: " + certificate, ioe) ;
+ }
+ }
+ final byte[] privateKey = StreamUtils.readStream(is) ;
+ m_oJSch.addIdentity(certificateName, privateKey, null, null) ;
+
+ final UserInfo ui = new SecureFtpUserInfo(m_sPassphrase);
session.setUserInfo(ui);
+ session.setConfig("PreferredAuthentications", "publickey") ;
}
session.setConfig("StrictHostKeyChecking", "no") ;
- session.setConfig("PreferredAuthentications", "password") ;
session.connect();
@@ -226,6 +277,26 @@
}
}
}
+
+ private static String getSimpleName(final String name)
+ throws ConfigurationException
+ {
+ if (name == null)
+ {
+ throw new ConfigurationException("Null certificate name") ;
+ }
+ final int lastIndex = name.lastIndexOf('/') ;
+ if (lastIndex >= 0)
+ {
+ final int startIndex = lastIndex+1 ;
+ if (startIndex == name.length())
+ {
+ throw new ConfigurationException("Invalid certificate name: " + name) ;
+ }
+ return name.substring(startIndex) ;
+ }
+ return name ;
+ }
private void checkParms() throws ConfigurationException
{
@@ -251,7 +322,7 @@
if (null == m_sUser)
throw new ConfigurationException("No username specified for SFTP");
- m_sPasswd = (null != sa) ? sa[1] : m_oParms.getAttribute(PARMS_PASSWD);
+ m_sPasswd = ((null != sa) && (sa.length > 1)) ? sa[1] : m_oParms.getAttribute(PARMS_PASSWD);
m_sRemoteDir = (null != uri) ? uri.getPath() : m_oParms.getAttribute(PARMS_REMOTE_DIR);
if (null == m_sRemoteDir)
@@ -266,11 +337,18 @@
try
{
m_iPort = (null != uri) ? uri.getPort() : (null == sAux) ? 22 : Integer.parseInt(sAux);
+ final String certificate = m_oParms.getAttribute(PARMS_CERTIFICATE) ;
+ if (certificate != null)
+ {
+ m_oCertificate = new URI(certificate) ;
+ }
}
catch (Exception ex)
{
throw new ConfigurationException(ex);
}
+
+ m_sPassphrase = m_oParms.getAttribute(PARMS_PASSPHRASE) ;
}
/*
@@ -557,6 +635,10 @@
m_oParms.setAttribute(RemoteFileSystem.PARMS_LOCAL_DIR, m_sLocalDir);
m_oParms.setAttribute(RemoteFileSystem.PARMS_ASCII, Boolean
.toString(false));
+ if (m_oCertificate != null)
+ m_oParms.setAttribute(RemoteFileSystem.PARMS_CERTIFICATE, m_oCertificate.toString()) ;
+ if (m_sPassphrase != null)
+ m_oParms.setAttribute(RemoteFileSystem.PARMS_PASSPHRASE, m_sPassphrase) ;
}
catch (Exception e)
{
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/SecureFtpUserInfo.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/SecureFtpUserInfo.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/SecureFtpUserInfo.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -33,17 +33,17 @@
*/
public class SecureFtpUserInfo implements UserInfo {
- /** The user-password */
- String password = null;
+ /** The user-passphrase */
+ private final String passphrase ;
/**
* Constructor
*
- * @param password
- * The users password.
+ * @param passphrase
+ * The users passphrase.
*/
- public SecureFtpUserInfo(String password) {
- this.password = password;
+ public SecureFtpUserInfo(final String passphrase) {
+ this.passphrase = passphrase;
}
/*
@@ -52,7 +52,7 @@
* @see com.jcraft.jsch.UserInfo#getPassphrase()
*/
public String getPassphrase() {
- return null;
+ return passphrase;
}
/*
@@ -61,7 +61,7 @@
* @see com.jcraft.jsch.UserInfo#getPassword()
*/
public String getPassword() {
- return password;
+ return null;
}
/*
@@ -70,7 +70,7 @@
* @see com.jcraft.jsch.UserInfo#promptPassphrase(java.lang.String)
*/
public boolean promptPassphrase(String arg0) {
- return false;
+ return true;
}
/*
@@ -79,7 +79,7 @@
* @see com.jcraft.jsch.UserInfo#promptPassword(java.lang.String)
*/
public boolean promptPassword(String arg0) {
- return true;
+ return false;
}
/*
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/StreamUtils.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/StreamUtils.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/internal/soa/esb/util/StreamUtils.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -61,6 +61,31 @@
return outBuffer.toByteArray();
}
+
+ /**
+ * Read the supplied Reader and return as a string.
+ * @param reader The reader to read.
+ * @return The reader contents as a string.
+ */
+ public static String readReader(Reader reader) {
+ if(reader == null) {
+ throw new IllegalArgumentException("null 'reader' arg passed in method call.");
+ }
+
+ StringWriter outBuffer = new StringWriter();
+ char[] buffer = new char[256];
+ int readCount = 0;
+
+ try {
+ while((readCount = reader.read(buffer)) != -1) {
+ outBuffer.write(buffer, 0, readCount);
+ }
+ } catch (IOException e) {
+ throw new IllegalStateException("Error reading reader.", e);
+ }
+
+ return outBuffer.toString();
+ }
public static String readStreamString(InputStream stream, String charset) throws UnsupportedEncodingException {
return new String(StreamUtils.readStream(stream), charset);
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/actions/routing/JMSRouter.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/actions/routing/JMSRouter.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/actions/routing/JMSRouter.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -62,25 +62,31 @@
* Sample Action Configuration:
* <pre>
* <action class="org.jboss.soa.esb.actions.routing.JMSRouter">
- * jndiName="queue/A"
- * message-prop-<i>>prop-name<</i>="<i>>prop-value<</i>" >!-- (Optional)--<
- * unwrap="true/false" >!-- (Optional - default false)--<
- * persistent="true/false" >!-- (Optional - default true)--<
- * priority="integer" >!-- (Optional - default Message.DEFAULT_PRIORITY)--<
- * time-to-live="long" >!-- (Optional - default Message.DEFAULT_TIME_TO_LIVE)--<
- * />
+ * <property name="jndiName" value="queue/A"/>
+ * </action>
+ *
+ * Optional attributes:
+ * <property name="unwrap" value="false"/>
+ * <property name="message-prop-<i>>prop-name<</i>="<i>> value="prop-value<</i>" />
+ * <property name="persistent" value="true"/>
+ * <property name="priority" value="javax.jms.Message.DEFAULT_PRIORITY"/>
+ * <property name="time-to-live" value="javax.jms.Message.DEFAULT_TIME_TO_LIVE"/>
+ * <property name="security-principal" value="username"/>
+ * <property name="security-credential" value="pasword"/>
* </pre>
- * Note how properties to be set on the message are prefixed with "message-prop-".
- * <p/>
+ * Description of configuration attribues:
* <ul>
- * <li>'unwrap' true will extract the message payload from the Message object before sending</li>
- * <li>'unwrap' false false will send the serialized Message object</li>
+ * <li><i>message-prop</i>: properties to be set on the message are prefixed with "message-prop-".
+ * <li><i>unwrap</i>:true will extract the message payload from the Message object before sending. false false will send the serialized Message object.
+ * <li><i>persistent</i>: the JMS DeliveryMode. 'true'(default) or 'false'.
+ * <li><i>priority</i>: the JMS Priority to be used.
+ * <li><i>time-to-live</i>: the JMS Time-To-Live to be used.
+ * <li><i>security-principal</i>: security principal use when creating the JMS connection.
+ * <li><i>security-credential</i>: the security credentials to use when creating the JMS connection.
* </ul>
*
- * TODO: Add support for JMS Topic destinations.
- *
* @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- * @author <a href="mailto:daniel.bevenius at redpill.se">daniel.bevenius at redpill.se</a>
+ * @author <a href="mailto:daniel.bevenius at redhat.com">daniel.bevenius at redhat.com</a>
* @since Version 4.0
*/
public class JMSRouter extends AbstractRouter {
@@ -101,6 +107,14 @@
*/
public static final String TIME_TO_LIVE_ATTR = "time-to-live";
/**
+ * Security principal used when creating the JMS connection
+ */
+ public static final String SECURITY_PRINCIPAL = "security-principal";
+ /**
+ * Security credential used when creating the JMS connection
+ */
+ public static final String SECURITY_CREDITIAL = "security-credential";
+ /**
* Routing properties.
*/
private ConfigTree properties;
@@ -160,7 +174,14 @@
if ( ttlStr != null )
timeToLive = Long.parseLong( ttlStr );
- createQueueSetup( queueName );
+ final String securityPrincipal = properties.getAttribute(SECURITY_PRINCIPAL);
+ final String securityCredential = properties.getAttribute(SECURITY_CREDITIAL);
+ if ( securityPrincipal != null && securityCredential == null )
+ throw new ConfigurationException("'" + SECURITY_PRINCIPAL + "' must be accompanied by a '" + SECURITY_CREDITIAL + "'");
+ else if ( securityCredential != null && securityPrincipal == null )
+ throw new ConfigurationException("'" + SECURITY_CREDITIAL + "' must be accompanied by a '" + SECURITY_PRINCIPAL + "'");
+
+ createQueueSetup(queueName, securityPrincipal, securityCredential);
}
/**
@@ -302,10 +323,11 @@
super.finalize();
}
- protected void createQueueSetup( String queueName ) throws ConfigurationException
- {
- try {
- queueSetup = new JMSSendQueueSetup(queueName);
+ void createQueueSetup( final String queueName, final String principal, final String credential ) throws ConfigurationException
+ {
+ try
+ {
+ queueSetup = new JMSSendQueueSetup(queueName,principal,credential);
queueSetup.setDeliveryMode( deliveryMode );
queueSetup.setPriority( priority );
queueSetup.setTimeToLive( timeToLive );
@@ -315,9 +337,16 @@
logger.debug( "JMSRouter Priority : " + priority);
logger.debug( "JMSRouter TimeToLive : " + timeToLive);
}
- } catch (Throwable t) {
+ }
+ catch (Throwable t)
+ {
throw new ConfigurationException("Failed to configure JMS Queue for routing.", t);
}
+ }
+
+ protected void createQueueSetup( String queueName ) throws ConfigurationException
+ {
+ createQueueSetup(queueName, null, null );
}
private static class JMSSendQueueSetup {
@@ -330,14 +359,16 @@
// TODO: Modify to support topic destinations too
- private JMSSendQueueSetup(String queueName) throws NamingException, JMSException, ConnectionException, NamingContextException {
+ private JMSSendQueueSetup(final String queueName, final String principal, final String credential) throws NamingException, JMSException, ConnectionException, NamingContextException {
environment = new Properties();
environment.setProperty(Context.PROVIDER_URL, Configuration.getJndiServerURL());
environment.setProperty(Context.INITIAL_CONTEXT_FACTORY, Configuration.getJndiServerContextFactory());
environment.setProperty(Context.URL_PKG_PREFIXES, Configuration.getJndiServerPkgPrefix());
Context oCtx = NamingContextPool.getNamingContext(environment);
try {
- pool = JmsConnectionPoolContainer.getPool(environment, "ConnectionFactory");
+ pool = ( principal != null ) ?
+ JmsConnectionPoolContainer.getPool(environment, "ConnectionFactory", principal, credential) :
+ JmsConnectionPoolContainer.getPool(environment, "ConnectionFactory" );
this.queueName = queueName;
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/addressing/eprs/SFTPEpr.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/addressing/eprs/SFTPEpr.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/addressing/eprs/SFTPEpr.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -41,13 +41,16 @@
public class SFTPEpr extends FTPEpr
{
public static final String CERTIFICATE_TAG = "certificate";
+ public static final String PASSPHRASE_TAG = "passphrase" ;
public SFTPEpr(EPR epr)
{
super(epr);
if (epr instanceof SFTPEpr)
+ {
certificateSet = ((SFTPEpr) epr).certificateSet;
+ }
}
public SFTPEpr (EPR epr, Element header)
@@ -65,10 +68,17 @@
{
if ((prefix != null) && (prefix.equals(XMLUtil.JBOSSESB_PREFIX)))
{
- if ((tag != null) && (tag.equals(CERTIFICATE_TAG)))
+ if (tag != null)
{
- getAddr().addExtension(CERTIFICATE_TAG, nl.item(i).getTextContent());
- certificateSet = true;
+ if(tag.equals(CERTIFICATE_TAG))
+ {
+ getAddr().addExtension(CERTIFICATE_TAG, nl.item(i).getTextContent());
+ certificateSet = true;
+ }
+ else if (tag.equals(PASSPHRASE_TAG))
+ {
+ getAddr().addExtension(PASSPHRASE_TAG, nl.item(i).getTextContent()) ;
+ }
}
}
}
@@ -97,9 +107,24 @@
*/
public SFTPEpr(URI uri, URI cert) throws URISyntaxException
{
+ super(uri) ;
+
+ setCertificateURI(cert);
+ }
+
+ /**
+ * Construct the SFTP EPR with the specified URI, certificate and passphrase.
+ * @param uri
+ * @param cert
+ * @param passphrase
+ * @throws URISyntaxException
+ */
+ public SFTPEpr(URI uri, URI cert, final String passphrase) throws URISyntaxException
+ {
super(uri) ;
setCertificateURI(cert);
+ setPassphrase(passphrase) ;
}
public SFTPEpr(String url, String cert) throws URISyntaxException
@@ -109,6 +134,14 @@
setCertificateURI(new URI(cert));
}
+ public SFTPEpr(String url, String cert, final String passphrase) throws URISyntaxException
+ {
+ super(url);
+
+ setCertificateURI(new URI(cert));
+ setPassphrase(passphrase) ;
+ }
+
/**
* Set the Certificate URI for this endpoint.
*
@@ -145,6 +178,26 @@
return null;
}
+ /**
+ * Set the Certificate passphrase for this endpoint.
+ *
+ * @param passphrase the passphrase.
+ */
+ public final void setPassphrase(String passphrase)
+ {
+ if (passphrase == null)
+ throw new IllegalArgumentException();
+ getAddr().addExtension(PASSPHRASE_TAG, passphrase);
+ }
+
+ /**
+ * @return the certificate passphrase for this EPR.
+ */
+ public final String getPassphrase()
+ {
+ return getAddr().getExtensionValue(PASSPHRASE_TAG);
+ }
+
public EPR copy ()
{
return new SFTPEpr(this);
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/common/Environment.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/common/Environment.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/common/Environment.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -57,6 +57,7 @@
public static final String JNDI_SERVER_URL = "org.jboss.soa.esb.jndi.server.url";
public static final String JNDI_SERVER_CONTEXT_FACTORY = "org.jboss.soa.esb.jndi.server.context.factory";
public static final String JNDI_SERVER_PKG_PREFIX = "org.jboss.soa.esb.jndi.server.pkg.prefix";
+ public static final String JNDI_SERVER_TEST_LOOKUP = "org.jboss.soa.esb.jndi.test.lookup";
public static final String PARAMS_REPOS_IMPL_CLASS = "org.jboss.soa.esb.paramsRepository.class";
public static final String OBJECT_STORE_CONFIG_FILE = "org.jboss.soa.esb.objStore.configFile";
public static final String ENCRYPT_FACTORY_CLASS = "org.jboss.soa.esb.encryption.factory.class";
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/common/JBossESBPropertyService.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/common/JBossESBPropertyService.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/common/JBossESBPropertyService.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -147,7 +147,7 @@
try
{
tm.begin() ;
- LOGGER.debug("Transaction started on current thread") ;
+ LOGGER.trace("Transaction started on current thread") ;
}
catch (final Throwable th)
{
@@ -171,18 +171,18 @@
switch(status)
{
case Status.STATUS_ACTIVE:
- LOGGER.debug("Committing transaction on current thread") ;
+ LOGGER.trace("Committing transaction on current thread") ;
tm.commit() ;
break ;
case Status.STATUS_MARKED_ROLLBACK:
- LOGGER.debug("Rollback transaction on current thread") ;
+ LOGGER.trace("Rollback transaction on current thread") ;
tm.rollback();
break ;
default:
// Transaction is in some other state, just disassociate
- if (LOGGER.isDebugEnabled())
+ if (LOGGER.isTraceEnabled())
{
- LOGGER.debug("Suspending transaction on current thread, status: " + status) ;
+ LOGGER.trace("Suspending transaction on current thread, status: " + status) ;
}
tm.suspend() ;
}
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/helpers/Email.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/helpers/Email.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/helpers/Email.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -147,7 +147,7 @@
/**
* The mail Session to use
*/
- private Session oMailSess = null;
+ private final Session oMailSess;
/**
* Public constructor.
@@ -380,7 +380,7 @@
oMailP.setProperty("mail.smtp.host", Configuration.getSmtpHost());
String sAuth = Configuration.getSmtpAuth();
if(sAuth != null) {
- if(!sAuth.trim().equals("")) {
+ if(sAuth.trim().equals("")) {
logger.warn("'" + Environment.SMTP_AUTH + "' set to an empty value.");
}
oMailP.setProperty("mail.smtp.auth", sAuth);
@@ -395,7 +395,7 @@
catch (Exception e) { /* OK just leave standard port */ }
logger.info("Initialising mail server sesson. Properties: " + oMailP);
- javax.mail.Session oMailSess = javax.mail.Session.getDefaultInstance(oMailP, oAuth);
+ javax.mail.Session oMailSess = javax.mail.Session.getInstance(oMailP, oAuth);
return oMailSess;
}
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/helpers/NamingContextPool.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/helpers/NamingContextPool.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/helpers/NamingContextPool.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -35,6 +35,7 @@
import javax.naming.InitialContext;
import javax.naming.NameNotFoundException;
import javax.naming.NamingException;
+import javax.naming.NotContextException;
import org.apache.log4j.Logger;
import org.jboss.soa.esb.common.Environment;
@@ -74,6 +75,10 @@
*/
private static final String DEFAULT_KEY = "<empty key>" ;
/**
+ * Default JNDI test lookup
+ */
+ private static final String DEFAULT_TEST_LOOKUP = "__dummy2" ;
+ /**
* Maximum pool size.
*/
private static final int POOL_SIZE ;
@@ -85,6 +90,10 @@
* Retry count for creating Naming Contexts.
*/
private static final int RETRY_COUNT ;
+ /**
+ * JNDI test lookup
+ */
+ private static final String TEST_LOOKUP ;
/**
* The lifecycle resource factory.
@@ -338,7 +347,7 @@
try
{
- context.list("__dummy2@#$%") ;
+ context.lookup(TEST_LOOKUP) ;
}
catch (final NameNotFoundException nfne) {} // Expected
}
@@ -387,6 +396,7 @@
POOL_SIZE = getIntProperty(prop, Environment.NAMING_CONTEXT_POOL_SIZE, DEFAULT_POOL_SIZE);
SLEEP_PERIOD = getIntProperty(prop, Environment.NAMING_CONTEXT_SLEEP_PERIOD, DEFAULT_SLEEP_PERIOD);
RETRY_COUNT = getIntProperty(prop, Environment.NAMING_CONTEXT_RETRY_COUNT, DEFAULT_RETRY_COUNT);
+ TEST_LOOKUP = prop.getProperty(Environment.JNDI_SERVER_TEST_LOOKUP, DEFAULT_TEST_LOOKUP) ;
}
/**
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -221,7 +221,8 @@
}
else
{
- epr = new SFTPEpr(uri,new URI(cert));
+ final String passphrase = tree.getAttribute(SFTPEpr.PASSPHRASE_TAG) ;
+ epr = new SFTPEpr(uri,new URI(cert), passphrase);
}
}
else
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/listeners/StandAloneBootStrapper.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/listeners/StandAloneBootStrapper.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/listeners/StandAloneBootStrapper.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -29,6 +29,7 @@
import org.apache.log4j.xml.DOMConfigurator;
import org.jboss.internal.soa.esb.util.Exit;
import org.jboss.soa.esb.ConfigurationException;
+import org.jboss.soa.esb.services.registry.RegistryFactory;
import org.jboss.soa.esb.lifecycle.LifecycleResourceManager;
import org.jboss.soa.esb.listeners.config.ConfigurationController;
@@ -197,6 +198,13 @@
throw new IllegalArgumentException(
"Null configuration file specified");
+ try {
+ RegistryFactory.setRegistry(RegistryFactory.createRegistry());
+ } catch (Exception e) {
+ // Allowing it to continue for backward compatibility reasons....
+ _logger.error("Failed to install Registry.", e);
+ }
+
File configFile = new File(configName);
if (!configFile.exists())
throw new IllegalArgumentException(
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/listeners/config/mappers/FtpListenerMapper.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/listeners/config/mappers/FtpListenerMapper.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/listeners/config/mappers/FtpListenerMapper.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -116,8 +116,10 @@
if ( ! inputDir.startsWith( FTP_SEPARATOR ) )
inputDir = FTP_SEPARATOR + inputDir;
- toElement.setAttribute(ListenerTagNames.URL_TAG, messageFilter.getProtocol() + "://" + messageFilter.getUsername() + ":"
- + messageFilter.getPassword() + "@" + provider.getHostname() + inputDir );
+ final String filterPassword = messageFilter.getPassword() ;
+ final String urlPassword = (filterPassword == null ? "" : ":" + filterPassword) ;
+ toElement.setAttribute(ListenerTagNames.URL_TAG, messageFilter.getProtocol() + "://" + messageFilter.getUsername()
+ + urlPassword + "@" + provider.getHostname() + inputDir );
toElement.setAttribute(FTPEpr.INPUT_SUFFIX_TAG, messageFilter.getInputSuffix());
toElement.setAttribute(FTPEpr.WORK_SUFFIX_TAG, messageFilter.getWorkSuffix());
toElement.setAttribute(FTPEpr.POST_DEL_TAG, String.valueOf(messageFilter.getPostDelete()));
@@ -133,6 +135,7 @@
toElement.setAttribute(FTPEpr.PASSIVE_TAG, String.valueOf(messageFilter.getPassive()));
if (Protocol.SFTP.equals(messageFilter.getProtocol())) {
toElement.setAttribute(SFTPEpr.CERTIFICATE_TAG, messageFilter.getCertificateUrl());
+ toElement.setAttribute(SFTPEpr.PASSPHRASE_TAG, messageFilter.getCertificatePassphrase()) ;
}
if (Protocol.FTPS.equals(messageFilter.getProtocol())) {
toElement.setAttribute(FTPSEpr.CERTIFICATE_TAG, messageFilter.getCertificateUrl());
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/listeners/gateway/SqlTableGatewayListener.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/listeners/gateway/SqlTableGatewayListener.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/listeners/gateway/SqlTableGatewayListener.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -26,10 +26,13 @@
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
+import java.sql.Blob;
+import java.sql.Clob;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
+import java.sql.Types;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
@@ -45,6 +48,7 @@
import javax.sql.DataSource;
import org.apache.log4j.Logger;
+import org.jboss.internal.soa.esb.util.StreamUtils;
import org.jboss.soa.esb.ConfigurationException;
import org.jboss.soa.esb.addressing.EPR;
import org.jboss.soa.esb.addressing.eprs.JDBCEpr;
@@ -479,8 +483,18 @@
Map<String, Object> row = new HashMap<String, Object>();
for (int iCurr = 1; iCurr <= meta.getColumnCount(); iCurr++) {
String sCol = meta.getColumnName(iCurr);
- if (!_inProcessField.equalsIgnoreCase(sCol))
- row.put(sCol, RS.getObject(iCurr));
+ if (!_inProcessField.equalsIgnoreCase(sCol)) {
+ final int type = meta.getColumnType(iCurr) ;
+ if (type == Types.BLOB) {
+ final Blob blob = RS.getBlob(iCurr) ;
+ row.put(sCol, StreamUtils.readStreamString(blob.getBinaryStream(), "UTF-8"));
+ } else if (type == Types.CLOB) {
+ final Clob clob = RS.getClob(iCurr) ;
+ row.put(sCol, StreamUtils.readReader(clob.getCharacterStream()));
+ } else {
+ row.put(sCol, RS.getObject(iCurr));
+ }
+ }
}
oResults.add(row);
@@ -601,37 +615,6 @@
} // ________________________________
/**
- * Assemble the SQL "select for update" statement for the
- * "inProcessField" parameter
- * <p/>
- * in the table row uniquely identified by the list of fields in the
- * "keyFields" parameter
- *
- * @return - The resulting SQL statement
- */
- protected String selectForUpdStatement() {
- StringBuilder sb = new StringBuilder().append("select ").append(
- _inProcessField).append(" from ").append(_tableName).append(
- " where ");
- int iCurr = 0;
- for (String sCurr : _keys) {
- if (iCurr++ > 0)
- sb.append(" and ");
- sb.append(sCurr).append(" = ?");
- }
-
- /*
- * HS QL does not support FOR UPDATE! All tables appear to be inherently
- * updatable!
- */
-
- if (_driver.contains("hsqldb"))
- return sb.toString();
- else
- return sb.append(" for update").toString();
- } // ________________________________
-
- /**
* Assemble the SQL statement to delete the current row in the table row
* uniquely identified by the list of fields in the "keyFields"
* parameter
@@ -659,13 +642,13 @@
try {
int iParm = 1;
for (String sColName : _keys) {
- String val = null;
+ final Object val ;
if (_currentRow.containsKey(sColName)) {
- val = String.valueOf(_currentRow.get(sColName));
+ val = _currentRow.get(sColName);
} else {
- val = String.valueOf(_upperCurrentRow.get(sColName));
+ val = _upperCurrentRow.get(sColName.toUpperCase());
}
- _PSdeleteRow.setString(iParm++, val);
+ _PSdeleteRow.setObject(iParm++, val);
}
try {
@@ -740,9 +723,9 @@
for (String sColName : _keys) {
Object oVal = null;
if (_currentRow.containsKey(sColName)) {
- oVal = String.valueOf(_currentRow.get(sColName.toUpperCase()));
+ oVal = _currentRow.get(sColName);
} else {
- oVal = String.valueOf(_upperCurrentRow.get(sColName.toUpperCase()));
+ oVal = _upperCurrentRow.get(sColName.toUpperCase());
}
_PSupdate.setObject(iParm++, oVal);
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/message/Properties.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/message/Properties.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/message/Properties.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -29,6 +29,11 @@
public interface Properties
{
+ /**
+ * Message Profile property key.
+ */
+ public static final String MESSAGE_PROFILE = "messageProfile";
+
/**
* getProperty(name)
*
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/notification/NotificationTarget.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/notification/NotificationTarget.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/notification/NotificationTarget.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -23,6 +23,7 @@
package org.jboss.soa.esb.notification;
import java.lang.reflect.Constructor;
+import java.lang.reflect.InvocationTargetException;
import org.jboss.soa.esb.ConfigurationException;
import org.jboss.soa.esb.helpers.ConfigTree;
@@ -142,13 +143,15 @@
try
{
oRet = oCons.newInstance(new Object[] { p_oP });
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
- if (null == oRet || (!(oRet instanceof NotificationTarget)))
- throw new ConfigurationException(sClass + " does not extend NotificationTarget");
+ } catch (InvocationTargetException e) {
+ Throwable cause = e.getCause();
+ throw new ConfigurationException("Failed to create an instance of NotificationTarget class '" + sClass + "'.", (cause != null?cause:e));
+ } catch (Exception e) {
+ throw new ConfigurationException("Failed to create an instance of NotificationTarget class '" + sClass + "'.", e);
+ }
+ if (!(oRet instanceof NotificationTarget)) {
+ throw new ConfigurationException(sClass + " does not extend NotificationTarget");
+ }
return (NotificationTarget) oRet;
} // __________________________________
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/util/RemoteFileSystem.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/util/RemoteFileSystem.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/src/org/jboss/soa/esb/util/RemoteFileSystem.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -56,6 +56,8 @@
public static final String PARMS_CERTIFICATE_NAME = "certificateName";
+ public static final String PARMS_PASSPHRASE = "passphrase";
+
public String getRemoteDir ();
/**
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/tests/src/org/jboss/soa/esb/actions/routing/JmsRouterIntegrationTest.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/tests/src/org/jboss/soa/esb/actions/routing/JmsRouterIntegrationTest.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/tests/src/org/jboss/soa/esb/actions/routing/JmsRouterIntegrationTest.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -26,12 +26,10 @@
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
-import static org.junit.Assert.fail;
import java.io.Serializable;
import java.net.URI;
import java.net.URISyntaxException;
-import java.util.List;
import javax.jms.Destination;
import javax.jms.JMSException;
@@ -46,12 +44,9 @@
import org.jboss.internal.soa.esb.rosetta.pooling.ConnectionException;
import org.jboss.soa.esb.ConfigurationException;
import org.jboss.soa.esb.actions.ActionProcessingException;
-import org.jboss.soa.esb.actions.ActionUtils;
import org.jboss.soa.esb.addressing.eprs.JMSEpr;
import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.helpers.KeyValuePair;
import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.esb.message.body.content.BytesBody;
import org.jboss.soa.esb.message.format.MessageFactory;
import org.junit.Before;
import org.junit.Ignore;
@@ -60,9 +55,10 @@
import org.mockejb.jms.TextMessageImpl;
/**
- *
+ * Integration test for {@link JMSRouter}
+ * <p/>
* @author John Doe
- * @author <a href="daniel.bevenius at redpill.se">Daniel Bevenius</a>
+ * @author <a href="daniel.bevenius at redhat.com">Daniel Bevenius</a>
*
*/
public class JmsRouterIntegrationTest
@@ -75,15 +71,8 @@
private Message msg;
private ConfigTree tree;
- @Before
- public void setup() throws URISyntaxException
- {
- msg = createESBMessageObject( messageID, bodyContent );
- tree = createConfigTree();
- }
-
@Test
- public void process_unwrap_false() throws ConfigurationException, NamingException, JMSException, ActionProcessingException, URISyntaxException
+ public void processWithUnwrapFalse() throws ConfigurationException, NamingException, JMSException, ActionProcessingException, URISyntaxException
{
MockJMSRouter router = new MockJMSRouter(tree);
router.route( msg );
@@ -92,7 +81,7 @@
}
@Test
- public void process_unwrap_true() throws ConfigurationException, NamingException, JMSException, ActionProcessingException, URISyntaxException
+ public void processWithUnwrapTrue() throws ConfigurationException, NamingException, JMSException, ActionProcessingException, URISyntaxException
{
tree.setAttribute( "unwrap", "true" );
MockJMSRouter router = new MockJMSRouter( tree );
@@ -108,9 +97,37 @@
assertEquals ( textMessage.getJMSCorrelationID(), messageID );
assertEquals ( textMessage.getText(), bodyContent );
}
+
+ @Test
+ public void constructorWithSecurity() throws ConfigurationException, NamingException, JMSException, ActionProcessingException, URISyntaxException
+ {
+ final String principal = "guest";
+ final String credential = "guest";
+ tree.setAttribute( "unwrap", "true" );
+ tree.setAttribute( JMSRouter.SECURITY_PRINCIPAL, principal );
+ tree.setAttribute( JMSRouter.SECURITY_CREDITIAL, credential );
+ MockJMSRouter router = new MockJMSRouter( tree );
+
+ assertEquals ( principal, router.getSecurityPrincipal() );
+ assertEquals ( credential, router.getSecurityCredential() );
+ }
+
+ @Test ( expected = ConfigurationException.class )
+ public void shouldThrowIfPrincipalIsNull() throws ConfigurationException, NamingException, JMSException, ActionProcessingException, URISyntaxException
+ {
+ tree.setAttribute( JMSRouter.SECURITY_CREDITIAL, "testpassword" );
+ new MockJMSRouter( tree );
+ }
+
+ @Test ( expected = ConfigurationException.class )
+ public void shouldThrowIfCredentialIsNull() throws ConfigurationException, NamingException, JMSException, ActionProcessingException, URISyntaxException
+ {
+ tree.setAttribute( JMSRouter.SECURITY_PRINCIPAL, "testuser" );
+ new MockJMSRouter( tree );
+ }
@Test ( expected = ActionProcessingException.class )
- public void route_negative() throws ConfigurationException, NamingException, JMSException, ActionProcessingException
+ public void shouldThrowIfObjectIsNotAMessageObject() throws ConfigurationException, NamingException, JMSException, ActionProcessingException
{
ConfigTree tree = createConfigTree();
JMSRouter router = new MockJMSRouter(tree);
@@ -118,7 +135,7 @@
}
@Test
- public void setJMSReplyTo_queue() throws JMSException, URISyntaxException, ConfigurationException, NamingException, ConnectionException
+ public void setJMSReplyToQueue() throws JMSException, URISyntaxException, ConfigurationException, NamingException, ConnectionException
{
final String queueName = "testQueue";
@@ -133,12 +150,11 @@
assertTrue( replyTo instanceof Queue );
Queue replyToQueue = (Queue) replyTo;
assertEquals( queueName , replyToQueue.getQueueName() );
-
}
@Test
@Ignore
- public void setJMSReplyTo_topic() throws JMSException, URISyntaxException, ConfigurationException, NamingException, ConnectionException
+ public void setJMSReplyToTopic() throws JMSException, URISyntaxException, ConfigurationException, NamingException, ConnectionException
{
final String queueName = "testTopic";
@@ -155,61 +171,16 @@
assertEquals( queueName , replyToTopic.getTopicName() );
}
- /*
- * Not quite sure that this is supposed to be testing.
- * Can we remove this test? /Daniel
- */
@Test
- @Ignore
- public void testRouter () throws Exception
+ public void constructWithDefaultPersitentAttribute() throws ConfigurationException, NamingException, JMSException
{
- boolean exception = false;
-
- Message msg = MessageFactory.getInstance().getMessage();
-
- msg.getBody().add("hello world".getBytes());
- JMSRouter router = new JMSRouter( createConfigTree() );
- try
- {
- router.route(msg);
- }
- catch (ActionProcessingException ex)
- {
- exception = true;
- }
-
- if (!exception)
- fail();
-
- router.unwrap = true;
-
- try
- {
- msg.getBody().add("hello world");
- router.process(msg);
- }
- catch (ActionProcessingException ex)
- {
- exception = true;
- }
-
- if (!exception)
- fail();
-
- router.getErrorNotification(null);
- router.getOkNotification(null);
- }
-
- @Test
- public void construct_with_default_persitent_attribute() throws ConfigurationException, NamingException, JMSException
- {
ConfigTree config = createConfigTree();
JMSRouter router = new JMSRouter( config );
assertTrue( router.isDeliveryModePersistent() );
}
@Test
- public void construct_with_persitent_attribute() throws ConfigurationException, NamingException, JMSException
+ public void constructWithPersitentAttribute() throws ConfigurationException, NamingException, JMSException
{
ConfigTree config = createConfigTree();
config.setAttribute( JMSRouter.PERSISTENT_ATTR, "false" );
@@ -219,7 +190,7 @@
}
@Test
- public void construct_with_default_priority_attribute() throws ConfigurationException, NamingException, JMSException
+ public void constructWithDefaultPriorityAttribute() throws ConfigurationException, NamingException, JMSException
{
ConfigTree config = createConfigTree();
JMSRouter router = new JMSRouter( config );
@@ -227,7 +198,7 @@
}
@Test
- public void construct_with_priority_attribute() throws ConfigurationException, NamingException, JMSException
+ public void constructWithPriorityAttribute() throws ConfigurationException, NamingException, JMSException
{
final int expectedPriority = 9;
ConfigTree config = createConfigTree();
@@ -238,7 +209,7 @@
}
@Test
- public void construct_with_default_time_to_live_attribute() throws ConfigurationException, NamingException, JMSException
+ public void constructWithDefaultTimeToLiveAttribute() throws ConfigurationException, NamingException, JMSException
{
ConfigTree config = createConfigTree();
JMSRouter router = new JMSRouter( config );
@@ -246,7 +217,7 @@
}
@Test
- public void construct_with_time_to_live_attribute() throws ConfigurationException, NamingException, JMSException
+ public void constructWithTimeToLiveAttribute() throws ConfigurationException, NamingException, JMSException
{
final long ttl = 6000l;
ConfigTree config = createConfigTree();
@@ -256,6 +227,15 @@
assertEquals ( ttl, router.getTimeToLive() );
}
+ @Before
+ public void setup() throws URISyntaxException
+ {
+ msg = createESBMessageObject( messageID, bodyContent );
+ tree = createConfigTree();
+ }
+
+ // private
+
private void assertProcessContract( final String messageID, final Message msg, JMSRouter router ) throws ActionProcessingException, JMSException
{
final Message message = router.process ( msg );
@@ -264,12 +244,30 @@
assertEquals ( jmsMessage.getJMSCorrelationID(), messageID );
}
+ private Message createESBMessageObject( final String messageID, final String body) throws URISyntaxException
+ {
+ Message msg = MessageFactory.getInstance().getMessage();
+ msg.getHeader().getCall().setMessageID( new URI ( "1234-junittest" ) );
+ msg.getBody().add(body.getBytes());
+ return msg;
+ }
+
+ private static ConfigTree createConfigTree()
+ {
+ ConfigTree tree = new ConfigTree("test");
+ tree.setAttribute("jndiName", "/queue/A");
+ return tree;
+ }
+
private static class MockJMSRouter extends JMSRouter
{
@SuppressWarnings ( "unused" )
private Logger log = Logger.getLogger( MockJMSRouter.class );
private javax.jms.Message jmsMessage;
+
+ private String securityPrincipal;
+ private String securityCredential;
public MockJMSRouter(ConfigTree propertiesTree) throws ConfigurationException, NamingException, JMSException
{
@@ -278,6 +276,12 @@
@Override
protected void createQueueSetup( String queueName ) throws ConfigurationException { }
+
+ void createQueueSetup( final String queueName, final String principal, final String credential )
+ {
+ this.securityPrincipal = principal;
+ this.securityCredential = credential;
+ }
@Override
protected void send( javax.jms.Message jmsMessage ) throws JMSException
@@ -305,23 +309,16 @@
impl.setObject( (Serializable) message );
return impl;
}
+
+ public String getSecurityPrincipal() {
+ return securityPrincipal;
+ }
+
+ public String getSecurityCredential() {
+ return securityCredential;
+ }
}
- private Message createESBMessageObject( final String messageID, final String body) throws URISyntaxException
- {
- Message msg = MessageFactory.getInstance().getMessage();
- msg.getHeader().getCall().setMessageID( new URI ( "1234-junittest" ) );
- msg.getBody().add(body.getBytes());
- return msg;
- }
-
- private static ConfigTree createConfigTree()
- {
- ConfigTree tree = new ConfigTree("test");
- tree.setAttribute("jndiName", "/queue/A");
- return tree;
- }
-
/*
* Just here to help Ant to find annotated test.
*/
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/tests/src/org/jboss/soa/esb/lifecycle/LifecycleResourceManagerTest.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/tests/src/org/jboss/soa/esb/lifecycle/LifecycleResourceManagerTest.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/tests/src/org/jboss/soa/esb/lifecycle/LifecycleResourceManagerTest.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,197 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.soa.esb.lifecycle;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertNull;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import junit.framework.JUnit4TestAdapter;
-
-import org.junit.Test;
-
-/**
- * @author Kevin Conner
- *
- */
-public class LifecycleResourceManagerTest {
-
- @Test
- public void testAssociation()
- throws Exception
- {
- // create a lifecycle resource
- final LifecycleResource<TestLifecycleResource1> resource = new LifecycleResource<TestLifecycleResource1>(new TestLifecycleResource1Factory()) ;
- // get unassociated resource and check id
- final TestLifecycleResource1 first = resource.getLifecycleResource() ;
- assertEquals(LifecycleResourceManager.DEFAULT_IDENTITY, first.getId()) ;
- assertNull(first.getDestroyId()) ;
-
-
- // associate deployment
- final String deploymentName = "deploymentName" ;
- // get associated resource and check id
- LifecycleResourceManager.getSingleton().associateDeployment(deploymentName) ;
- final TestLifecycleResource1 second = resource.getLifecycleResource() ;
- final String id = second.getId() ;
- assertFalse(LifecycleResourceManager.DEFAULT_IDENTITY.equals(id)) ;
- assertNull(second.getDestroyId()) ;
- assertNull(first.getDestroyId()) ;
-
- // disassociate deployment
- LifecycleResourceManager.getSingleton().disassociateDeployment(deploymentName) ;
- // check id has been cleaned
- assertEquals(id, second.getDestroyId()) ;
- // check other resources using this classloader have also been cleared.
- assertEquals(LifecycleResourceManager.DEFAULT_IDENTITY, first.getDestroyId()) ;
- }
-
- // Check order
- // create three resources (none, 0, 1000)
- // disassociate deployment
- // check id has been cleaned and resources destroyed in correct order.
-
- @Test
- public void testOrder()
- throws Exception
- {
- // create factories and lifecycle resources
- final TestLifecycleResource2Factory factory1 = new TestLifecycleResource2Factory() ;
- final LifecycleResource<TestLifecycleResource2> lifecycleResource1 = new LifecycleResource<TestLifecycleResource2>(factory1) ;
- final TestLifecycleResource2Factory factory2 = new TestLifecycleResource2Factory() ;
- final LifecycleResource<TestLifecycleResource2> lifecycleResource2 = new LifecycleResource<TestLifecycleResource2>(factory2, 100) ;
- final TestLifecycleResource2Factory factory3 = new TestLifecycleResource2Factory() ;
- final LifecycleResource<TestLifecycleResource2> lifecycleResource3 = new LifecycleResource<TestLifecycleResource2>(factory3, 0) ;
-
- // create resources
- final TestLifecycleResource2 resource1 = lifecycleResource1.getLifecycleResource() ;
- final TestLifecycleResource2 resource2 = lifecycleResource2.getLifecycleResource() ;
- final TestLifecycleResource2 resource3 = lifecycleResource3.getLifecycleResource() ;
-
- // check correct factory is used
- assertEquals(factory1, resource1.getFactory()) ;
- assertEquals(factory2, resource2.getFactory()) ;
- assertEquals(factory3, resource3.getFactory()) ;
-
- // check nothing is destroyed
- assertEquals(0, TestLifecycleResource2Factory.getDestroyOrder().size()) ;
-
- // cleanup all resources
- LifecycleResourceManager.getSingleton().cleanupAllResources() ;
-
- // check we have three resources destroyed
- assertEquals(3, TestLifecycleResource2Factory.getDestroyOrder().size()) ;
-
- // check order of destroy calls.
- assertEquals(resource1, TestLifecycleResource2Factory.getDestroyOrder().get(0)) ;
- assertEquals(resource3, TestLifecycleResource2Factory.getDestroyOrder().get(1)) ;
- assertEquals(resource2, TestLifecycleResource2Factory.getDestroyOrder().get(2)) ;
- }
-
- private static class TestLifecycleResource1
- {
- private final String id ;
- private String destroyId ;
-
- TestLifecycleResource1(final String id)
- {
- this.id = id ;
- }
-
- String getId()
- {
- return id ;
- }
-
- String getDestroyId()
- {
- return destroyId ;
- }
-
- void setDestroyId(final String destroyId)
- {
- this.destroyId = destroyId ;
- }
- }
-
- private static class TestLifecycleResource1Factory implements LifecycleResourceFactory<TestLifecycleResource1>
- {
- public TestLifecycleResource1 createLifecycleResource(final String lifecycleIdentity)
- throws LifecycleResourceException
- {
- return new TestLifecycleResource1(lifecycleIdentity) ;
- }
-
- public void destroyLifecycleResource(final TestLifecycleResource1 resource,
- final String lifecycleIdentity)
- throws LifecycleResourceException
- {
- resource.setDestroyId(lifecycleIdentity) ;
- }
- }
-
- private static class TestLifecycleResource2
- {
- private final LifecycleResourceFactory<TestLifecycleResource2> factory ;
-
- TestLifecycleResource2(final LifecycleResourceFactory<TestLifecycleResource2> factory)
- {
- this.factory = factory ;
- }
-
- LifecycleResourceFactory<TestLifecycleResource2> getFactory()
- {
- return factory ;
- }
- }
-
- private static class TestLifecycleResource2Factory implements LifecycleResourceFactory<TestLifecycleResource2>
- {
- private static final List<TestLifecycleResource2> destroyOrder = new ArrayList<TestLifecycleResource2>() ;
-
- public TestLifecycleResource2 createLifecycleResource(final String lifecycleIdentity)
- throws LifecycleResourceException
- {
- return new TestLifecycleResource2(this) ;
- }
-
- public void destroyLifecycleResource(final TestLifecycleResource2 resource,
- final String lifecycleIdentity)
- throws LifecycleResourceException
- {
- destroyOrder.add(resource) ;
- }
-
- static List<TestLifecycleResource2> getDestroyOrder()
- {
- return destroyOrder ;
- }
- }
-
- public static junit.framework.Test suite()
- {
- return new JUnit4TestAdapter(LifecycleResourceManagerTest.class);
- }
-}
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/tests/src/org/jboss/soa/esb/lifecycle/LifecycleResourceManagerUnitTest.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/rosetta/tests/src/org/jboss/soa/esb/lifecycle/LifecycleResourceManagerUnitTest.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/tests/src/org/jboss/soa/esb/lifecycle/LifecycleResourceManagerUnitTest.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/tests/src/org/jboss/soa/esb/lifecycle/LifecycleResourceManagerUnitTest.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,199 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2006, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.soa.esb.lifecycle;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNull;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import junit.framework.JUnit4TestAdapter;
+
+import org.junit.Test;
+
+/**
+ * @author Kevin Conner
+ *
+ */
+public class LifecycleResourceManagerUnitTest {
+
+ @Test
+ public void testAssociation()
+ throws Exception
+ {
+ // create a lifecycle resource
+ final LifecycleResource<TestLifecycleResource1> resource = new LifecycleResource<TestLifecycleResource1>(new TestLifecycleResource1Factory()) ;
+ // get unassociated resource and check id
+ final TestLifecycleResource1 first = resource.getLifecycleResource() ;
+ assertEquals(LifecycleResourceManager.DEFAULT_IDENTITY, first.getId()) ;
+ assertNull(first.getDestroyId()) ;
+
+
+ // associate deployment
+ final String deploymentName = "deploymentName" ;
+ // get associated resource and check id
+ LifecycleResourceManager.getSingleton().associateDeployment(deploymentName) ;
+ final TestLifecycleResource1 second = resource.getLifecycleResource() ;
+ final String id = second.getId() ;
+ assertFalse(LifecycleResourceManager.DEFAULT_IDENTITY.equals(id)) ;
+ assertNull(second.getDestroyId()) ;
+ assertNull(first.getDestroyId()) ;
+
+ // disassociate deployment
+ LifecycleResourceManager.getSingleton().disassociateDeployment(deploymentName) ;
+ // check id has been cleaned
+ assertEquals(id, second.getDestroyId()) ;
+ assertNull(first.getDestroyId()) ;
+ // check resources are eventually cleaned up.
+ LifecycleResourceManager.getSingleton().cleanupAllResources() ;
+ assertEquals(LifecycleResourceManager.DEFAULT_IDENTITY, first.getDestroyId()) ;
+ }
+
+ // Check order
+ // create three resources (none, 0, 1000)
+ // disassociate deployment
+ // check id has been cleaned and resources destroyed in correct order.
+
+ @Test
+ public void testOrder()
+ throws Exception
+ {
+ // create factories and lifecycle resources
+ final TestLifecycleResource2Factory factory1 = new TestLifecycleResource2Factory() ;
+ final LifecycleResource<TestLifecycleResource2> lifecycleResource1 = new LifecycleResource<TestLifecycleResource2>(factory1) ;
+ final TestLifecycleResource2Factory factory2 = new TestLifecycleResource2Factory() ;
+ final LifecycleResource<TestLifecycleResource2> lifecycleResource2 = new LifecycleResource<TestLifecycleResource2>(factory2, 100) ;
+ final TestLifecycleResource2Factory factory3 = new TestLifecycleResource2Factory() ;
+ final LifecycleResource<TestLifecycleResource2> lifecycleResource3 = new LifecycleResource<TestLifecycleResource2>(factory3, 0) ;
+
+ // create resources
+ final TestLifecycleResource2 resource1 = lifecycleResource1.getLifecycleResource() ;
+ final TestLifecycleResource2 resource2 = lifecycleResource2.getLifecycleResource() ;
+ final TestLifecycleResource2 resource3 = lifecycleResource3.getLifecycleResource() ;
+
+ // check correct factory is used
+ assertEquals(factory1, resource1.getFactory()) ;
+ assertEquals(factory2, resource2.getFactory()) ;
+ assertEquals(factory3, resource3.getFactory()) ;
+
+ // check nothing is destroyed
+ assertEquals(0, TestLifecycleResource2Factory.getDestroyOrder().size()) ;
+
+ // cleanup all resources
+ LifecycleResourceManager.getSingleton().cleanupAllResources() ;
+
+ // check we have three resources destroyed
+ assertEquals(3, TestLifecycleResource2Factory.getDestroyOrder().size()) ;
+
+ // check order of destroy calls.
+ assertEquals(resource1, TestLifecycleResource2Factory.getDestroyOrder().get(0)) ;
+ assertEquals(resource3, TestLifecycleResource2Factory.getDestroyOrder().get(1)) ;
+ assertEquals(resource2, TestLifecycleResource2Factory.getDestroyOrder().get(2)) ;
+ }
+
+ private static class TestLifecycleResource1
+ {
+ private final String id ;
+ private String destroyId ;
+
+ TestLifecycleResource1(final String id)
+ {
+ this.id = id ;
+ }
+
+ String getId()
+ {
+ return id ;
+ }
+
+ String getDestroyId()
+ {
+ return destroyId ;
+ }
+
+ void setDestroyId(final String destroyId)
+ {
+ this.destroyId = destroyId ;
+ }
+ }
+
+ private static class TestLifecycleResource1Factory implements LifecycleResourceFactory<TestLifecycleResource1>
+ {
+ public TestLifecycleResource1 createLifecycleResource(final String lifecycleIdentity)
+ throws LifecycleResourceException
+ {
+ return new TestLifecycleResource1(lifecycleIdentity) ;
+ }
+
+ public void destroyLifecycleResource(final TestLifecycleResource1 resource,
+ final String lifecycleIdentity)
+ throws LifecycleResourceException
+ {
+ resource.setDestroyId(lifecycleIdentity) ;
+ }
+ }
+
+ private static class TestLifecycleResource2
+ {
+ private final LifecycleResourceFactory<TestLifecycleResource2> factory ;
+
+ TestLifecycleResource2(final LifecycleResourceFactory<TestLifecycleResource2> factory)
+ {
+ this.factory = factory ;
+ }
+
+ LifecycleResourceFactory<TestLifecycleResource2> getFactory()
+ {
+ return factory ;
+ }
+ }
+
+ private static class TestLifecycleResource2Factory implements LifecycleResourceFactory<TestLifecycleResource2>
+ {
+ private static final List<TestLifecycleResource2> destroyOrder = new ArrayList<TestLifecycleResource2>() ;
+
+ public TestLifecycleResource2 createLifecycleResource(final String lifecycleIdentity)
+ throws LifecycleResourceException
+ {
+ return new TestLifecycleResource2(this) ;
+ }
+
+ public void destroyLifecycleResource(final TestLifecycleResource2 resource,
+ final String lifecycleIdentity)
+ throws LifecycleResourceException
+ {
+ destroyOrder.add(resource) ;
+ }
+
+ static List<TestLifecycleResource2> getDestroyOrder()
+ {
+ return destroyOrder ;
+ }
+ }
+
+ public static junit.framework.Test suite()
+ {
+ return new JUnit4TestAdapter(LifecycleResourceManagerUnitTest.class);
+ }
+}
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/tests/src/org/jboss/soa/esb/notification/NotifySqlTableUnitTest.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/tests/src/org/jboss/soa/esb/notification/NotifySqlTableUnitTest.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/rosetta/tests/src/org/jboss/soa/esb/notification/NotifySqlTableUnitTest.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -45,7 +45,7 @@
public void test_NotifySqlTable() throws Exception {
ConfigTree domEl = ConfigTree.fromInputStream(getClass().getResourceAsStream("NotifySqlTable_testfile1.xml"));
- NotifySqlTable nst = new NotifySqlTable(domEl);
+ NotifySqlTable nst = new NotifySqlTable(domEl);
}
public void test_sendNotificationNegative() throws SAXException, IOException, ConfigurationException
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/aggregation_service/jbossesb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/aggregation_service/jbossesb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/aggregation_service/jbossesb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,9 +2,7 @@
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" >
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost" >
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="AggregatorListenQueue">
<jms-message-filter dest-type="QUEUE" dest-name="queue/A"/>
</jms-bus>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/blue_service/jbossesb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/blue_service/jbossesb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/blue_service/jbossesb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,9 +2,7 @@
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="Aggregator_ToBlue">
<jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_Aggregator_ToBlue"/>
</jms-bus>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/green_service/jbossesb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/green_service/jbossesb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/green_service/jbossesb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,9 +2,7 @@
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="Aggregator_ToGreen">
<jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_Aggregator_ToGreen"/>
</jms-bus>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/inbound_splitter/jbossesb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/inbound_splitter/jbossesb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/inbound_splitter/jbossesb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,9 +2,7 @@
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" >
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost" >
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_Aggregator_Request_GW"/>
</jms-bus>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/red_service/jbossesb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/red_service/jbossesb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/aggregator/red_service/jbossesb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,9 +2,7 @@
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" >
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost" >
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="Aggregator_ToRed">
<jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_Aggregator_ToRed"/>
</jms-bus>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration1/build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration1/build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration1/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -41,11 +41,11 @@
<target name="deployProcess" description="deploys the process definition" depends="dependencies">
<echo>Deploy the process definition</echo>
- <taskdef name="deployToServer" classname="org.jbpm.ant.DeployProcessToServerTask">
- <classpath refid="exec-classpath"/>
- </taskdef>
- <deployToServer>
- <fileset dir="${basedir}/processDefinition" includes="*"/>
+ <taskdef name="deployToServer" classname="org.jbpm.ant.DeployProcessToServerTask">
+ <classpath refid="exec-classpath"/>
+ </taskdef>
+ <deployToServer username="${jbpm.console.username}" password="${jbpm.console.password}" serverDeployer="${org.jboss.esb.jbpm.console.upload.url}">
+ <fileset dir="${basedir}/processDefinition" includes="*"/>
</deployToServer>
</target>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration2/build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration2/build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration2/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,4 +1,4 @@
-<project name="Quickstart_bpm_orchestration2" default="run" basedir=".">
+<project name="Quickstart_bpm_orchestration2" default="deploy" basedir=".">
<description>
${ant.project.name}
@@ -27,6 +27,10 @@
<antcall target="deployProcess"/>
</target>
+ <target name="run">
+ <echo message="This target is not implemented for this quickstart. Please run 'ant deploy', 'ant deployProcess' and 'ant startProcess'"/>
+ </target>
+
<target name="runtest">
<echo>Use "ant deployProcess" followed by "ant startProcess"</echo>
</target>
@@ -36,7 +40,7 @@
<taskdef name="deployToServer" classname="org.jbpm.ant.DeployProcessToServerTask">
<classpath refid="exec-classpath"/>
</taskdef>
- <deployToServer>
+ <deployToServer username="${jbpm.console.username}" password="${jbpm.console.password}" serverDeployer="${org.jboss.esb.jbpm.console.upload.url}">
<fileset dir="${basedir}/processDefinition" includes="*"/>
</deployToServer>
</target>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration2/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration2/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration2/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -3,10 +3,7 @@
parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-URL="jnp://127.0.0.1:1099" jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-pkg-prefix="org.jboss.naming:org.jnp.interfaces">
-
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="deployGwChannel">
<jms-message-filter dest-type="QUEUE"
dest-name="queue/quickstart_bpm_orchestration2_deploy_Request_gw" />
@@ -62,8 +59,6 @@
</providers>
<services>
-
-
<service category="BPM_Orchestration2_Starter_Service" name="Starter_Service"
description="BPM Orchestration Sample 2: Use this service to start a process instance">
<listeners>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration2/readme.txt
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration2/readme.txt 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration2/readme.txt 2008-07-07 16:11:35 UTC (rev 20943)
@@ -7,17 +7,7 @@
To Run standalone mode:
=======================
- 1. In a command terminal window in the quickstart folder type
- 'ant deploy-jms-dests'.
- 2. In a command terminal window in this folder ("Window1"), type 'ant run'.
- 3. Open another command terminal window in this folder ("Window2"), type
- 'ant deployProcess' to deploy the process.
- 4. Switch back to ESB console and wait for the message
- 'Process Definition Deployed:' to appear on the console.
- 5. Switch back to "Window2", type 'ant startProcess' to start the process.
- 6. Switch back to "Window1" to see the output from the ESB
- 7. When finished, interrupt the ESB using Ctrl-C and, in this folder
- ("Window1"), type 'ant undeploy-jms-dests'.
+ This quickstart does not run in standalone mode.
To Run '.esb' archive mode:
===========================
@@ -112,4 +102,4 @@
13:18:39,106 INFO [STDOUT] Out: Getting Started 'Receive Order' 'Credit Check' 'Validate Order' 'Inventory Check' 'Dallas' 'Shipped'
13:18:39,106 INFO [STDOUT] ***** End Ship It *****
13:18:39,113 INFO [STDOUT] SUCCESS!:
-13:18:39,113 INFO [STDOUT] [Getting Started 'Receive Order' 'Credit Check' 'Validate Order' 'Inventory Check' 'Dallas' 'Shipped' ].
\ No newline at end of file
+13:18:39,113 INFO [STDOUT] [Getting Started 'Receive Order' 'Credit Check' 'Validate Order' 'Inventory Check' 'Dallas' 'Shipped' ].
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration3/build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration3/build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration3/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -40,7 +40,7 @@
<taskdef name="deployToServer" classname="org.jbpm.ant.DeployProcessToServerTask">
<classpath refid="exec-classpath"/>
</taskdef>
- <deployToServer>
+ <deployToServer username="${jbpm.console.username}" password="${jbpm.console.password}" serverDeployer="${org.jboss.esb.jbpm.console.upload.url}">
<fileset dir="${basedir}/processDefinition" includes="*"/>
</deployToServer>
</target>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration3/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration3/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/bpm_orchestration3/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -3,9 +3,7 @@
parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-URL="jnp://127.0.0.1:1099" jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-pkg-prefix="org.jboss.naming:org.jnp.interfaces">
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="deployGwChannel">
<jms-message-filter dest-type="QUEUE"
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/business_rules_service/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/business_rules_service/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/business_rules_service/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -4,9 +4,7 @@
<providers>
<jms-provider name="JBossMQ"
- connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
+ connection-factory="ConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter dest-type="QUEUE"
dest-name="queue/quickstart_Business_Rules_Request_GW" />
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/business_service/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/business_service/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/business_service/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -3,10 +3,7 @@
parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost" >
-
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter
dest-type="QUEUE"
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/conf/base-build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/conf/base-build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/conf/base-build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -251,8 +251,40 @@
<!-- compile-classpath, exec-classpath -->
<!-- ==================================================================== -->
- <target name="dependencies" depends="classpath-dependencies, quickstart-specific-checks"/>
+ <target name="dependencies" depends="classpath-dependencies, quickstart-specific-checks">
+
+ <!-- jBPM Console properties -->
+ <condition property="jbpm.production.properties.set" value="true" else="false">
+ <and>
+ <equals arg1="${org.jboss.esb.server.config}" arg2="production"/>
+ <isset property="quickstart.jbpm.console.username"/>
+ <isset property="quickstart.jbpm.console.password"/>
+ </and>
+ </condition>
+ <fail message="Quickstart configuration error: ${line.separator}${line.separator} jBPM username and password must be set in ${pwd}/quickstarts.properties. ${line.separator} The jBPM web console is secured when running in production mode i.e when org.jboss.esb.server.config=production.">
+ <condition>
+ <and>
+ <equals arg1="${org.jboss.esb.server.config}" arg2="production"/>
+ <equals arg1="${jbpm.production.properties.set}" arg2="false"/>
+ </and>
+ </condition>
+ </fail>
+ <condition property="org.jboss.esb.jbpm.console.upload.url" value="/jbpm-console/app/upload/" else="/jbpm-console/upload/">
+ <equals arg1="${org.jboss.esb.server.config}" arg2="production"/>
+ </condition>
+
+ <condition property="jbpm.console.username" value="${quickstart.jbpm.console.username}" else="">
+ <equals arg1="${org.jboss.esb.server.config}" arg2="production"/>
+ </condition>
+
+ <condition property="jbpm.console.password" value="${quickstart.jbpm.console.password}" else="">
+ <equals arg1="${org.jboss.esb.server.config}" arg2="production"/>
+ </condition>
+
+ <!-- End jBPM Console properties -->
+ </target>
+
<target name="classpath-dependencies" depends="messaging-dependencies, jbossmq-dependencies, quickstart-specific-dependencies">
<path id="compile-classpath">
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/conf/quickstarts.properties-example
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/conf/quickstarts.properties-example 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/conf/quickstarts.properties-example 2008-07-07 16:11:35 UTC (rev 20943)
@@ -5,13 +5,17 @@
##############################################################################################
# Location of your JBoss Application Server installation.
# Will override the same property name from install/deployment.properties
-#org.jboss.esb.server.home=${product.dir}/build/jbossesb-server-4.2GA
+#org.jboss.esb.server.home=${product.dir}/build/jbossesb-server-4.2.1CP3
# JBossAS server name. If not set defaults to 'default'
# Will override the same property name from install/deployment.properties
#org.jboss.esb.server.config=default
+# jBPM console security credentials (if org.jboss.esb.server.config=production)
+#jbpm.console.username=admin
+#jbpm.console.password=admin
+
# If you are running the ftp tests then you must complete the following
jbossesb.ftp.hostname=
jbossesb.ftp.username=
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/custom_action/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/custom_action/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/custom_action/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,14 +2,11 @@
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost" >
-
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter
dest-type="QUEUE"
- dest-name="queue/quickstart_custom_action_GW"
+ dest-name="queue/quickstart_custom_action_GW"
/>
</jms-bus>
<jms-bus busid="quickstartEsbChannel">
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/deadletter/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/deadletter/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/deadletter/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,10 +2,7 @@
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-URL="jnp://127.0.0.1:1099" jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-pkg-prefix="org.jboss.naming:org.jnp.interfaces">
-
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter
dest-type="QUEUE"
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/exceptions_faults/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/exceptions_faults/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/exceptions_faults/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,10 +2,7 @@
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost" >
-
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="LostMessageServiceGW">
<jms-message-filter
dest-type="QUEUE"
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/fun_cbr/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/fun_cbr/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/fun_cbr/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,9 +2,7 @@
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" >
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost" >
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_Fun_CBR_Request_GW"/>
</jms-bus>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/groovy_gateway/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/groovy_gateway/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/groovy_gateway/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,10 +2,7 @@
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost" >
-
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="quickstartEsbChannel">
<jms-message-filter
dest-type="QUEUE"
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -6,7 +6,7 @@
${line.separator}
</description>
- <property name="additional.deploys" value="jbossesb-service.xml" />
+ <property name="additional.deploys" value="jbossesb-service.xml quickstart-ds.xml" />
<!-- Import the base Ant build script... -->
<import file="../conf/base-build.xml"/>
@@ -28,7 +28,6 @@
<target name="undeploy" depends="dependencies">
<delete file="${org.jboss.esb.server.deploy.dir}/${ant.project.name}.esb"/>
- <delete file="${org.jboss.esb.server.deploy.dir}/quickstart-ds.xml"/>
</target>
<target name="config" depends="compile">
@@ -69,6 +68,7 @@
we are packaging it within an .ear -->
<mkdir dir="${build.dir}/META-INF"/>
<copy file="jboss-esb.xml" todir="${build.dir}/META-INF"/>
+ <copy file="deployment.xml" todir="${build.dir}/META-INF"/>
<delete file="${build.dir}/${ant.project.name}.esb"/>
<jar destfile="${build.dir}/${ant.project.name}.esb">
<fileset dir="${build.dir}">
@@ -76,9 +76,10 @@
<include name="*.war"/>
<include name="action.jar"/>
</fileset>
- <fileset dir="${basedir}">
- <include name="quickstart-ds.xml"/>
+ <fileset dir="${basedir}/src">
+ <include name="**/*.sql"/>
</fileset>
+ <fileset dir="${basedir}" includes="${additional.deploys} ${jms.service.file}"/>
</jar>
</target>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/deployment.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/helloworld_hibernate_action/deployment.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/deployment.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/deployment.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,3 @@
+<jbossesb-deployment>
+ <depends>jboss.esb:service=HelloworldHibernateDatabaseInitializer</depends>
+</jbossesb-deployment>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/jbm-queue-service.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/helloworld_hibernate_action/jbm-queue-service.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/jbm-queue-service.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/jbm-queue-service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_hibernate_action_Request_esb"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ <!-- redelivery attempt delay in millis -->
+ <attribute name="RedeliveryDelay">1000</attribute>
+ <attribute name="MaxDeliveryAttempts">15</attribute>
+ </mbean>
+
+</server>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/jbmq-queue-service.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/helloworld_hibernate_action/jbmq-queue-service.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/jbmq-queue-service.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/jbmq-queue-service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_hibernate_action_Request_esb">
+ <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+ <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+ <!-- redelivery attempt delay in millis -->
+ <attribute name="RedeliveryDelay">1000</attribute>
+ </mbean>
+</server>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -16,7 +16,7 @@
<jms-bus busid="quickstartEsbChannel">
<jms-message-filter
dest-type="QUEUE"
- dest-name="queue/A"
+ dest-name="queue/quickstart_hibernate_action_Request_esb"
selector="source='fromHelloworldHibernateAction'"
/>
</jms-bus>
@@ -28,7 +28,7 @@
<services>
<service
category="myCategory"
- name="myJmsListener"
+ name="myHibernateListener"
description="Hello World Hibernate Action (esb hibernate listener)">
<listeners>
<hibernate-listener name="HibernateGateway"
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/jbossesb-service.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/jbossesb-service.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/jbossesb-service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,12 +2,12 @@
<server>
<mbean code="org.jboss.internal.soa.esb.dependencies.DatabaseInitializer"
- name="jboss.esb:service=QuickstartDatabaseInitializer">
- <attribute name="Datasource">java:/QuickstartDB</attribute>
+ name="jboss.esb:service=HelloworldHibernateDatabaseInitializer">
+ <attribute name="Datasource">java:/HelloworldHibernateDB</attribute>
<attribute name="ExistsSql">select * from orders</attribute>
<attribute name="SqlFiles">
hsqldb/create.sql
</attribute>
- <depends>jboss.jca:name=QuickstartDB,service=DataSourceBinding</depends>
+ <depends>jboss.jca:name=HelloworldHibernateDB,service=DataSourceBinding</depends>
</mbean>
</server>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/quickstart-ds.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/quickstart-ds.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_hibernate_action/quickstart-ds.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
- <jndi-name>QuickstartDB</jndi-name>
+ <jndi-name>HelloworldHibernateDB</jndi-name>
<connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1703</connection-url>
<driver-class>org.hsqldb.jdbcDriver</driver-class>
<user-name>sa</user-name>
@@ -9,16 +9,15 @@
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
<idle-timeout-minutes>0</idle-timeout-minutes>
- <depends>jboss:service=Hypersonic</depends>
+ <depends>jboss:service=HelloworldHibernateDB</depends>
<prepared-statement-cache-size>32</prepared-statement-cache-size>
</local-tx-datasource>
- <!-- For hsqldb accessed from jboss only, in-process (standalone) mode -->
- <mbean code="org.jboss.jdbc.HypersonicDatabase"
- name="jboss:service=Hypersonic">
+ <mbean code="org.jboss.internal.soa.esb.dependencies.HypersonicDatabase"
+ name="jboss:service=HelloworldHibernateDB">
<attribute name="Port">1703</attribute>
<attribute name="BindAddress">${jboss.bind.address}</attribute>
- <attribute name="Database">quickstartDB</attribute>
+ <attribute name="Database">HelloworldHibernateDB</attribute>
<attribute name="Silent">true</attribute>
<attribute name="Trace">false</attribute>
<attribute name="No_system_exit">true</attribute>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -5,19 +5,13 @@
${line.separator}
</description>
- <property name="additional.deploys" value="jbossesb-service.xml" />
+ <property name="additional.deploys" value="jbossesb-service.xml quickstart-ds.xml" />
<!-- Import the base Ant build script... -->
<import file="../conf/base-build.xml"/>
<target name="quickstart-specific-assemblies" description="Quickstart specific assemblies">
</target>
-
- <target name="quickstart-specific-deploys" description="Quickstart specific deploys">
- <copy file="quickstart-ds.xml"
- todir="${org.jboss.esb.server.deploy.dir}"
- overwrite="false"/>
- </target>
<target name="runtest" depends="dependencies" description="Insert row data into sql table polled by gateway">
<property name="hsqldb.jar"
@@ -25,7 +19,7 @@
<echo>Insert row data into sql table polled by gateway</echo>
<sql
driver="org.hsqldb.jdbcDriver"
- url="jdbc:hsqldb:hsql://localhost:1703"
+ url="jdbc:hsqldb:hsql://localhost:1704"
userid="sa"
autocommit="true"
password="">
@@ -43,7 +37,7 @@
<sql
print="true"
driver="org.hsqldb.jdbcDriver"
- url="jdbc:hsqldb:hsql://localhost:1703"
+ url="jdbc:hsqldb:hsql://localhost:1704"
userid="sa"
autocommit="true"
password="">
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/deployment.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/helloworld_sql_action/deployment.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/deployment.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/deployment.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,3 @@
+<jbossesb-deployment>
+ <depends>jboss.esb:service=HelloworldSqlDatabaseInitializer</depends>
+</jbossesb-deployment>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/jbm-queue-service.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/helloworld_sql_action/jbm-queue-service.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/jbm-queue-service.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/jbm-queue-service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_sql_action_Request_esb"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ <!-- redelivery attempt delay in millis -->
+ <attribute name="RedeliveryDelay">1000</attribute>
+ <attribute name="MaxDeliveryAttempts">15</attribute>
+ </mbean>
+
+</server>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/jbmq-queue-service.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/helloworld_sql_action/jbmq-queue-service.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/jbmq-queue-service.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/jbmq-queue-service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_sql_action_Request_esb">
+ <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+ <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
+ <!-- redelivery attempt delay in millis -->
+ <attribute name="RedeliveryDelay">1000</attribute>
+ </mbean>
+</server>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -3,7 +3,7 @@
<providers>
<sql-provider name="SQLprovider"
- url="jdbc:hsqldb:hsql://localhost:1703"
+ url="jdbc:hsqldb:hsql://localhost:1704"
driver="org.hsqldb.jdbcDriver"
username="sa"
password="">
@@ -25,7 +25,7 @@
<jms-bus busid="quickstartEsbChannel">
<jms-message-filter
dest-type="QUEUE"
- dest-name="queue/A"
+ dest-name="queue/quickstart_sql_action_Request_esb"
selector="source='fromHelloworldSQLAction'"
/>
</jms-bus>
@@ -37,7 +37,7 @@
<services>
<service
category="myCategory"
- name="myJmsListener"
+ name="mySqlListener"
description="Hello World SQL Action (esb jdbc listener)">
<listeners>
<sql-listener name="SqlGateway"
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/jbossesb-service.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/jbossesb-service.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/jbossesb-service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,12 +2,12 @@
<server>
<mbean code="org.jboss.internal.soa.esb.dependencies.DatabaseInitializer"
- name="jboss.esb:service=QuickstartDatabaseInitializer">
- <attribute name="Datasource">java:/QuickstartDB</attribute>
+ name="jboss.esb:service=HelloworldSqlDatabaseInitializer">
+ <attribute name="Datasource">java:/HelloworldSqlDB</attribute>
<attribute name="ExistsSql">select * from gateway_table</attribute>
<attribute name="SqlFiles">
hsqldb/create.sql
</attribute>
- <depends>jboss.jca:name=QuickstartDB,service=DataSourceBinding</depends>
+ <depends>jboss.jca:name=HelloworldSqlDB,service=DataSourceBinding</depends>
</mbean>
</server>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/quickstart-ds.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/quickstart-ds.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_sql_action/quickstart-ds.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,24 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
- <jndi-name>QuickstartDB</jndi-name>
- <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1703</connection-url>
+ <jndi-name>HelloworldSqlDB</jndi-name>
+ <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1704</connection-url>
<driver-class>org.hsqldb.jdbcDriver</driver-class>
<user-name>sa</user-name>
<password></password>
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
<idle-timeout-minutes>0</idle-timeout-minutes>
- <depends>jboss:service=Hypersonic</depends>
+ <depends>jboss:service=HelloworldSqlDB</depends>
<prepared-statement-cache-size>32</prepared-statement-cache-size>
</local-tx-datasource>
- <!-- For hsqldb accessed from jboss only, in-process (standalone) mode -->
- <mbean code="org.jboss.jdbc.HypersonicDatabase"
- name="jboss:service=Hypersonic">
- <attribute name="Port">1703</attribute>
+ <mbean code="org.jboss.internal.soa.esb.dependencies.HypersonicDatabase"
+ name="jboss:service=HelloworldSqlDB">
+ <attribute name="Port">1704</attribute>
<attribute name="BindAddress">${jboss.bind.address}</attribute>
- <attribute name="Database">quickstartDB</attribute>
+ <attribute name="Database">HelloworldSqlDB</attribute>
<attribute name="Silent">true</attribute>
<attribute name="Trace">false</attribute>
<attribute name="No_system_exit">true</attribute>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -5,7 +5,7 @@
${line.separator}
</description>
- <property name="additional.deploys" value="jbossesb-service.xml" />
+ <property name="additional.deploys" value="jbossesb-service.xml quickstart-ds.xml" />
<!-- Import the base Ant build script... -->
<import file="../conf/base-build.xml"/>
@@ -13,125 +13,114 @@
<target name="quickstart-specific-assemblies" description="Quickstart specific assemblies">
</target>
- <target name="quickstart-specific-deploys" description="Quickstart specific deploys">
- <copy file="quickstart-ds.xml"
- todir="${org.jboss.esb.server.deploy.dir}"
- overwrite="false"/>
+ <target name="quickstart-specific-checks">
+ <property name="driver" value="org.h2.Driver"/>
+ <property name="driver.jar" value="${org.jboss.esb.server.home}/server/${org.jboss.esb.server.config}/lib/h2.jar"/>
+ <property name="url" value="jdbc:h2:tcp://localhost:9095/"/>
</target>
-
+
<target name="runtest" depends="dependencies" description="Insert row data into sql table polled by gateway">
- <property name="hsqldb.jar"
- value="${org.jboss.esb.server.home}/server/${org.jboss.esb.server.config}/lib/hsqldb.jar"/>
- <echo>Insert row data into sql table polled by gateway</echo>
- <sql
- driver="org.hsqldb.jdbcDriver"
- url="jdbc:hsqldb:hsql://localhost:1703"
- userid="sa"
- autocommit="true"
- password="">
- <classpath>
- <pathelement path="${hsqldb.jar}"/>
- </classpath>
+ <echo>Insert row data into sql table polled by gateway</echo>
+ <sql
+ driver="${driver}"
+ url="${url}"
+ userid="sa"
+ autocommit="true"
+ password="">
+ <classpath>
+ <pathelement path="${driver.jar}"/>
+ </classpath>
<transaction src="populate.sql"/>
- </sql>
+ </sql>
</target>
<target name="create" depends="dependencies" description="create table tx_esb_messages">
- <property name="hsqldb.jar"
- value="${org.jboss.esb.server.home}/server/${org.jboss.esb.server.config}/lib/hsqldb.jar"/>
<echo>create table tx_esb_messages</echo>
<sql
print="true"
- driver="org.hsqldb.jdbcDriver"
- url="jdbc:hsqldb:hsql://localhost:1703"
+ driver="${driver}"
+ url="${url}"
userid="sa"
autocommit="true"
password="">
<classpath>
- <pathelement path="${hsqldb.jar}"/>
+ <pathelement path="${driver.jar}"/>
</classpath>
<transaction>
- create table tx_esb_messages(MESSAGE_ID varchar, STATUS_COL varchar NOT NULL, TIMESTAMP_COL bigint, DATA_COL varchar NOT NULL);
+ create table tx_esb_messages(MESSAGE_ID varchar, STATUS_COL varchar NOT NULL, TIMESTAMP_COL bigint, DATA_COL varchar NOT NULL);
</transaction>
- </sql>
-
+ </sql>
</target>
<target name="drop" depends="dependencies" description="drop table tx_esb_messages">
- <property name="hsqldb.jar"
- value="${org.jboss.esb.server.home}/server/${org.jboss.esb.server.config}/lib/hsqldb.jar"/>
<echo>drop table tx_esb_messages</echo>
<sql
print="true"
- driver="org.hsqldb.jdbcDriver"
- url="jdbc:hsqldb:hsql://localhost:1703"
+ driver="${driver}"
+ url="${url}"
userid="sa"
autocommit="true"
password="">
<classpath>
- <pathelement path="${hsqldb.jar}"/>
+ <pathelement path="${driver.jar}"/>
</classpath>
<transaction>
- drop table tx_esb_messages
+ drop table tx_esb_messages
</transaction>
- </sql>
-
+ </sql>
</target>
<target name="drop2" depends="dependencies" description="drop table gateway_table">
- <property name="hsqldb.jar"
- value="${org.jboss.esb.server.home}/server/${org.jboss.esb.server.config}/lib/hsqldb.jar"/>
+ <echo>drop table tx_esb_messages</echo>
<echo>drop table gateway_table</echo>
<sql
print="true"
- driver="org.hsqldb.jdbcDriver"
- url="jdbc:hsqldb:hsql://localhost:1703"
+ driver="${driver}"
+ url="${url}"
userid="sa"
autocommit="true"
password="">
<classpath>
- <pathelement path="${hsqldb.jar}"/>
+ <pathelement path="${driver.jar}"/>
</classpath>
<transaction>
- drop table gateway_table
+ drop table gateway_table
</transaction>
- </sql>
-
+ </sql>
</target>
<target name="select" depends="dependencies" description="select * from gateway_table">
- <property name="hsqldb.jar"
- value="${org.jboss.esb.server.home}/server/${org.jboss.esb.server.config}/lib/hsqldb.jar"/>
- <echo>Select * from gateway_table</echo>
+ <echo>Select * from tx_esb_messages</echo>
<sql
print="true"
- driver="org.hsqldb.jdbcDriver"
- url="jdbc:hsqldb:hsql://localhost:1703"
+ driver="${driver}"
+ url="${url}"
userid="sa"
autocommit="true"
password="">
<classpath>
- <pathelement path="${hsqldb.jar}"/>
+ <pathelement path="${driver.jar}"/>
</classpath>
<transaction>
- select * from tx_esb_messages
+ select * from tx_esb_messages
</transaction>
- </sql>
+ </sql>
+
+ <echo>Select * from gateway_table</echo>
<sql
print="true"
- driver="org.hsqldb.jdbcDriver"
- url="jdbc:hsqldb:hsql://localhost:1703"
+ driver="${driver}"
+ url="${url}"
userid="sa"
autocommit="true"
password="">
<classpath>
- <pathelement path="${hsqldb.jar}"/>
+ <pathelement path="${driver.jar}"/>
</classpath>
<transaction>
- select * from gateway_table
+ select * from gateway_table where DATA_COLUMN like 'data%' and upper(STATUS_COL) like 'P%' order by DATA_COLUMN
</transaction>
- </sql>
-
+ </sql>
</target>
<target name="deploy-jms-dests">
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/deployment.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/deployment.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/deployment.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,3 +0,0 @@
-<jbossesb-deployment>
- <depends>jboss.esb:service=QuickstartDatabaseInitializer</depends>
-</jbossesb-deployment>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/deployment.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/helloworld_tx_sql_action/deployment.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/deployment.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/deployment.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,3 @@
+<jbossesb-deployment>
+ <depends>jboss.esb:service=HelloworldTxSqlDatabaseInitializer</depends>
+</jbossesb-deployment>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -3,16 +3,14 @@
<providers>
<sql-provider name="GatewaySQLprovider"
- url="jdbc:hsqldb:hsql://localhost:1703"
- driver="org.hsqldb.jdbcDriver"
- username="sa"
- password="">
+ url="jdbc:h2:tcp://localhost:9095/"
+ datasource="java:/HelloworldTxSqlDB">
<sql-bus busid="helloSQLChannel" >
<sql-message-filter
- tablename="GATEWAY_TABLE"
+ tablename="gateway_table"
status-column="STATUS_COL"
- order-by="DATA_COLUMN"
- where-condition="DATA_COLUMN like 'data%'"
+ order-by="DATA_COLUMN"
+ where-condition="DATA_COLUMN like 'data%'"
message-column="DATA_COLUMN"
message-id-column="UNIQUE_ID"
insert-timestamp-column="TIMESTAMP_COL"
@@ -21,15 +19,15 @@
</sql-provider>
<sql-provider name="SQLprovider"
- url="jdbc:hsqldb:hsql://localhost:1703"
- datasource="java:/QuickstartDB">
+ url="jdbc:h2:tcp://localhost:9095/"
+ datasource="java:/HelloworldTxSqlDB">
<sql-bus busid="TxHelloSQLChannel" >
<sql-message-filter
tablename="TX_ESB_MESSAGES"
- message-id-column="MESSAGE_ID"
+ message-id-column="MESSAGE_ID"
status-column="STATUS_COL"
- insert-timestamp-column="TIMESTAMP_COL"
- message-column="DATA_COLUMN"
+ insert-timestamp-column="TIMESTAMP_COL"
+ message-column="DATA_COLUMN"
/>
</sql-bus>
</sql-provider>
@@ -37,27 +35,16 @@
</providers>
<services>
- <service
- category="myCategory"
- name="myTxListener"
- description="Hello World TX SQL Action (esb jdbc listener)">
+ <service category="myCategory" name="myTxListener" description="Hello World TX SQL Action (esb jdbc listener)">
<listeners>
- <sql-listener name="SqlGateway"
- busidref="helloSQLChannel"
- maxThreads="1"
- is-gateway="true"/>
- <sql-listener name="TxSqlListener"
- busidref="TxHelloSQLChannel"
- maxThreads="1">
- <property name="transacted" value="true"/>
+ <sql-listener name="SqlGateway" busidref="helloSQLChannel" maxThreads="1" is-gateway="true"/>
+ <sql-listener name="TxSqlListener" busidref="TxHelloSQLChannel" maxThreads="1">
+ <property name="transacted" value="true"/>
</sql-listener>
</listeners>
<actions mep="OneWay">
- <action name="action1"
- class="org.jboss.soa.esb.samples.quickstart.helloworldtxsqlaction.MyAction"
- process="displayMessage"
- />
- <action name="action2" class="org.jboss.soa.esb.actions.SystemPrintln" />
+ <action name="action1" class="org.jboss.soa.esb.samples.quickstart.helloworldtxsqlaction.MyAction" process="displayMessage" />
+ <action name="action2" class="org.jboss.soa.esb.actions.SystemPrintln" />
</actions>
</service>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/jbossesb-service.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/jbossesb-service.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/jbossesb-service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,12 +2,10 @@
<server>
<mbean code="org.jboss.internal.soa.esb.dependencies.DatabaseInitializer"
- name="jboss.esb:service=QuickstartDatabaseInitializer">
- <attribute name="Datasource">java:/QuickstartDB</attribute>
+ name="jboss.esb:service=HelloworldTxSqlDatabaseInitializer">
+ <attribute name="Datasource">java:/HelloworldTxSqlDB</attribute>
<attribute name="ExistsSql">select * from gateway_table</attribute>
- <attribute name="SqlFiles">
- hsqldb/create.sql
- </attribute>
- <depends>jboss.jca:name=QuickstartDB,service=DataSourceBinding</depends>
+ <attribute name="SqlFiles">h2/create.sql</attribute>
+ <depends>jboss.jca:name=HelloworldTxSqlDB,service=DataSourceBinding</depends>
</mbean>
</server>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/quickstart-ds.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/quickstart-ds.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/quickstart-ds.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,26 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
- <jndi-name>QuickstartDB</jndi-name>
- <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1703</connection-url>
- <driver-class>org.hsqldb.jdbcDriver</driver-class>
- <user-name>sa</user-name>
- <password></password>
- <min-pool-size>5</min-pool-size>
- <max-pool-size>20</max-pool-size>
- <idle-timeout-minutes>0</idle-timeout-minutes>
- <depends>jboss:service=Hypersonic</depends>
- <prepared-statement-cache-size>32</prepared-statement-cache-size>
+ <jndi-name>HelloworldTxSqlDB</jndi-name>
+ <connection-url>jdbc:h2:tcp://localhost:9095/;DB_CLOSE_ON_EXIT=FALSE</connection-url>
+ <driver-class>org.h2.Driver</driver-class>
+ <user-name>sa</user-name>
+ <password/>
+ <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
+ <min-pool-size>5</min-pool-size>
+ <max-pool-size>20</max-pool-size>
+ <idle-timeout-minutes>0</idle-timeout-minutes>
+ <prepared-statement-cache-size>32</prepared-statement-cache-size>
+ <depends>jboss:service=HelloworldTxSqlDB</depends>
</local-tx-datasource>
- <!-- For hsqldb accessed from jboss only, in-process (standalone) mode -->
- <mbean code="org.jboss.jdbc.HypersonicDatabase"
- name="jboss:service=Hypersonic">
- <attribute name="Port">1703</attribute>
- <attribute name="BindAddress">${jboss.bind.address}</attribute>
- <attribute name="Database">QuickstartDB</attribute>
- <attribute name="Silent">true</attribute>
- <attribute name="Trace">false</attribute>
- <attribute name="No_system_exit">true</attribute>
+ <mbean code="org.jboss.internal.soa.esb.dependencies.H2Database" name="jboss:service=HelloworldTxSqlDB">
+ <attribute name="Database">HelloworldTxSqlDB</attribute>
+ <attribute name="ServerMode">true</attribute>
+ <attribute name="Port">9095</attribute>
+ <attribute name="InMemoryMode">false</attribute>
</mbean>
</datasources>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/src/h2 (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/helloworld_tx_sql_action/src/h2)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/src/h2/create.sql
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/helloworld_tx_sql_action/src/h2/create.sql 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/src/h2/create.sql 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,15 +0,0 @@
-CREATE TABLE gateway_table
-(
-unique_id INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY,
-data_column VARCHAR(255) NOT NULL,
-status_col VARCHAR(255) NOT NULL,
-timestamp_col VARCHAR(255)
-);
-
-CREATE TABLE TX_ESB_MESSAGES
-(
-message_id VARCHAR(255) NOT NULL,
-data_column CLOB NOT NULL,
-status_col VARCHAR(255) NOT NULL,
-timestamp_col VARCHAR(255)
-);
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/src/h2/create.sql (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/helloworld_tx_sql_action/src/h2/create.sql)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/src/h2/create.sql (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/helloworld_tx_sql_action/src/h2/create.sql 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,15 @@
+CREATE TABLE gateway_table
+(
+unique_id INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY,
+data_column VARCHAR(255) NOT NULL,
+status_col VARCHAR(255) NOT NULL,
+timestamp_col VARCHAR(255)
+);
+
+CREATE TABLE TX_ESB_MESSAGES
+(
+message_id VARCHAR(255) NOT NULL,
+data_column CLOB NOT NULL,
+status_col VARCHAR(255) NOT NULL,
+timestamp_col VARCHAR(255)
+);
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/jbossesb.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/jbossesb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/jbossesb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,45 +0,0 @@
-<?xml version = "1.0" encoding = "UTF-8"?>
-<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd">
-
- <providers>
- <fs-provider name="FSprovider1">
- <fs-bus busid="ediFileMessageBus">
- <fs-message-filter
- directory="build"
- input-suffix=".edi"
- work-suffix=".esbWorking"
- post-delete="false" post-directory="build" post-suffix=".sentToEsb"
- error-delete="false" error-directory="build" error-suffix=".IN_ERROR" />
- </fs-bus>
- </fs-provider>
- </providers>
-
- <services>
-
- <service category="HugeQS" name="SplitterService" description="Splits out the order items and routes them.">
- <listeners>
- <fs-listener name="FileGateway" busidref="ediFileMessageBus" is-gateway="true" poll-frequency-seconds="2">
- <property name="composer-class" value="org.jboss.soa.esb.smooks.splitting.FileStreamSplitter"/>
- <property name="splitterConfig" value="/smooks_configs/main.xml"/>
- <!-- property name="reportPath" value="/zap/report.html"/ -->
- </fs-listener>
- </listeners>
- <actions mep="OneWay">
- <action name="print" class="org.jboss.soa.esb.example.PrintMessage">
- <property name="delay" value="500" />
- </action>
- </actions>
- </service>
-
- <service category="HugeQS" name="04_Reptiles_notify_webservice_proxy" description="Routes the SOAP requests to the 'Reptiles Notification' Webservice" invmScope="GLOBAL">
- <actions mep="OneWay">
- <action name="httprouter" class="org.jboss.soa.esb.actions.routing.http.HttpRouter">
- <property name="endpointUrl" value="http://127.0.0.1:8080/Quickstart_Huge_Enrich_Split_Transform_Route/ReptilesNotifyWS" />
- <property name="method" value="POST" />
- <property name="responseType" value="STRING" />
- </action>
- </actions>
- </service>
-
- </services>
-</jbossesb>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/jbossesb.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/jbossesb.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/jbossesb.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/jbossesb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,45 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd">
+
+ <providers>
+ <fs-provider name="FSprovider1">
+ <fs-bus busid="ediFileMessageBus">
+ <fs-message-filter
+ directory="build"
+ input-suffix=".edi"
+ work-suffix=".esbWorking"
+ post-delete="false" post-directory="build" post-suffix=".sentToEsb"
+ error-delete="false" error-directory="build" error-suffix=".IN_ERROR" />
+ </fs-bus>
+ </fs-provider>
+ </providers>
+
+ <services>
+
+ <service category="HugeQS" name="SplitterService" description="Splits out the order items and routes them.">
+ <listeners>
+ <fs-listener name="FileGateway" busidref="ediFileMessageBus" is-gateway="true" poll-frequency-seconds="2">
+ <property name="composer-class" value="org.jboss.soa.esb.smooks.splitting.FileStreamSplitter"/>
+ <property name="splitterConfig" value="/smooks_configs/main.xml"/>
+ <!-- property name="reportPath" value="/zap/report.html"/ -->
+ </fs-listener>
+ </listeners>
+ <actions mep="OneWay">
+ <action name="print" class="org.jboss.soa.esb.example.PrintMessage">
+ <property name="delay" value="500" />
+ </action>
+ </actions>
+ </service>
+
+ <service category="HugeQS" name="04_Reptiles_notify_webservice_proxy" description="Routes the SOAP requests to the 'Reptiles Notification' Webservice" invmScope="GLOBAL">
+ <actions mep="OneWay">
+ <action name="httprouter" class="org.jboss.soa.esb.actions.routing.http.HttpRouter">
+ <property name="endpointUrl" value="http://127.0.0.1:8080/Quickstart_Huge_Enrich_Split_Transform_Route/ReptilesNotifyWS" />
+ <property name="method" value="POST" />
+ <property name="responseType" value="STRING" />
+ </action>
+ </actions>
+ </service>
+
+ </services>
+</jbossesb>
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/log4j.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/log4j.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/log4j.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
-
-<!-- ===================================================================== -->
-<!-- -->
-<!-- Log4j Configuration -->
-<!-- -->
-<!-- ===================================================================== -->
-
-<!-- $Id: log4j.xml,v 1.26.2.5 2005/09/15 09:31:02 dimitris Exp $ -->
-
-<!--
- | For more configuration infromation and examples see the Jakarta Log4j
- | owebsite: http://jakarta.apache.org/log4j
- -->
-
-<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
-
- <!-- ============================== -->
- <!-- Append messages to the console -->
- <!-- ============================== -->
-
- <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="Target" value="System.out"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <!-- The default pattern: Date Priority [Category] Message\n -->
- <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
- </layout>
- </appender>
-
-
- <!-- ================================= -->
- <!-- Preserve messages in a local file -->
- <!-- ================================= -->
-
- <!-- A size based file rolling appender -->
- <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="File" value="./listener.log"/>
- <param name="Append" value="false"/>
- <param name="MaxFileSize" value="500KB"/>
- <param name="MaxBackupIndex" value="1"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d %-5p [%t][%c] %m%n"/>
- </layout>
- </appender>
-
- <!-- ================ -->
- <!-- Limit categories -->
- <!-- ================ -->
-
- <category name="smooks">
- <priority value="INFO"/>
- </category>
- <category name="org">
- <priority value="INFO"/>
- </category>
- <category name="org.jboss">
- <priority value="WARN"/>
- </category>
- <category name="org.jboss.soa.esb">
- <priority value="INFO"/>
- </category>
- <category name="org.jboss.internal.soa.esb">
- <priority value="ERROR"/>
- </category>
- <category name="org.apache">
- <priority value="ERROR"/>
- </category>
- <category name="httpclient.wire">
- <priority value="ERROR"/>
- </category>
- <category name="org.milyn">
- <priority value="ERROR"/>
- </category>
-
- <category name="org.milyn.javabean.expression.BeanMapExpressionEvaluator">
- <priority value="ERROR"/>
- </category>
-
- <category name="org.milyn.edisax.BufferedSegmentReader">
- <priority value="DEBUG"/>
- </category>
-
- <category name="quickstarts">
- <priority value="ERROR"/>
- </category>
-
- <!-- ======================= -->
- <!-- Setup the Root category -->
- <!-- ======================= -->
-
- <root>
- <appender-ref ref="CONSOLE"/>
- <appender-ref ref="FILE"/>
- </root>
-
-</log4j:configuration>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/log4j.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/log4j.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/log4j.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/log4j.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.26.2.5 2005/09/15 09:31:02 dimitris Exp $ -->
+
+<!--
+ | For more configuration infromation and examples see the Jakarta Log4j
+ | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="Target" value="System.out"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
+ </layout>
+ </appender>
+
+
+ <!-- ================================= -->
+ <!-- Preserve messages in a local file -->
+ <!-- ================================= -->
+
+ <!-- A size based file rolling appender -->
+ <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="File" value="./listener.log"/>
+ <param name="Append" value="false"/>
+ <param name="MaxFileSize" value="500KB"/>
+ <param name="MaxBackupIndex" value="1"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%t][%c] %m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <category name="smooks">
+ <priority value="INFO"/>
+ </category>
+ <category name="org">
+ <priority value="INFO"/>
+ </category>
+ <category name="org.jboss">
+ <priority value="WARN"/>
+ </category>
+ <category name="org.jboss.soa.esb">
+ <priority value="INFO"/>
+ </category>
+ <category name="org.jboss.internal.soa.esb">
+ <priority value="ERROR"/>
+ </category>
+ <category name="org.apache">
+ <priority value="ERROR"/>
+ </category>
+ <category name="httpclient.wire">
+ <priority value="ERROR"/>
+ </category>
+ <category name="org.milyn">
+ <priority value="ERROR"/>
+ </category>
+
+ <category name="org.milyn.javabean.expression.BeanMapExpressionEvaluator">
+ <priority value="ERROR"/>
+ </category>
+
+ <category name="org.milyn.edisax.BufferedSegmentReader">
+ <priority value="DEBUG"/>
+ </category>
+
+ <category name="quickstarts">
+ <priority value="ERROR"/>
+ </category>
+
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/bindings.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/bindings.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/bindings.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,49 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <!--
- Virtual Model Binding Configurations for the order message elements...
-
- Just capturing the order and order-item element details into 2
- Maps, overwriting each order-item as we iterate through the message i.e. not
- accumulating them in memory => low memory footprint because we only
- have details of the current order + current order-item in memory
- at any given time (i.e. we never have a full order in memory)...
- -->
-
- <!--
- Bind the main order details....
- -->
- <resource-config selector="order">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">orderDetail</param>
- <param name="beanClass">java.util.HashMap</param>
- <param name="bindings">
- <binding property="orderNum" selector="header/order-id" type="Long" />
- <binding property="uname" selector="customer-details/username" />
- <binding property="date" selector="header/date" type="OrderDateDecoder" /> <!-- Type defined below -->
- </param>
- </resource-config>
-
- <!--
- Bind each order-item. Not building a list of order items because we only want to have
- one order-item in memory at any one time. This way, we can handle a huge orders with many
- many order items..
- -->
- <resource-config selector="order-item">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">orderItem</param>
- <param name="beanClass">java.util.HashMap</param>
- <param name="bindings">
- <binding property="position" selector="order-item/position" type="Integer" />
- <binding property="quantity" selector="order-item/quantity" type="Integer" />
- <binding property="productId" selector="order-item/product-id" />
- </param>
- </resource-config>
-
- <resource-config selector="decoder:OrderDateDecoder">
- <resource>org.milyn.javabean.decoders.DateDecoder</resource>
- <param name="format">EEE MMM dd HH:mm:ss z yyyy</param>
- </resource-config>
-
-</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/bindings.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/bindings.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/bindings.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/bindings.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <!--
+ Virtual Model Binding Configurations for the order message elements...
+
+ Just capturing the order and order-item element details into 2
+ Maps, overwriting each order-item as we iterate through the message i.e. not
+ accumulating them in memory => low memory footprint because we only
+ have details of the current order + current order-item in memory
+ at any given time (i.e. we never have a full order in memory)...
+ -->
+
+ <!--
+ Bind the main order details....
+ -->
+ <resource-config selector="order">
+ <resource>org.milyn.javabean.BeanPopulator</resource>
+ <param name="beanId">orderDetail</param>
+ <param name="beanClass">java.util.HashMap</param>
+ <param name="bindings">
+ <binding property="orderNum" selector="header/order-id" type="Long" />
+ <binding property="uname" selector="customer-details/username" />
+ <binding property="date" selector="header/date" type="OrderDateDecoder" /> <!-- Type defined below -->
+ </param>
+ </resource-config>
+
+ <!--
+ Bind each order-item. Not building a list of order items because we only want to have
+ one order-item in memory at any one time. This way, we can handle a huge orders with many
+ many order items..
+ -->
+ <resource-config selector="order-item">
+ <resource>org.milyn.javabean.BeanPopulator</resource>
+ <param name="beanId">orderItem</param>
+ <param name="beanClass">java.util.HashMap</param>
+ <param name="bindings">
+ <binding property="position" selector="order-item/position" type="Integer" />
+ <binding property="quantity" selector="order-item/quantity" type="Integer" />
+ <binding property="productId" selector="order-item/product-id" />
+ </param>
+ </resource-config>
+
+ <resource-config selector="decoder:OrderDateDecoder">
+ <resource>org.milyn.javabean.decoders.DateDecoder</resource>
+ <param name="format">EEE MMM dd HH:mm:ss z yyyy</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/datasources.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/datasources.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/datasources.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,14 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <resource-config selector="$document">
- <resource>org.milyn.db.DirectDataSource</resource>
- <param name="datasource">OrderManagement</param>
- <param name="driver">org.hsqldb.jdbcDriver</param>
- <param name="url">jdbc:hsqldb:hsql://localhost:9002</param>
- <param name="username">sa</param>
- <param name="password"></param>
- <param name="autoCommit">false</param>
- </resource-config>
-
-</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/datasources.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/datasources.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/datasources.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/datasources.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <resource-config selector="$document">
+ <resource>org.milyn.db.DirectDataSource</resource>
+ <param name="datasource">OrderManagement</param>
+ <param name="driver">org.hsqldb.jdbcDriver</param>
+ <param name="url">jdbc:hsqldb:hsql://localhost:9002</param>
+ <param name="username">sa</param>
+ <param name="password"></param>
+ <param name="autoCommit">false</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/ref-data.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/ref-data.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/ref-data.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,45 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <!--
- At the start of the message, select the list of products and bind it into the bean context
- under the beanId of "products". We only want to do this lookup once Smooks instance i.e. not for
- every message, otherwise we'd kill memory performance. To control this, we set the "resultSetScope"
- param to "APPLICATION". The actual order item product row will be selected from the resultset by
- the ResultsetRowSelector config (below)...
- -->
- <resource-config selector="$document">
- <resource>org.milyn.routing.db.SQLExecutor</resource>
- <param name="datasource">OrderManagement</param>
- <param name="executeBefore">true</param>
- <param name="statement">select productid, name, attr1, listprice, category from product p, item i where p.productid = i.productid</param>
- <param name="resultSetName">products</param>
- <param name="resultSetScope">APPLICATION</param>
- </resource-config>
-
- <!--
- For every order-item, select the appropriate product row from the in-mem "products" reference data
- resultset, using the ResultsetRowSelector. Bind the selected product row back into the
- bean context under a beanId of "product"...
- -->
- <resource-config selector="order-item/product-id">
- <resource>org.milyn.routing.db.ResultsetRowSelector</resource>
- <param name="executeBefore">false</param>
- <param name="resultSetName">products</param>
- <param name="beanId">product</param>
- <param name="where">row.PRODUCTID == orderItem.productId</param>
- <param name="failedSelectError">Unknown Order Item product ID '${orderItem.productId}' on order '${orderDetail.orderNum?c}'.</param>
- </resource-config>
-
- <!--
- At the end of the customer-details/username, select the user account and bind it into the bean context
- under the beanId of "accounts". The users account should be the only entry in this list....
- -->
- <resource-config selector="customer-details">
- <resource>org.milyn.routing.db.SQLExecutor</resource>
- <param name="datasource">OrderManagement</param>
- <param name="statement">select * from ACCOUNT where userid = ${orderDetail.uname}</param>
- <param name="resultSetName">accounts</param>
- </resource-config>
-
-</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/ref-data.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/ref-data.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/ref-data.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/database/ref-data.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <!--
+ At the start of the message, select the list of products and bind it into the bean context
+ under the beanId of "products". We only want to do this lookup once Smooks instance i.e. not for
+ every message, otherwise we'd kill memory performance. To control this, we set the "resultSetScope"
+ param to "APPLICATION". The actual order item product row will be selected from the resultset by
+ the ResultsetRowSelector config (below)...
+ -->
+ <resource-config selector="$document">
+ <resource>org.milyn.routing.db.SQLExecutor</resource>
+ <param name="datasource">OrderManagement</param>
+ <param name="executeBefore">true</param>
+ <param name="statement">select productid, name, attr1, listprice, category from product p, item i where p.productid = i.productid</param>
+ <param name="resultSetName">products</param>
+ <param name="resultSetScope">APPLICATION</param>
+ </resource-config>
+
+ <!--
+ For every order-item, select the appropriate product row from the in-mem "products" reference data
+ resultset, using the ResultsetRowSelector. Bind the selected product row back into the
+ bean context under a beanId of "product"...
+ -->
+ <resource-config selector="order-item/product-id">
+ <resource>org.milyn.routing.db.ResultsetRowSelector</resource>
+ <param name="executeBefore">false</param>
+ <param name="resultSetName">products</param>
+ <param name="beanId">product</param>
+ <param name="where">row.PRODUCTID == orderItem.productId</param>
+ <param name="failedSelectError">Unknown Order Item product ID '${orderItem.productId}' on order '${orderDetail.orderNum?c}'.</param>
+ </resource-config>
+
+ <!--
+ At the end of the customer-details/username, select the user account and bind it into the bean context
+ under the beanId of "accounts". The users account should be the only entry in this list....
+ -->
+ <resource-config selector="customer-details">
+ <resource>org.milyn.routing.db.SQLExecutor</resource>
+ <param name="datasource">OrderManagement</param>
+ <param name="statement">select * from ACCOUNT where userid = ${orderDetail.uname}</param>
+ <param name="resultSetName">accounts</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/main.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/main.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/main.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,36 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <!--
- Filter the message using the SAX Filter (i.e. not DOM, so no
- intermediate DOM, so we can process huge messages...
- -->
- <resource-config selector="global-parameters">
- <param name="stream.filter.type">SAX</param>
- </resource-config>
-
- <!-- Import config for parsing this EDI message... -->
- <import file="parse/edi-orders-parser.xml" />
-
- <!-- Import datasource configs... -->
- <import file="database/datasources.xml" />
-
- <!-- Import reference/enrichment data configs - products, accounts etc... -->
- <import file="database/ref-data.xml" />
-
- <!-- Import config for binding order and order-item data into memory... -->
- <import file="bindings.xml" />
-
- <!-- Import config for routing order item XML to the "02_Low_Price" Service... -->
- <import file="routing/route-to-02_Low_Price_Service.xml" />
-
- <!-- Import config for routing order item Java Objects to the "03_High_Price" Service... -->
- <import file="routing/route-to-03_High_Price_Service.xml" />
-
- <!-- Import config for routing order item Java Objects to the "04_Reptiles_notify_webservice_proxy" Service... -->
- <import file="routing/route-to-04_Reptiles_notify_webservice_proxy.xml" />
-
- <!-- Import config for routing order items to the database... -->
- <import file="routing/route-to-05_Database.xml" />
-
-</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/main.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/main.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/main.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/main.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <!--
+ Filter the message using the SAX Filter (i.e. not DOM, so no
+ intermediate DOM, so we can process huge messages...
+ -->
+ <resource-config selector="global-parameters">
+ <param name="stream.filter.type">SAX</param>
+ </resource-config>
+
+ <!-- Import config for parsing this EDI message... -->
+ <import file="parse/edi-orders-parser.xml" />
+
+ <!-- Import datasource configs... -->
+ <import file="database/datasources.xml" />
+
+ <!-- Import reference/enrichment data configs - products, accounts etc... -->
+ <import file="database/ref-data.xml" />
+
+ <!-- Import config for binding order and order-item data into memory... -->
+ <import file="bindings.xml" />
+
+ <!-- Import config for routing order item XML to the "02_Low_Price" Service... -->
+ <import file="routing/route-to-02_Low_Price_Service.xml" />
+
+ <!-- Import config for routing order item Java Objects to the "03_High_Price" Service... -->
+ <import file="routing/route-to-03_High_Price_Service.xml" />
+
+ <!-- Import config for routing order item Java Objects to the "04_Reptiles_notify_webservice_proxy" Service... -->
+ <import file="routing/route-to-04_Reptiles_notify_webservice_proxy.xml" />
+
+ <!-- Import config for routing order items to the database... -->
+ <import file="routing/route-to-05_Database.xml" />
+
+</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-orders-parser.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-orders-parser.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-orders-parser.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,12 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <!--
- Configure the EDI Parser to parse the message stream into a stream of SAX events.
- -->
- <resource-config selector="org.xml.sax.driver">
- <resource>org.milyn.smooks.edi.SmooksEDIParser</resource>
- <param name="mapping-model">/smooks_configs/parse/edi-to-xml-order-mapping.xml</param>
- </resource-config>
-
-</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-orders-parser.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-orders-parser.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-orders-parser.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-orders-parser.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <!--
+ Configure the EDI Parser to parse the message stream into a stream of SAX events.
+ -->
+ <resource-config selector="org.xml.sax.driver">
+ <resource>org.milyn.smooks.edi.SmooksEDIParser</resource>
+ <param name="mapping-model">/smooks_configs/parse/edi-to-xml-order-mapping.xml</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-to-xml-order-mapping.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-to-xml-order-mapping.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-to-xml-order-mapping.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<medi:edimap xmlns:medi="http://www.milyn.org/schema/edi-message-mapping-1.0.xsd">
-
- <medi:description name="DVD Order" version="1.0" />
-
- <medi:delimiters segment=" " field="*" component="^" sub-component="~" />
-
- <medi:segments xmltag="Order">
-
- <medi:segment segcode="HDR" xmltag="header">
- <medi:field xmltag="order-id" />
- <medi:field xmltag="status-code" />
- <medi:field xmltag="date" />
- </medi:segment>
-
- <medi:segment segcode="CUS" xmltag="customer-details">
- <medi:field xmltag="username" />
- </medi:segment>
-
- <medi:segment segcode="ORD" xmltag="order-item" maxOccurs="-1">
- <medi:field xmltag="position" />
- <medi:field xmltag="quantity" />
- <medi:field xmltag="product-id" />
- </medi:segment>
-
- </medi:segments>
-
-</medi:edimap>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-to-xml-order-mapping.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-to-xml-order-mapping.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-to-xml-order-mapping.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/parse/edi-to-xml-order-mapping.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<medi:edimap xmlns:medi="http://www.milyn.org/schema/edi-message-mapping-1.0.xsd">
+
+ <medi:description name="DVD Order" version="1.0" />
+
+ <medi:delimiters segment=" " field="*" component="^" sub-component="~" />
+
+ <medi:segments xmltag="Order">
+
+ <medi:segment segcode="HDR" xmltag="header">
+ <medi:field xmltag="order-id" />
+ <medi:field xmltag="status-code" />
+ <medi:field xmltag="date" />
+ </medi:segment>
+
+ <medi:segment segcode="CUS" xmltag="customer-details">
+ <medi:field xmltag="username" />
+ </medi:segment>
+
+ <medi:segment segcode="ORD" xmltag="order-item" maxOccurs="-1">
+ <medi:field xmltag="position" />
+ <medi:field xmltag="quantity" />
+ <medi:field xmltag="product-id" />
+ </medi:segment>
+
+ </medi:segments>
+
+</medi:edimap>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-02_Low_Price_Service.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-02_Low_Price_Service.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-02_Low_Price_Service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,43 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <!--
- At the end of every order-item, route the order item XML ("02_XML_OrderItem") to the
- "02_Low_Price" Service, if the total is 20 or less...
- -->
- <resource-config selector="order-item">
- <resource>org.jboss.soa.esb.smooks.FragmentRouter</resource>
- <condition>
- <!--
- product.LISTPRICE * orderItem.quantity <= 17.00
- -->
- </condition>
- <param name="beanId">02_XML_OrderItem</param> <!-- Populated and bound below... -->
- <param name="serviceCategory">HugeQS</param>
- <param name="serviceName">02_Low_Price</param>
- </resource-config>
-
- <!--
- At the end of every order-item, generate an <ord> split message for the "02_XML" Service
- and bind it back into the bean context under a bean ID of "02_XML_OrderItem"...
- -->
- <resource-config selector="order-item">
- <resource type="ftl"><!--<ord id="${orderDetail.orderNum?c}" date="${orderDetail.date?string("yyyy-MM-dd")}">
- <customer>
- <name>${accounts[0].LASTNAME}, ${accounts[0].FIRSTNAME}</name>
- <addr1>${accounts[0].ADDR1}</addr1>
- <addr2>${accounts[0].ADDR2}</addr2>
- <city>${accounts[0].CITY}</city>
- <state>${accounts[0].STATE}</state>
- <zip>${accounts[0].ZIP}</zip>
- </customer>
- <productid>${orderItem.productId}</productid>
- <quantity>${orderItem.quantity?c}</quantity>
- <price>${product.LISTPRICE?c}</price>
- <title>${product.NAME} (${product.ATTR1})</title>
-</ord>--></resource>
- <param name="action">bindto</param>
- <param name="bindId">02_XML_OrderItem</param>
- </resource-config>
-
-</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-02_Low_Price_Service.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-02_Low_Price_Service.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-02_Low_Price_Service.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-02_Low_Price_Service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <!--
+ At the end of every order-item, route the order item XML ("02_XML_OrderItem") to the
+ "02_Low_Price" Service, if the total is 20 or less...
+ -->
+ <resource-config selector="order-item">
+ <resource>org.jboss.soa.esb.smooks.FragmentRouter</resource>
+ <condition>
+ <!--
+ product.LISTPRICE * orderItem.quantity <= 17.00
+ -->
+ </condition>
+ <param name="beanId">02_XML_OrderItem</param> <!-- Populated and bound below... -->
+ <param name="serviceCategory">HugeQS</param>
+ <param name="serviceName">02_Low_Price</param>
+ </resource-config>
+
+ <!--
+ At the end of every order-item, generate an <ord> split message for the "02_XML" Service
+ and bind it back into the bean context under a bean ID of "02_XML_OrderItem"...
+ -->
+ <resource-config selector="order-item">
+ <resource type="ftl"><!--<ord id="${orderDetail.orderNum?c}" date="${orderDetail.date?string("yyyy-MM-dd")}">
+ <customer>
+ <name>${accounts[0].LASTNAME}, ${accounts[0].FIRSTNAME}</name>
+ <addr1>${accounts[0].ADDR1}</addr1>
+ <addr2>${accounts[0].ADDR2}</addr2>
+ <city>${accounts[0].CITY}</city>
+ <state>${accounts[0].STATE}</state>
+ <zip>${accounts[0].ZIP}</zip>
+ </customer>
+ <productid>${orderItem.productId}</productid>
+ <quantity>${orderItem.quantity?c}</quantity>
+ <price>${product.LISTPRICE?c}</price>
+ <title>${product.NAME} (${product.ATTR1})</title>
+</ord>--></resource>
+ <param name="action">bindto</param>
+ <param name="bindId">02_XML_OrderItem</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-03_High_Price_Service.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-03_High_Price_Service.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-03_High_Price_Service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,64 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <!--
- At the end of every order-item, route the order item Java Objects ("03_order") to the
- "03_High_Price" Service, if the price per item is 190 or more...
- -->
- <resource-config selector="order-item">
- <resource>org.jboss.soa.esb.smooks.FragmentRouter</resource>
- <condition>
- <!--
- product.LISTPRICE > 190.00
- -->
- </condition>
- <param name="beanId">03_order</param>
- <param name="serviceCategory">HugeQS</param>
- <param name="serviceName">03_High_Price</param>
- </resource-config>
-
- <!--
- At the end of every order-item, bind together the orderDetail with the current
- order item in a new HashMap and asign it under the beanId "03_order" in the bean
- context. 03_order gets routed by the above config..
- -->
- <resource-config selector="order-item">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">03_order</param>
- <param name="beanClass">org.jboss.soa.esb.example.highprice.Order</param>
- <param name="bindings">
- <binding property="firstName">accounts[0].FIRSTNAME</binding>
- <binding property="lastName">accounts[0].LASTNAME</binding>
- <binding property="address" selector="${03_address}" />
- <binding property="date">orderDetail.date</binding>
- <binding property="product" selector="${03_product}" />
- <binding property="quantity">orderItem.quantity</binding>
- </param>
- </resource-config>
-
- <resource-config selector="order-item">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">03_address</param>
- <param name="beanClass">org.jboss.soa.esb.example.highprice.Address</param>
- <param name="bindings">
- <binding property="email">accounts[0].EMAIL</binding>
- <binding property="address1">accounts[0].ADDR1</binding>
- <binding property="address2">accounts[0].ADDR2</binding>
- <binding property="city">accounts[0].CITY</binding>
- <binding property="state">accounts[0].STATE</binding>
- </param>
- </resource-config>
-
- <resource-config selector="order-item">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">03_product</param>
- <param name="beanClass">org.jboss.soa.esb.example.highprice.Product</param>
- <param name="bindings">
- <binding property="id">product.PRODUCTID</binding>
- <binding property="title">product.NAME</binding>
- <binding property="category">product.CATEGORY</binding>
- <binding property="price">product.LISTPRICE</binding>
- </param>
- </resource-config>
-
-</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-03_High_Price_Service.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-03_High_Price_Service.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-03_High_Price_Service.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-03_High_Price_Service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,64 @@
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <!--
+ At the end of every order-item, route the order item Java Objects ("03_order") to the
+ "03_High_Price" Service, if the price per item is 190 or more...
+ -->
+ <resource-config selector="order-item">
+ <resource>org.jboss.soa.esb.smooks.FragmentRouter</resource>
+ <condition>
+ <!--
+ product.LISTPRICE > 190.00
+ -->
+ </condition>
+ <param name="beanId">03_order</param>
+ <param name="serviceCategory">HugeQS</param>
+ <param name="serviceName">03_High_Price</param>
+ </resource-config>
+
+ <!--
+ At the end of every order-item, bind together the orderDetail with the current
+ order item in a new HashMap and asign it under the beanId "03_order" in the bean
+ context. 03_order gets routed by the above config..
+ -->
+ <resource-config selector="order-item">
+ <resource>org.milyn.javabean.BeanPopulator</resource>
+ <param name="beanId">03_order</param>
+ <param name="beanClass">org.jboss.soa.esb.example.highprice.Order</param>
+ <param name="bindings">
+ <binding property="firstName">accounts[0].FIRSTNAME</binding>
+ <binding property="lastName">accounts[0].LASTNAME</binding>
+ <binding property="address" selector="${03_address}" />
+ <binding property="date">orderDetail.date</binding>
+ <binding property="product" selector="${03_product}" />
+ <binding property="quantity">orderItem.quantity</binding>
+ </param>
+ </resource-config>
+
+ <resource-config selector="order-item">
+ <resource>org.milyn.javabean.BeanPopulator</resource>
+ <param name="beanId">03_address</param>
+ <param name="beanClass">org.jboss.soa.esb.example.highprice.Address</param>
+ <param name="bindings">
+ <binding property="email">accounts[0].EMAIL</binding>
+ <binding property="address1">accounts[0].ADDR1</binding>
+ <binding property="address2">accounts[0].ADDR2</binding>
+ <binding property="city">accounts[0].CITY</binding>
+ <binding property="state">accounts[0].STATE</binding>
+ </param>
+ </resource-config>
+
+ <resource-config selector="order-item">
+ <resource>org.milyn.javabean.BeanPopulator</resource>
+ <param name="beanId">03_product</param>
+ <param name="beanClass">org.jboss.soa.esb.example.highprice.Product</param>
+ <param name="bindings">
+ <binding property="id">product.PRODUCTID</binding>
+ <binding property="title">product.NAME</binding>
+ <binding property="category">product.CATEGORY</binding>
+ <binding property="price">product.LISTPRICE</binding>
+ </param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-04_Reptiles_notify_webservice_proxy.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-04_Reptiles_notify_webservice_proxy.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-04_Reptiles_notify_webservice_proxy.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,45 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <!--
- At the end of every order-item, route the "Reptiles Notification" SOAP message ("04_SOAP_OrderItem") to the
- "04_Reptiles_notify_webservice_proxy" Service, if the order item product.CATEGORY is "REPTILES"...
- -->
- <resource-config selector="order-item">
- <resource>org.jboss.soa.esb.smooks.FragmentRouter</resource>
- <condition>
- <!--
- product.CATEGORY == "REPTILES"
- -->
- </condition>
- <param name="beanId">04_SOAP_OrderItem</param>
- <param name="serviceCategory">HugeQS</param>
- <param name="serviceName">04_Reptiles_notify_webservice_proxy</param>
- </resource-config>
-
- <!--
- At the end of every order-item, generate an <ord> split message for the "02_XML" Service
- and bind it back into the bean context under a bean ID of "02_XML_OrderItem"...
- -->
- <resource-config selector="order-item">
- <resource type="ftl"><!--<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ord="http://ordermanagement/ReptilesNotifyWS">
- <soapenv:Header/>
- <soapenv:Body>
- <ord:notify>
- <notification>
- <date>${orderDetail.date?string("yyyy-MM-dd'T'HH:mm:ss")}</date>
- <email>${accounts[0].EMAIL}</email>
- <firstName>${accounts[0].FIRSTNAME}</firstName>
- <lastName>${accounts[0].LASTNAME}</lastName>
- <product>${product.NAME} (${product.ATTR1})</product>
- <quantity>${orderItem.quantity}</quantity>
- <totalPrice>${product.LISTPRICE?c}</totalPrice>
- </notification>
- </ord:notify>
- </soapenv:Body>
-</soapenv:Envelope>--></resource>
- <param name="action">bindto</param>
- <param name="bindId">04_SOAP_OrderItem</param>
- </resource-config>
-
-</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-04_Reptiles_notify_webservice_proxy.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-04_Reptiles_notify_webservice_proxy.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-04_Reptiles_notify_webservice_proxy.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-04_Reptiles_notify_webservice_proxy.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <!--
+ At the end of every order-item, route the "Reptiles Notification" SOAP message ("04_SOAP_OrderItem") to the
+ "04_Reptiles_notify_webservice_proxy" Service, if the order item product.CATEGORY is "REPTILES"...
+ -->
+ <resource-config selector="order-item">
+ <resource>org.jboss.soa.esb.smooks.FragmentRouter</resource>
+ <condition>
+ <!--
+ product.CATEGORY == "REPTILES"
+ -->
+ </condition>
+ <param name="beanId">04_SOAP_OrderItem</param>
+ <param name="serviceCategory">HugeQS</param>
+ <param name="serviceName">04_Reptiles_notify_webservice_proxy</param>
+ </resource-config>
+
+ <!--
+ At the end of every order-item, generate an <ord> split message for the "02_XML" Service
+ and bind it back into the bean context under a bean ID of "02_XML_OrderItem"...
+ -->
+ <resource-config selector="order-item">
+ <resource type="ftl"><!--<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ord="http://ordermanagement/ReptilesNotifyWS">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <ord:notify>
+ <notification>
+ <date>${orderDetail.date?string("yyyy-MM-dd'T'HH:mm:ss")}</date>
+ <email>${accounts[0].EMAIL}</email>
+ <firstName>${accounts[0].FIRSTNAME}</firstName>
+ <lastName>${accounts[0].LASTNAME}</lastName>
+ <product>${product.NAME} (${product.ATTR1})</product>
+ <quantity>${orderItem.quantity}</quantity>
+ <totalPrice>${product.LISTPRICE?c}</totalPrice>
+ </notification>
+ </ord:notify>
+ </soapenv:Body>
+</soapenv:Envelope>--></resource>
+ <param name="action">bindto</param>
+ <param name="bindId">04_SOAP_OrderItem</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-05_Database.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-05_Database.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-05_Database.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,31 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <!--
- This resource is needed because we only want to limit the number or orders inserted into the database,
- so we need to count them...
- -->
- <resource-config selector="order-item">
- <resource>org.milyn.routing.db.SQLExecutor</resource>
- <param name="executeBefore">true</param>
- <param name="datasource">OrderManagement</param>
- <param name="statement">select count(*) as "numOrders" from orders</param>
- <param name="resultSetName">orderCountRS</param>
- </resource-config>
-
- <!--
- At the end of every order-item, insert the order details for that order item...
- -->
- <resource-config selector="order-item">
- <resource>org.milyn.routing.db.SQLExecutor</resource>
- <condition>
- <!--
- orderCountRS[0].numOrders < 10
- -->
- </condition>
- <param name="executeBefore">false</param>
- <param name="datasource">OrderManagement</param>
- <param name="statement">INSERT INTO ORDERS VALUES(${orderDetail.orderNum + "-" + product.PRODUCTID}, ${accounts[0].USERID}, ${orderDetail.date}, ${accounts[0].ADDR1}, ${accounts[0].ADDR2}, ${accounts[0].CITY}, ${accounts[0].STATE},'30253','USA', ${accounts[0].ADDR1}, ${accounts[0].ADDR2}, ${accounts[0].CITY}, ${accounts[0].STATE},'30253','USA','UPS',22.23, ${accounts[0].FIRSTNAME}, ${accounts[0].LASTNAME}, ${accounts[0].FIRSTNAME}, ${accounts[0].LASTNAME},'999 9999 9999 9999','12/03','Visa','CA')</param>
- </resource-config>
-
-</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-05_Database.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-05_Database.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-05_Database.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/01_split_enrich_transform_route/smooks_configs/routing/route-to-05_Database.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <!--
+ This resource is needed because we only want to limit the number or orders inserted into the database,
+ so we need to count them...
+ -->
+ <resource-config selector="order-item">
+ <resource>org.milyn.routing.db.SQLExecutor</resource>
+ <param name="executeBefore">true</param>
+ <param name="datasource">OrderManagement</param>
+ <param name="statement">select count(*) as "numOrders" from orders</param>
+ <param name="resultSetName">orderCountRS</param>
+ </resource-config>
+
+ <!--
+ At the end of every order-item, insert the order details for that order item...
+ -->
+ <resource-config selector="order-item">
+ <resource>org.milyn.routing.db.SQLExecutor</resource>
+ <condition>
+ <!--
+ orderCountRS[0].numOrders < 10
+ -->
+ </condition>
+ <param name="executeBefore">false</param>
+ <param name="datasource">OrderManagement</param>
+ <param name="statement">INSERT INTO ORDERS VALUES(${orderDetail.orderNum + "-" + product.PRODUCTID}, ${accounts[0].USERID}, ${orderDetail.date}, ${accounts[0].ADDR1}, ${accounts[0].ADDR2}, ${accounts[0].CITY}, ${accounts[0].STATE},'30253','USA', ${accounts[0].ADDR1}, ${accounts[0].ADDR2}, ${accounts[0].CITY}, ${accounts[0].STATE},'30253','USA','UPS',22.23, ${accounts[0].FIRSTNAME}, ${accounts[0].LASTNAME}, ${accounts[0].FIRSTNAME}, ${accounts[0].LASTNAME},'999 9999 9999 9999','12/03','Visa','CA')</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/jbossesb.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/jbossesb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/jbossesb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,23 +0,0 @@
-<?xml version = "1.0" encoding = "UTF-8"?>
-<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd">
-
- <providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
- <jms-bus busid="02XMLBus">
- <jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_HugeSplitTransRoute_02_XML"/>
- </jms-bus>
- </jms-provider>
- </providers>
- <services>
- <service category="HugeQS" name="02_Low_Price" description="02_Low_Price Service">
- <listeners>
- <jms-listener name="XMLjms" busidref="02XMLBus" />
- </listeners>
- <actions mep="OneWay">
- <action name="print" class="org.jboss.soa.esb.example.PrintMessage" />
- </actions>
- </service>
- </services>
-</jbossesb>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/jbossesb.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/jbossesb.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/jbossesb.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/jbossesb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,23 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd">
+
+ <providers>
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
+ jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
+ jndi-URL="localhost">
+ <jms-bus busid="02XMLBus">
+ <jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_HugeSplitTransRoute_02_XML"/>
+ </jms-bus>
+ </jms-provider>
+ </providers>
+ <services>
+ <service category="HugeQS" name="02_Low_Price" description="02_Low_Price Service">
+ <listeners>
+ <jms-listener name="XMLjms" busidref="02XMLBus" />
+ </listeners>
+ <actions mep="OneWay">
+ <action name="print" class="org.jboss.soa.esb.example.PrintMessage" />
+ </actions>
+ </service>
+ </services>
+</jbossesb>
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/log4j.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/log4j.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/log4j.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
-
-<!-- ===================================================================== -->
-<!-- -->
-<!-- Log4j Configuration -->
-<!-- -->
-<!-- ===================================================================== -->
-
-<!-- $Id: log4j.xml,v 1.26.2.5 2005/09/15 09:31:02 dimitris Exp $ -->
-
-<!--
- | For more configuration infromation and examples see the Jakarta Log4j
- | owebsite: http://jakarta.apache.org/log4j
- -->
-
-<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
-
- <!-- ============================== -->
- <!-- Append messages to the console -->
- <!-- ============================== -->
-
- <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="Target" value="System.out"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <!-- The default pattern: Date Priority [Category] Message\n -->
- <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%t][%c{1}] %m%n"/>
- </layout>
- </appender>
-
-
- <!-- ================================= -->
- <!-- Preserve messages in a local file -->
- <!-- ================================= -->
-
- <!-- A size based file rolling appender -->
- <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="File" value="./listener.log"/>
- <param name="Append" value="false"/>
- <param name="MaxFileSize" value="500KB"/>
- <param name="MaxBackupIndex" value="1"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d %-5p [%t][%c] %m%n"/>
- </layout>
- </appender>
-
- <!-- ================ -->
- <!-- Limit categories -->
- <!-- ================ -->
-
- <category name="org.jboss">
- <priority value="WARN"/>
- </category>
- <category name="org.jboss.soa.esb">
- <priority value="ERROR"/>
- </category>
- <category name="org.jboss.internal.soa.esb">
- <priority value="ERROR"/>
- </category>
- <category name="org.apache">
- <priority value="ERROR"/>
- </category>
- <category name="org.milyn">
- <priority value="ERROR"/>
- </category>
-
- <category name="quickstarts">
- <priority value="ERROR"/>
- </category>
-
- <!-- ======================= -->
- <!-- Setup the Root category -->
- <!-- ======================= -->
-
- <root>
- <appender-ref ref="CONSOLE"/>
- <appender-ref ref="FILE"/>
- </root>
-
-</log4j:configuration>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/log4j.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/log4j.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/log4j.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/log4j.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.26.2.5 2005/09/15 09:31:02 dimitris Exp $ -->
+
+<!--
+ | For more configuration infromation and examples see the Jakarta Log4j
+ | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="Target" value="System.out"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%t][%c{1}] %m%n"/>
+ </layout>
+ </appender>
+
+
+ <!-- ================================= -->
+ <!-- Preserve messages in a local file -->
+ <!-- ================================= -->
+
+ <!-- A size based file rolling appender -->
+ <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="File" value="./listener.log"/>
+ <param name="Append" value="false"/>
+ <param name="MaxFileSize" value="500KB"/>
+ <param name="MaxBackupIndex" value="1"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%t][%c] %m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <category name="org.jboss">
+ <priority value="WARN"/>
+ </category>
+ <category name="org.jboss.soa.esb">
+ <priority value="ERROR"/>
+ </category>
+ <category name="org.jboss.internal.soa.esb">
+ <priority value="ERROR"/>
+ </category>
+ <category name="org.apache">
+ <priority value="ERROR"/>
+ </category>
+ <category name="org.milyn">
+ <priority value="ERROR"/>
+ </category>
+
+ <category name="quickstarts">
+ <priority value="ERROR"/>
+ </category>
+
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/jbossesb.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/jbossesb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/jbossesb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,23 +0,0 @@
-<?xml version = "1.0" encoding = "UTF-8"?>
-<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd">
-
- <providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
- <jms-bus busid="03JavaObjectsBus">
- <jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_HugeSplitTransRoute_JavaObjects"/>
- </jms-bus>
- </jms-provider>
- </providers>
- <services>
- <service category="HugeQS" name="03_High_Price" description="03_High_Price Service">
- <listeners>
- <jms-listener name="JavaObjectsJms" busidref="03JavaObjectsBus" />
- </listeners>
- <actions mep="OneWay">
- <action name="print" class="org.jboss.soa.esb.example.PrintMessage" />
- </actions>
- </service>
- </services>
-</jbossesb>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/jbossesb.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/jbossesb.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/jbossesb.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/jbossesb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,23 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd">
+
+ <providers>
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
+ jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
+ jndi-URL="localhost">
+ <jms-bus busid="03JavaObjectsBus">
+ <jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_HugeSplitTransRoute_JavaObjects"/>
+ </jms-bus>
+ </jms-provider>
+ </providers>
+ <services>
+ <service category="HugeQS" name="03_High_Price" description="03_High_Price Service">
+ <listeners>
+ <jms-listener name="JavaObjectsJms" busidref="03JavaObjectsBus" />
+ </listeners>
+ <actions mep="OneWay">
+ <action name="print" class="org.jboss.soa.esb.example.PrintMessage" />
+ </actions>
+ </service>
+ </services>
+</jbossesb>
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/log4j.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/log4j.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/log4j.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
-
-<!-- ===================================================================== -->
-<!-- -->
-<!-- Log4j Configuration -->
-<!-- -->
-<!-- ===================================================================== -->
-
-<!-- $Id: log4j.xml,v 1.26.2.5 2005/09/15 09:31:02 dimitris Exp $ -->
-
-<!--
- | For more configuration infromation and examples see the Jakarta Log4j
- | owebsite: http://jakarta.apache.org/log4j
- -->
-
-<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
-
- <!-- ============================== -->
- <!-- Append messages to the console -->
- <!-- ============================== -->
-
- <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="Target" value="System.out"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <!-- The default pattern: Date Priority [Category] Message\n -->
- <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%t][%c{1}] %m%n"/>
- </layout>
- </appender>
-
-
- <!-- ================================= -->
- <!-- Preserve messages in a local file -->
- <!-- ================================= -->
-
- <!-- A size based file rolling appender -->
- <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="File" value="./listener.log"/>
- <param name="Append" value="false"/>
- <param name="MaxFileSize" value="500KB"/>
- <param name="MaxBackupIndex" value="1"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d %-5p [%t][%c] %m%n"/>
- </layout>
- </appender>
-
- <!-- ================ -->
- <!-- Limit categories -->
- <!-- ================ -->
-
- <category name="org.jboss">
- <priority value="WARN"/>
- </category>
- <category name="org.jboss.soa.esb">
- <priority value="ERROR"/>
- </category>
- <category name="org.jboss.internal.soa.esb">
- <priority value="ERROR"/>
- </category>
- <category name="org.apache">
- <priority value="ERROR"/>
- </category>
- <category name="org.milyn">
- <priority value="ERROR"/>
- </category>
-
- <category name="quickstarts">
- <priority value="ERROR"/>
- </category>
-
- <!-- ======================= -->
- <!-- Setup the Root category -->
- <!-- ======================= -->
-
- <root>
- <appender-ref ref="CONSOLE"/>
- <appender-ref ref="FILE"/>
- </root>
-
-</log4j:configuration>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/log4j.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/log4j.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/log4j.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/log4j.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.26.2.5 2005/09/15 09:31:02 dimitris Exp $ -->
+
+<!--
+ | For more configuration infromation and examples see the Jakarta Log4j
+ | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="Target" value="System.out"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%t][%c{1}] %m%n"/>
+ </layout>
+ </appender>
+
+
+ <!-- ================================= -->
+ <!-- Preserve messages in a local file -->
+ <!-- ================================= -->
+
+ <!-- A size based file rolling appender -->
+ <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="File" value="./listener.log"/>
+ <param name="Append" value="false"/>
+ <param name="MaxFileSize" value="500KB"/>
+ <param name="MaxBackupIndex" value="1"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%t][%c] %m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <category name="org.jboss">
+ <priority value="WARN"/>
+ </category>
+ <category name="org.jboss.soa.esb">
+ <priority value="ERROR"/>
+ </category>
+ <category name="org.jboss.internal.soa.esb">
+ <priority value="ERROR"/>
+ </category>
+ <category name="org.apache">
+ <priority value="ERROR"/>
+ </category>
+ <category name="org.milyn">
+ <priority value="ERROR"/>
+ </category>
+
+ <category name="quickstarts">
+ <priority value="ERROR"/>
+ </category>
+
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Address.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Address.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Address.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,78 +0,0 @@
-/*
- Milyn - Copyright (C) 2006
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License (version 2.1) as published by the Free Software
- Foundation.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
- See the GNU Lesser General Public License for more details:
- http://www.gnu.org/licenses/lgpl.txt
-*/
-package org.jboss.soa.esb.example.highprice;
-
-import java.io.Serializable;
-
-/**
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
-public class Address implements Serializable {
- private String email;
- private String address1;
- private String address2;
- private String address3;
- private String city;
- private String state;
-
- public String getEmail() {
- return email;
- }
-
- public void setEmail(String email) {
- this.email = email;
- }
-
- public String getAddress1() {
- return address1;
- }
-
- public void setAddress1(String address1) {
- this.address1 = address1;
- }
-
- public String getAddress2() {
- return address2;
- }
-
- public void setAddress2(String address2) {
- this.address2 = address2;
- }
-
- public String getAddress3() {
- return address3;
- }
-
- public void setAddress3(String address3) {
- this.address3 = address3;
- }
-
- public String getCity() {
- return city;
- }
-
- public void setCity(String city) {
- this.city = city;
- }
-
- public String getState() {
- return state;
- }
-
- public void setState(String state) {
- this.state = state;
- }
-}
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Address.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Address.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Address.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Address.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,78 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+ http://www.gnu.org/licenses/lgpl.txt
+*/
+package org.jboss.soa.esb.example.highprice;
+
+import java.io.Serializable;
+
+/**
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class Address implements Serializable {
+ private String email;
+ private String address1;
+ private String address2;
+ private String address3;
+ private String city;
+ private String state;
+
+ public String getEmail() {
+ return email;
+ }
+
+ public void setEmail(String email) {
+ this.email = email;
+ }
+
+ public String getAddress1() {
+ return address1;
+ }
+
+ public void setAddress1(String address1) {
+ this.address1 = address1;
+ }
+
+ public String getAddress2() {
+ return address2;
+ }
+
+ public void setAddress2(String address2) {
+ this.address2 = address2;
+ }
+
+ public String getAddress3() {
+ return address3;
+ }
+
+ public void setAddress3(String address3) {
+ this.address3 = address3;
+ }
+
+ public String getCity() {
+ return city;
+ }
+
+ public void setCity(String city) {
+ this.city = city;
+ }
+
+ public String getState() {
+ return state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+}
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Order.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Order.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Order.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,96 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.soa.esb.example.highprice;
-
-import java.beans.XMLEncoder;
-import java.io.Serializable;
-import java.io.ByteArrayOutputStream;
-import java.util.Date;
-
-/**
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
-public class Order implements Serializable {
-
- private String firstName;
- private String lastName;
- private Address address;
- private Date date;
- private Product product;
- private int quantity;
-
- public String getFirstName() {
- return firstName;
- }
-
- public void setFirstName(String firstName) {
- this.firstName = firstName;
- }
-
- public String getLastName() {
- return lastName;
- }
-
- public void setLastName(String lastName) {
- this.lastName = lastName;
- }
-
- public Address getAddress() {
- return address;
- }
-
- public void setAddress(Address address) {
- this.address = address;
- }
-
- public Date getDate() {
- return date;
- }
-
- public void setDate(Date date) {
- this.date = date;
- }
-
- public Product getProduct() {
- return product;
- }
-
- public void setProduct(Product product) {
- this.product = product;
- }
-
- public int getQuantity() {
- return quantity;
- }
-
- public void setQuantity(int quantity) {
- this.quantity = quantity;
- }
-
- public String toString() {
- ByteArrayOutputStream stream = new ByteArrayOutputStream();
- XMLEncoder encoder = new XMLEncoder(stream);
-
- encoder.writeObject(this);
- encoder.close();
-
- return stream.toString();
- }
-}
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Order.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Order.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Order.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Order.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,96 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.example.highprice;
+
+import java.beans.XMLEncoder;
+import java.io.Serializable;
+import java.io.ByteArrayOutputStream;
+import java.util.Date;
+
+/**
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class Order implements Serializable {
+
+ private String firstName;
+ private String lastName;
+ private Address address;
+ private Date date;
+ private Product product;
+ private int quantity;
+
+ public String getFirstName() {
+ return firstName;
+ }
+
+ public void setFirstName(String firstName) {
+ this.firstName = firstName;
+ }
+
+ public String getLastName() {
+ return lastName;
+ }
+
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
+
+ public Address getAddress() {
+ return address;
+ }
+
+ public void setAddress(Address address) {
+ this.address = address;
+ }
+
+ public Date getDate() {
+ return date;
+ }
+
+ public void setDate(Date date) {
+ this.date = date;
+ }
+
+ public Product getProduct() {
+ return product;
+ }
+
+ public void setProduct(Product product) {
+ this.product = product;
+ }
+
+ public int getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(int quantity) {
+ this.quantity = quantity;
+ }
+
+ public String toString() {
+ ByteArrayOutputStream stream = new ByteArrayOutputStream();
+ XMLEncoder encoder = new XMLEncoder(stream);
+
+ encoder.writeObject(this);
+ encoder.close();
+
+ return stream.toString();
+ }
+}
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Product.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Product.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Product.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,65 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.soa.esb.example.highprice;
-
-import java.io.Serializable;
-
-/**
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
-public class Product implements Serializable {
-
- private String id;
- private String title;
- private String category;
- private float price;
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public String getTitle() {
- return title;
- }
-
- public void setTitle(String title) {
- this.title = title;
- }
-
- public String getCategory() {
- return category;
- }
-
- public void setCategory(String category) {
- this.category = category;
- }
-
- public float getPrice() {
- return price;
- }
-
- public void setPrice(float price) {
- this.price = price;
- }
-}
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Product.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Product.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Product.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/src/org/jboss/soa/esb/example/highprice/Product.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,65 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.example.highprice;
+
+import java.io.Serializable;
+
+/**
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class Product implements Serializable {
+
+ private String id;
+ private String title;
+ private String category;
+ private float price;
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public String getCategory() {
+ return category;
+ }
+
+ public void setCategory(String category) {
+ this.category = category;
+ }
+
+ public float getPrice() {
+ return price;
+ }
+
+ public void setPrice(float price) {
+ this.price = price;
+ }
+}
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/Notification.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/Notification.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/Notification.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,108 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.esb.ordwebservice;
-
-import java.util.Date;
-
-/**
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
-public class Notification {
-
- private String firstName;
- private String lastName;
- private String email;
- private Date date;
- private String product;
- private int quantity;
- private double totalPrice;
-
- public String toString() {
- StringBuilder sb = new StringBuilder();
-
- sb.append("public class Notification {\n");
- sb.append("\tjava.lang.String firstName = " + firstName + "\n");
- sb.append("\tjava.lang.String lastName = " + lastName + "\n");
- sb.append("\tjava.lang.String email = " + email + "\n");
- sb.append("\tjava.util.Date date = " + date + "\n");
- sb.append("\tjava.lang.String product = " + product + "\n");
- sb.append("\tint quantity = " + quantity + "\n");
- sb.append("\tdouble totalPrice = " + totalPrice + "\n");
- sb.append("}");
-
- return sb.toString();
- }
-
- public String getFirstName() {
- return firstName;
- }
-
- public void setFirstName(String firstName) {
- this.firstName = firstName;
- }
-
- public String getLastName() {
- return lastName;
- }
-
- public void setLastName(String lastName) {
- this.lastName = lastName;
- }
-
- public String getEmail() {
- return email;
- }
-
- public void setEmail(String email) {
- this.email = email;
- }
-
- public Date getDate() {
- return date;
- }
-
- public void setDate(Date date) {
- this.date = date;
- }
-
- public String getProduct() {
- return product;
- }
-
- public void setProduct(String product) {
- this.product = product;
- }
-
- public int getQuantity() {
- return quantity;
- }
-
- public void setQuantity(int quantity) {
- this.quantity = quantity;
- }
-
- public double getTotalPrice() {
- return totalPrice;
- }
-
- public void setTotalPrice(double totalPrice) {
- this.totalPrice = totalPrice;
- }
-}
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/Notification.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/Notification.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/Notification.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/Notification.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,108 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.esb.ordwebservice;
+
+import java.util.Date;
+
+/**
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class Notification {
+
+ private String firstName;
+ private String lastName;
+ private String email;
+ private Date date;
+ private String product;
+ private int quantity;
+ private double totalPrice;
+
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+
+ sb.append("public class Notification {\n");
+ sb.append("\tjava.lang.String firstName = " + firstName + "\n");
+ sb.append("\tjava.lang.String lastName = " + lastName + "\n");
+ sb.append("\tjava.lang.String email = " + email + "\n");
+ sb.append("\tjava.util.Date date = " + date + "\n");
+ sb.append("\tjava.lang.String product = " + product + "\n");
+ sb.append("\tint quantity = " + quantity + "\n");
+ sb.append("\tdouble totalPrice = " + totalPrice + "\n");
+ sb.append("}");
+
+ return sb.toString();
+ }
+
+ public String getFirstName() {
+ return firstName;
+ }
+
+ public void setFirstName(String firstName) {
+ this.firstName = firstName;
+ }
+
+ public String getLastName() {
+ return lastName;
+ }
+
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
+
+ public String getEmail() {
+ return email;
+ }
+
+ public void setEmail(String email) {
+ this.email = email;
+ }
+
+ public Date getDate() {
+ return date;
+ }
+
+ public void setDate(Date date) {
+ this.date = date;
+ }
+
+ public String getProduct() {
+ return product;
+ }
+
+ public void setProduct(String product) {
+ this.product = product;
+ }
+
+ public int getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(int quantity) {
+ this.quantity = quantity;
+ }
+
+ public double getTotalPrice() {
+ return totalPrice;
+ }
+
+ public void setTotalPrice(double totalPrice) {
+ this.totalPrice = totalPrice;
+ }
+}
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/ReptilesNotifyWS.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/ReptilesNotifyWS.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/ReptilesNotifyWS.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,36 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.esb.ordwebservice;
-
-import javax.jws.WebService;
-import javax.jws.WebMethod;
-import javax.jws.WebParam;
-
-/**
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
- at WebService(name = "ReptilesNotifyWS", targetNamespace="http://ordermanagement/ReptilesNotifyWS")
-public class ReptilesNotifyWS {
-
- @WebMethod
- public void notify(@WebParam(name="notification") Notification notification) {
- System.out.println("Reptile SOAP Notification Received. Unmarshaled SOAP Notification object:\n" + notification);
- }
-}
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/ReptilesNotifyWS.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/ReptilesNotifyWS.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/ReptilesNotifyWS.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/src/org/jboss/esb/ordwebservice/ReptilesNotifyWS.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.esb.ordwebservice;
+
+import javax.jws.WebService;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+
+/**
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+ at WebService(name = "ReptilesNotifyWS", targetNamespace="http://ordermanagement/ReptilesNotifyWS")
+public class ReptilesNotifyWS {
+
+ @WebMethod
+ public void notify(@WebParam(name="notification") Notification notification) {
+ System.out.println("Reptile SOAP Notification Received. Unmarshaled SOAP Notification object:\n" + notification);
+ }
+}
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/web.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/web.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/web.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-
-<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
- version="2.4">
-
- <servlet>
- <servlet-name>ReptilesNotifyWS</servlet-name>
- <servlet-class>org.jboss.esb.ordwebservice.ReptilesNotifyWS</servlet-class>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>ReptilesNotifyWS</servlet-name>
- <url-pattern>/ReptilesNotifyWS</url-pattern>
- </servlet-mapping>
-
-</web-app>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/web.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/web.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/web.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/WEB-INF/web.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>ReptilesNotifyWS</servlet-name>
+ <servlet-class>org.jboss.esb.ordwebservice.ReptilesNotifyWS</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>ReptilesNotifyWS</servlet-name>
+ <url-pattern>/ReptilesNotifyWS</url-pattern>
+ </servlet-mapping>
+
+</web-app>
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/index.jsp
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/index.jsp 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/index.jsp 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,9 +0,0 @@
-<html>
- <body>
- This is just a place holder.<br>
- Verify the that the WS has been deployed by hitting
- <a href="http://localhost:8080/jbossws">
- http://localhost:8080/jbossws
- </a>
- </body>
-</html>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/index.jsp (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/index.jsp)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/index.jsp (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/04_Reptiles_notify_webservice/index.jsp 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,9 @@
+<html>
+ <body>
+ This is just a place holder.<br>
+ Verify the that the WS has been deployed by hitting
+ <a href="http://localhost:8080/jbossws">
+ http://localhost:8080/jbossws
+ </a>
+ </body>
+</html>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-dataload.sql
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-dataload.sql 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-dataload.sql 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,101 +0,0 @@
-INSERT INTO sequence VALUES ('ordernum', 1000);
-INSERT INTO sequence VALUES ('linenum', 1000);
-
-INSERT INTO signon VALUES ('j2ee','j2ee');
-INSERT INTO signon VALUES ('ACID','ACID');
-
-INSERT INTO account VALUES ('j2ee','yourname at yourdomain.com', 'Greg', 'Pierson', 'OK', '901 San Antonio Road', 'MS UCUP02-206', 'Palo Alto', 'CA', '94303', 'USA', '555-555-5555');
-INSERT INTO account VALUES ('ACID','acid at yourdomain.com', 'Barbet', 'Schroeder', 'OK', '901 San Antonio Road', 'MS UCUP02-206', 'Palo Alto', 'CA', '94303', 'USA', '555-555-5555');
-
-INSERT INTO profile VALUES ('j2ee','english','DOGS',1,1);
-INSERT INTO profile VALUES ('ACID','english','CATS',1,1);
-
-INSERT INTO bannerdata VALUES ('FISH','<image src="../images/banner_fish.gif">');
-INSERT INTO bannerdata VALUES ('CATS','<image src="../images/banner_cats.gif">');
-INSERT INTO bannerdata VALUES ('DOGS','<image src="../images/banner_dogs.gif">');
-INSERT INTO bannerdata VALUES ('REPTILES','<image src="../images/banner_reptiles.gif">');
-INSERT INTO bannerdata VALUES ('BIRDS','<image src="../images/banner_birds.gif">');
-
-INSERT INTO category VALUES ('FISH','Fish','<image src="../images/fish_icon.gif"><font size="5" color="blue"> Fish</font>');
-INSERT INTO category VALUES ('DOGS','Dogs','<image src="../images/dogs_icon.gif"><font size="5" color="blue"> Dogs</font>');
-INSERT INTO category VALUES ('REPTILES','Reptiles','<image src="../images/reptiles_icon.gif"><font size="5" color="blue"> Reptiles</font>');
-INSERT INTO category VALUES ('CATS','Cats','<image src="../images/cats_icon.gif"><font size="5" color="blue"> Cats</font>');
-INSERT INTO category VALUES ('BIRDS','Birds','<image src="../images/birds_icon.gif"><font size="5" color="blue"> Birds</font>');
-
-INSERT INTO product VALUES ('FI-SW-01','FISH','Angelfish','<image src="../images/fish1.jpg">Salt Water fish from Australia');
-INSERT INTO product VALUES ('FI-SW-02','FISH','Tiger Shark','<image src="../images/fish4.gif">Salt Water fish from Australia');
-INSERT INTO product VALUES ('FI-FW-01','FISH', 'Koi','<image src="../images/fish3.gif">Fresh Water fish from Japan');
-INSERT INTO product VALUES ('FI-FW-02','FISH', 'Goldfish','<image src="../images/fish2.gif">Fresh Water fish from China');
-INSERT INTO product VALUES ('K9-BD-01','DOGS','Bulldog','<image src="../images/dog2.gif">Friendly dog from England');
-INSERT INTO product VALUES ('K9-PO-02','DOGS','Poodle','<image src="../images/dog6.gif">Cute dog from France');
-INSERT INTO product VALUES ('K9-DL-01','DOGS', 'Dalmation','<image src="../images/dog5.gif">Great dog for a Fire Station');
-INSERT INTO product VALUES ('K9-RT-01','DOGS', 'Golden Retriever','<image src="../images/dog1.gif">Great family dog');
-INSERT INTO product VALUES ('K9-RT-02','DOGS', 'Labrador Retriever','<image src="../images/dog5.gif">Great hunting dog');
-INSERT INTO product VALUES ('K9-CW-01','DOGS', 'Chihuahua','<image src="../images/dog4.gif">Great companion dog');
-INSERT INTO product VALUES ('RP-SN-01','REPTILES','Rattlesnake','<image src="../images/lizard3.gif">Doubles as a watch dog');
-INSERT INTO product VALUES ('RP-LI-02','REPTILES','Iguana','<image src="../images/lizard2.gif">Friendly green friend');
-INSERT INTO product VALUES ('FL-DSH-01','CATS','Manx','<image src="../images/cat3.gif">Great for reducing mouse populations');
-INSERT INTO product VALUES ('FL-DLH-02','CATS','Persian','<image src="../images/cat1.gif">Friendly house cat, doubles as a princess');
-INSERT INTO product VALUES ('AV-CB-01','BIRDS','Amazon Parrot','<image src="../images/bird4.gif">Great companion for up to 75 years');
-INSERT INTO product VALUES ('AV-SB-02','BIRDS','Finch','<image src="../images/bird1.gif">Great stress reliever');
-
-INSERT INTO supplier VALUES (1,'XYZ Pets','AC','600 Avon Way','','Los Angeles','CA','94024','212-947-0797');
-INSERT INTO supplier VALUES (2,'ABC Pets','AC','700 Abalone Way','','San Francisco ','CA','94024','415-947-0797');
-
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-1','FI-SW-01',16.50,10.00,1,'P','Large');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-2','FI-SW-01',16.50,10.00,1,'P','Small');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-3','FI-SW-02',18.50,12.00,1,'P','Toothless');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-4','FI-FW-01',18.50,12.00,1,'P','Spotted');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-5','FI-FW-01',18.50,12.00,1,'P','Spotless');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-6','K9-BD-01',18.50,12.00,1,'P','Male Adult');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-7','K9-BD-01',18.50,12.00,1,'P','Female Puppy');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-8','K9-PO-02',18.50,12.00,1,'P','Male Puppy');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-9','K9-DL-01',18.50,12.00,1,'P','Spotless Male Puppy');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-10','K9-DL-01',18.50,12.00,1,'P','Spotted Adult Female');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-11','RP-SN-01',18.50,12.00,1,'P','Venomless');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-12','RP-SN-01',18.50,12.00,1,'P','Rattleless');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-13','RP-LI-02',18.50,12.00,1,'P','Green Adult');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-14','FL-DSH-01',58.50,12.00,1,'P','Tailless');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-15','FL-DSH-01',23.50,12.00,1,'P','With tail');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-16','FL-DLH-02',93.50,12.00,1,'P','Adult Female');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-17','FL-DLH-02',93.50,12.00,1,'P','Adult Male');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-18','AV-CB-01',193.50,92.00,1,'P','Adult Male');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-19','AV-SB-02',15.50, 2.00,1,'P','Adult Male');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-20','FI-FW-02',5.50, 2.00,1,'P','Adult Male');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-21','FI-FW-02',5.29, 1.00,1,'P','Adult Female');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-22','K9-RT-02',135.50, 100.00,1,'P','Adult Male');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-23','K9-RT-02',145.49, 100.00,1,'P','Adult Female');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-24','K9-RT-02',255.50, 92.00,1,'P','Adult Male');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-25','K9-RT-02',325.29, 90.00,1,'P','Adult Female');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-26','K9-CW-01',125.50, 92.00,1,'P','Adult Male');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-27','K9-CW-01',155.29, 90.00,1,'P','Adult Female');
-INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-28','K9-RT-01',155.29, 90.00,1,'P','Adult Female');
-
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-1',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-2',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-3',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-4',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-5',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-6',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-7',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-8',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-9',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-10',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-11',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-12',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-13',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-14',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-15',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-16',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-17',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-18',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-19',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-20',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-21',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-22',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-23',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-24',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-25',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-26',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-27',10000);
-INSERT INTO inventory (itemid, qty ) VALUES ('EST-28',10000);
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-dataload.sql (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-dataload.sql)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-dataload.sql (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-dataload.sql 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,101 @@
+INSERT INTO sequence VALUES ('ordernum', 1000);
+INSERT INTO sequence VALUES ('linenum', 1000);
+
+INSERT INTO signon VALUES ('j2ee','j2ee');
+INSERT INTO signon VALUES ('ACID','ACID');
+
+INSERT INTO account VALUES ('j2ee','yourname at yourdomain.com', 'Greg', 'Pierson', 'OK', '901 San Antonio Road', 'MS UCUP02-206', 'Palo Alto', 'CA', '94303', 'USA', '555-555-5555');
+INSERT INTO account VALUES ('ACID','acid at yourdomain.com', 'Barbet', 'Schroeder', 'OK', '901 San Antonio Road', 'MS UCUP02-206', 'Palo Alto', 'CA', '94303', 'USA', '555-555-5555');
+
+INSERT INTO profile VALUES ('j2ee','english','DOGS',1,1);
+INSERT INTO profile VALUES ('ACID','english','CATS',1,1);
+
+INSERT INTO bannerdata VALUES ('FISH','<image src="../images/banner_fish.gif">');
+INSERT INTO bannerdata VALUES ('CATS','<image src="../images/banner_cats.gif">');
+INSERT INTO bannerdata VALUES ('DOGS','<image src="../images/banner_dogs.gif">');
+INSERT INTO bannerdata VALUES ('REPTILES','<image src="../images/banner_reptiles.gif">');
+INSERT INTO bannerdata VALUES ('BIRDS','<image src="../images/banner_birds.gif">');
+
+INSERT INTO category VALUES ('FISH','Fish','<image src="../images/fish_icon.gif"><font size="5" color="blue"> Fish</font>');
+INSERT INTO category VALUES ('DOGS','Dogs','<image src="../images/dogs_icon.gif"><font size="5" color="blue"> Dogs</font>');
+INSERT INTO category VALUES ('REPTILES','Reptiles','<image src="../images/reptiles_icon.gif"><font size="5" color="blue"> Reptiles</font>');
+INSERT INTO category VALUES ('CATS','Cats','<image src="../images/cats_icon.gif"><font size="5" color="blue"> Cats</font>');
+INSERT INTO category VALUES ('BIRDS','Birds','<image src="../images/birds_icon.gif"><font size="5" color="blue"> Birds</font>');
+
+INSERT INTO product VALUES ('FI-SW-01','FISH','Angelfish','<image src="../images/fish1.jpg">Salt Water fish from Australia');
+INSERT INTO product VALUES ('FI-SW-02','FISH','Tiger Shark','<image src="../images/fish4.gif">Salt Water fish from Australia');
+INSERT INTO product VALUES ('FI-FW-01','FISH', 'Koi','<image src="../images/fish3.gif">Fresh Water fish from Japan');
+INSERT INTO product VALUES ('FI-FW-02','FISH', 'Goldfish','<image src="../images/fish2.gif">Fresh Water fish from China');
+INSERT INTO product VALUES ('K9-BD-01','DOGS','Bulldog','<image src="../images/dog2.gif">Friendly dog from England');
+INSERT INTO product VALUES ('K9-PO-02','DOGS','Poodle','<image src="../images/dog6.gif">Cute dog from France');
+INSERT INTO product VALUES ('K9-DL-01','DOGS', 'Dalmation','<image src="../images/dog5.gif">Great dog for a Fire Station');
+INSERT INTO product VALUES ('K9-RT-01','DOGS', 'Golden Retriever','<image src="../images/dog1.gif">Great family dog');
+INSERT INTO product VALUES ('K9-RT-02','DOGS', 'Labrador Retriever','<image src="../images/dog5.gif">Great hunting dog');
+INSERT INTO product VALUES ('K9-CW-01','DOGS', 'Chihuahua','<image src="../images/dog4.gif">Great companion dog');
+INSERT INTO product VALUES ('RP-SN-01','REPTILES','Rattlesnake','<image src="../images/lizard3.gif">Doubles as a watch dog');
+INSERT INTO product VALUES ('RP-LI-02','REPTILES','Iguana','<image src="../images/lizard2.gif">Friendly green friend');
+INSERT INTO product VALUES ('FL-DSH-01','CATS','Manx','<image src="../images/cat3.gif">Great for reducing mouse populations');
+INSERT INTO product VALUES ('FL-DLH-02','CATS','Persian','<image src="../images/cat1.gif">Friendly house cat, doubles as a princess');
+INSERT INTO product VALUES ('AV-CB-01','BIRDS','Amazon Parrot','<image src="../images/bird4.gif">Great companion for up to 75 years');
+INSERT INTO product VALUES ('AV-SB-02','BIRDS','Finch','<image src="../images/bird1.gif">Great stress reliever');
+
+INSERT INTO supplier VALUES (1,'XYZ Pets','AC','600 Avon Way','','Los Angeles','CA','94024','212-947-0797');
+INSERT INTO supplier VALUES (2,'ABC Pets','AC','700 Abalone Way','','San Francisco ','CA','94024','415-947-0797');
+
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-1','FI-SW-01',16.50,10.00,1,'P','Large');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-2','FI-SW-01',16.50,10.00,1,'P','Small');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-3','FI-SW-02',18.50,12.00,1,'P','Toothless');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-4','FI-FW-01',18.50,12.00,1,'P','Spotted');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-5','FI-FW-01',18.50,12.00,1,'P','Spotless');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-6','K9-BD-01',18.50,12.00,1,'P','Male Adult');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-7','K9-BD-01',18.50,12.00,1,'P','Female Puppy');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-8','K9-PO-02',18.50,12.00,1,'P','Male Puppy');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-9','K9-DL-01',18.50,12.00,1,'P','Spotless Male Puppy');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-10','K9-DL-01',18.50,12.00,1,'P','Spotted Adult Female');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-11','RP-SN-01',18.50,12.00,1,'P','Venomless');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-12','RP-SN-01',18.50,12.00,1,'P','Rattleless');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-13','RP-LI-02',18.50,12.00,1,'P','Green Adult');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-14','FL-DSH-01',58.50,12.00,1,'P','Tailless');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-15','FL-DSH-01',23.50,12.00,1,'P','With tail');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-16','FL-DLH-02',93.50,12.00,1,'P','Adult Female');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-17','FL-DLH-02',93.50,12.00,1,'P','Adult Male');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-18','AV-CB-01',193.50,92.00,1,'P','Adult Male');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-19','AV-SB-02',15.50, 2.00,1,'P','Adult Male');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-20','FI-FW-02',5.50, 2.00,1,'P','Adult Male');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-21','FI-FW-02',5.29, 1.00,1,'P','Adult Female');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-22','K9-RT-02',135.50, 100.00,1,'P','Adult Male');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-23','K9-RT-02',145.49, 100.00,1,'P','Adult Female');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-24','K9-RT-02',255.50, 92.00,1,'P','Adult Male');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-25','K9-RT-02',325.29, 90.00,1,'P','Adult Female');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-26','K9-CW-01',125.50, 92.00,1,'P','Adult Male');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-27','K9-CW-01',155.29, 90.00,1,'P','Adult Female');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-28','K9-RT-01',155.29, 90.00,1,'P','Adult Female');
+
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-1',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-2',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-3',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-4',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-5',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-6',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-7',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-8',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-9',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-10',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-11',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-12',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-13',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-14',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-15',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-16',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-17',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-18',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-19',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-20',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-21',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-22',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-23',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-24',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-25',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-26',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-27',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-28',10000);
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-schema.sql
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-schema.sql 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-schema.sql 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,166 +0,0 @@
-drop index productCat;
-drop index productName;
-drop index itemProd;
-
-drop table lineitem;
-drop table orderstatus;
-drop table orders;
-drop table bannerdata;
-drop table profile;
-drop table signon;
-drop table inventory;
-drop table item;
-drop table product;
-drop table account;
-drop table category;
-drop table supplier;
-drop table sequence;
-
-create table supplier (
- suppid int not null,
- name varchar(80) null,
- status varchar(2) not null,
- addr1 varchar(80) null,
- addr2 varchar(80) null,
- city varchar(80) null,
- state varchar(80) null,
- zip varchar(5) null,
- phone varchar(80) null,
- constraint pk_supplier primary key (suppid)
-);
-
-create table signon (
- username varchar(25) not null,
- password varchar(25) not null,
- constraint pk_signon primary key (username)
-);
-
-create table account (
- userid varchar(80) not null,
- email varchar(80) not null,
- firstname varchar(80) not null,
- lastname varchar(80) not null,
- status varchar(2) null,
- addr1 varchar(80) not null,
- addr2 varchar(40) null,
- city varchar(80) not null,
- state varchar(80) not null,
- zip varchar(20) not null,
- country varchar(20) not null,
- phone varchar(80) not null,
- constraint pk_account primary key (userid)
-);
-
-create table profile (
- userid varchar(80) not null,
- langpref varchar(80) not null,
- favcategory varchar(30),
- mylistopt int,
- banneropt int,
- constraint pk_profile primary key (userid)
-);
-
-create table bannerdata (
- favcategory varchar(80) not null,
- bannername varchar(255) null,
- constraint pk_bannerdata primary key (favcategory)
-);
-
-create table orders (
- orderid varchar(80) not null,
- userid varchar(80) not null,
- orderdate date not null,
- shipaddr1 varchar(80) not null,
- shipaddr2 varchar(80) null,
- shipcity varchar(80) not null,
- shipstate varchar(80) not null,
- shipzip varchar(20) not null,
- shipcountry varchar(20) not null,
- billaddr1 varchar(80) not null,
- billaddr2 varchar(80) null,
- billcity varchar(80) not null,
- billstate varchar(80) not null,
- billzip varchar(20) not null,
- billcountry varchar(20) not null,
- courier varchar(80) not null,
- totalprice decimal(10,2) not null,
- billtofirstname varchar(80) not null,
- billtolastname varchar(80) not null,
- shiptofirstname varchar(80) not null,
- shiptolastname varchar(80) not null,
- creditcard varchar(80) not null,
- exprdate varchar(7) not null,
- cardtype varchar(80) not null,
- locale varchar(80) not null,
- constraint pk_orders primary key (orderid)
-);
-
-create table orderstatus (
- orderid int not null,
- linenum int not null,
- timestamp date not null,
- status varchar(2) not null,
- constraint pk_orderstatus primary key (orderid, linenum)
-);
-
-create table lineitem (
- orderid int not null,
- linenum int not null,
- itemid varchar(10) not null,
- quantity int not null,
- unitprice decimal(10,2) not null,
- constraint pk_lineitem primary key (orderid, linenum)
-);
-
-create table category (
- catid varchar(10) not null,
- name varchar(80) null,
- descn varchar(255) null,
- constraint pk_category primary key (catid)
-);
-
-create table product (
- productid varchar(10) not null,
- category varchar(10) not null,
- name varchar(80) null,
- descn varchar(255) null,
- constraint pk_product primary key (productid),
- constraint fk_product_1 foreign key (category)
- references category (catid)
-);
-
-create index productCat on product (category);
-create index productName on product (name);
-
-create table item (
- itemid varchar(10) not null,
- productid varchar(10) not null,
- listprice decimal(10,2) null,
- unitcost decimal(10,2) null,
- supplier int null,
- status varchar(2) null,
- attr1 varchar(80) null,
- attr2 varchar(80) null,
- attr3 varchar(80) null,
- attr4 varchar(80) null,
- attr5 varchar(80) null,
- constraint pk_item primary key (itemid),
- constraint fk_item_1 foreign key (productid)
- references product (productid),
- constraint fk_item_2 foreign key (supplier)
- references supplier (suppid)
-);
-
-create index itemProd on item (productid);
-
-create table inventory (
- itemid varchar(10) not null,
- qty int not null,
- constraint pk_inventory primary key (itemid)
-);
-
-create table sequence (
- name varchar(30) not null,
- nextid int not null,
- constraint pk_sequence primary key (name)
-);
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-schema.sql (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-schema.sql)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-schema.sql (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db-hsqldb-schema.sql 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,166 @@
+drop index productCat;
+drop index productName;
+drop index itemProd;
+
+drop table lineitem;
+drop table orderstatus;
+drop table orders;
+drop table bannerdata;
+drop table profile;
+drop table signon;
+drop table inventory;
+drop table item;
+drop table product;
+drop table account;
+drop table category;
+drop table supplier;
+drop table sequence;
+
+create table supplier (
+ suppid int not null,
+ name varchar(80) null,
+ status varchar(2) not null,
+ addr1 varchar(80) null,
+ addr2 varchar(80) null,
+ city varchar(80) null,
+ state varchar(80) null,
+ zip varchar(5) null,
+ phone varchar(80) null,
+ constraint pk_supplier primary key (suppid)
+);
+
+create table signon (
+ username varchar(25) not null,
+ password varchar(25) not null,
+ constraint pk_signon primary key (username)
+);
+
+create table account (
+ userid varchar(80) not null,
+ email varchar(80) not null,
+ firstname varchar(80) not null,
+ lastname varchar(80) not null,
+ status varchar(2) null,
+ addr1 varchar(80) not null,
+ addr2 varchar(40) null,
+ city varchar(80) not null,
+ state varchar(80) not null,
+ zip varchar(20) not null,
+ country varchar(20) not null,
+ phone varchar(80) not null,
+ constraint pk_account primary key (userid)
+);
+
+create table profile (
+ userid varchar(80) not null,
+ langpref varchar(80) not null,
+ favcategory varchar(30),
+ mylistopt int,
+ banneropt int,
+ constraint pk_profile primary key (userid)
+);
+
+create table bannerdata (
+ favcategory varchar(80) not null,
+ bannername varchar(255) null,
+ constraint pk_bannerdata primary key (favcategory)
+);
+
+create table orders (
+ orderid varchar(80) not null,
+ userid varchar(80) not null,
+ orderdate date not null,
+ shipaddr1 varchar(80) not null,
+ shipaddr2 varchar(80) null,
+ shipcity varchar(80) not null,
+ shipstate varchar(80) not null,
+ shipzip varchar(20) not null,
+ shipcountry varchar(20) not null,
+ billaddr1 varchar(80) not null,
+ billaddr2 varchar(80) null,
+ billcity varchar(80) not null,
+ billstate varchar(80) not null,
+ billzip varchar(20) not null,
+ billcountry varchar(20) not null,
+ courier varchar(80) not null,
+ totalprice decimal(10,2) not null,
+ billtofirstname varchar(80) not null,
+ billtolastname varchar(80) not null,
+ shiptofirstname varchar(80) not null,
+ shiptolastname varchar(80) not null,
+ creditcard varchar(80) not null,
+ exprdate varchar(7) not null,
+ cardtype varchar(80) not null,
+ locale varchar(80) not null,
+ constraint pk_orders primary key (orderid)
+);
+
+create table orderstatus (
+ orderid int not null,
+ linenum int not null,
+ timestamp date not null,
+ status varchar(2) not null,
+ constraint pk_orderstatus primary key (orderid, linenum)
+);
+
+create table lineitem (
+ orderid int not null,
+ linenum int not null,
+ itemid varchar(10) not null,
+ quantity int not null,
+ unitprice decimal(10,2) not null,
+ constraint pk_lineitem primary key (orderid, linenum)
+);
+
+create table category (
+ catid varchar(10) not null,
+ name varchar(80) null,
+ descn varchar(255) null,
+ constraint pk_category primary key (catid)
+);
+
+create table product (
+ productid varchar(10) not null,
+ category varchar(10) not null,
+ name varchar(80) null,
+ descn varchar(255) null,
+ constraint pk_product primary key (productid),
+ constraint fk_product_1 foreign key (category)
+ references category (catid)
+);
+
+create index productCat on product (category);
+create index productName on product (name);
+
+create table item (
+ itemid varchar(10) not null,
+ productid varchar(10) not null,
+ listprice decimal(10,2) null,
+ unitcost decimal(10,2) null,
+ supplier int null,
+ status varchar(2) null,
+ attr1 varchar(80) null,
+ attr2 varchar(80) null,
+ attr3 varchar(80) null,
+ attr4 varchar(80) null,
+ attr5 varchar(80) null,
+ constraint pk_item primary key (itemid),
+ constraint fk_item_1 foreign key (productid)
+ references product (productid),
+ constraint fk_item_2 foreign key (supplier)
+ references supplier (suppid)
+);
+
+create index itemProd on item (productid);
+
+create table inventory (
+ itemid varchar(10) not null,
+ qty int not null,
+ constraint pk_inventory primary key (itemid)
+);
+
+create table sequence (
+ name varchar(30) not null,
+ nextid int not null,
+ constraint pk_sequence primary key (name)
+);
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.lck
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.lck 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.lck 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1 +0,0 @@
-HSQLLOCK
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.lck (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.lck)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.lck (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.lck 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1 @@
+HSQLLOCK
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.log
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.log 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.log 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,52 +0,0 @@
-/*C23*/SET SCHEMA PUBLIC
-CONNECT USER SA
-DELETE FROM ORDERS WHERE ORDERID='1213712709484-FL-DLH-02' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213712709484-FI-FW-02' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213712709484-K9-DL-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213712709484-K9-CW-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213712709484-RP-SN-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213712709484-FI-SW-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213712709484-K9-RT-02' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213712709484-K9-RT-02' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213712709484-K9-PO-02' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213712709484-RP-SN-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-/*C24*/SET SCHEMA PUBLIC
-CONNECT USER SA
-SET AUTOCOMMIT FALSE
-INSERT INTO ORDERS VALUES('1213739454593-AV-CB-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739454593-K9-BD-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739454593-FI-FW-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739454593-RP-LI-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739454593-K9-CW-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739454593-AV-CB-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739454593-AV-CB-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739454593-FI-SW-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739454593-RP-SN-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739454593-RP-LI-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-COMMIT
-DISCONNECT
-/*C23*/DELETE FROM ORDERS WHERE ORDERID='1213739454593-AV-CB-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213739454593-K9-BD-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213739454593-FI-FW-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213739454593-RP-LI-02' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213739454593-K9-CW-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213739454593-AV-CB-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213739454593-AV-CB-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213739454593-FI-SW-02' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213739454593-RP-SN-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-DELETE FROM ORDERS WHERE ORDERID='1213739454593-RP-LI-02' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
-/*C25*/SET SCHEMA PUBLIC
-CONNECT USER SA
-SET AUTOCOMMIT FALSE
-INSERT INTO ORDERS VALUES('1213739684328-FL-DLH-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739684328-FL-DSH-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739684328-FI-SW-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739684328-RP-SN-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739684328-K9-RT-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739684328-AV-SB-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739684328-K9-RT-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739684328-RP-SN-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739684328-RP-SN-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213739684328-K9-DL-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-COMMIT
-DISCONNECT
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.log (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.log)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.log (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.log 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,52 @@
+/*C23*/SET SCHEMA PUBLIC
+CONNECT USER SA
+DELETE FROM ORDERS WHERE ORDERID='1213712709484-FL-DLH-02' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213712709484-FI-FW-02' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213712709484-K9-DL-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213712709484-K9-CW-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213712709484-RP-SN-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213712709484-FI-SW-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213712709484-K9-RT-02' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213712709484-K9-RT-02' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213712709484-K9-PO-02' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213712709484-RP-SN-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+/*C24*/SET SCHEMA PUBLIC
+CONNECT USER SA
+SET AUTOCOMMIT FALSE
+INSERT INTO ORDERS VALUES('1213739454593-AV-CB-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739454593-K9-BD-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739454593-FI-FW-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739454593-RP-LI-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739454593-K9-CW-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739454593-AV-CB-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739454593-AV-CB-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739454593-FI-SW-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739454593-RP-SN-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739454593-RP-LI-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+COMMIT
+DISCONNECT
+/*C23*/DELETE FROM ORDERS WHERE ORDERID='1213739454593-AV-CB-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213739454593-K9-BD-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213739454593-FI-FW-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213739454593-RP-LI-02' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213739454593-K9-CW-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213739454593-AV-CB-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213739454593-AV-CB-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213739454593-FI-SW-02' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213739454593-RP-SN-01' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+DELETE FROM ORDERS WHERE ORDERID='1213739454593-RP-LI-02' AND USERID='ACID' AND ORDERDATE='2006-11-15' AND SHIPADDR1='901 San Antonio Road' AND SHIPADDR2='MS UCUP02-206' AND SHIPCITY='Palo Alto' AND SHIPSTATE='CA' AND SHIPZIP='30253' AND SHIPCOUNTRY='USA' AND BILLADDR1='901 San Antonio Road' AND BILLADDR2='MS UCUP02-206' AND BILLCITY='Palo Alto' AND BILLSTATE='CA' AND BILLZIP='30253' AND BILLCOUNTRY='USA' AND COURIER='UPS' AND TOTALPRICE=22.23 AND BILLTOFIRSTNAME='ACID' AND BILLTOLASTNAME='Pets' AND SHIPTOFIRSTNAME='ACID' AND SHIPTOLASTNAME='Pets' AND CREDITCARD='999 9999 9999 9999' AND EXPRDATE='12/03' AND CARDTYPE='Visa' AND LOCALE='CA'
+/*C25*/SET SCHEMA PUBLIC
+CONNECT USER SA
+SET AUTOCOMMIT FALSE
+INSERT INTO ORDERS VALUES('1213739684328-FL-DLH-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739684328-FL-DSH-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739684328-FI-SW-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739684328-RP-SN-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739684328-K9-RT-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739684328-AV-SB-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739684328-K9-RT-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739684328-RP-SN-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739684328-RP-SN-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213739684328-K9-DL-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+COMMIT
+DISCONNECT
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.properties
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.properties 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.properties 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,17 +0,0 @@
-#HSQL Database Engine 1.8.0.8
-#Tue Jun 17 22:47:17 BST 2008
-hsqldb.script_format=0
-runtime.gc_interval=0
-sql.enforce_strict_size=false
-hsqldb.cache_size_scale=8
-readonly=false
-hsqldb.nio_data_file=true
-hsqldb.cache_scale=14
-version=1.8.0
-hsqldb.default_table_type=memory
-hsqldb.cache_file_scale=1
-hsqldb.log_size=200
-modified=yes
-hsqldb.cache_version=1.7.0
-hsqldb.original_version=1.8.0
-hsqldb.compatible_version=1.8.0
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.properties (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.properties)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.properties (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.properties 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,17 @@
+#HSQL Database Engine 1.8.0.8
+#Tue Jun 17 22:47:17 BST 2008
+hsqldb.script_format=0
+runtime.gc_interval=0
+sql.enforce_strict_size=false
+hsqldb.cache_size_scale=8
+readonly=false
+hsqldb.nio_data_file=true
+hsqldb.cache_scale=14
+version=1.8.0
+hsqldb.default_table_type=memory
+hsqldb.cache_file_scale=1
+hsqldb.log_size=200
+modified=yes
+hsqldb.cache_version=1.7.0
+hsqldb.original_version=1.8.0
+hsqldb.compatible_version=1.8.0
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.script
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.script 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.script 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,132 +0,0 @@
-CREATE SCHEMA PUBLIC AUTHORIZATION DBA
-CREATE MEMORY TABLE SUPPLIER(SUPPID INTEGER NOT NULL PRIMARY KEY,NAME VARCHAR(80),STATUS VARCHAR(2) NOT NULL,ADDR1 VARCHAR(80),ADDR2 VARCHAR(80),CITY VARCHAR(80),STATE VARCHAR(80),ZIP VARCHAR(5),PHONE VARCHAR(80))
-CREATE MEMORY TABLE SIGNON(USERNAME VARCHAR(25) NOT NULL PRIMARY KEY,PASSWORD VARCHAR(25) NOT NULL)
-CREATE MEMORY TABLE ACCOUNT(USERID VARCHAR(80) NOT NULL PRIMARY KEY,EMAIL VARCHAR(80) NOT NULL,FIRSTNAME VARCHAR(80) NOT NULL,LASTNAME VARCHAR(80) NOT NULL,STATUS VARCHAR(2),ADDR1 VARCHAR(80) NOT NULL,ADDR2 VARCHAR(40),CITY VARCHAR(80) NOT NULL,STATE VARCHAR(80) NOT NULL,ZIP VARCHAR(20) NOT NULL,COUNTRY VARCHAR(20) NOT NULL,PHONE VARCHAR(80) NOT NULL)
-CREATE MEMORY TABLE PROFILE(USERID VARCHAR(80) NOT NULL PRIMARY KEY,LANGPREF VARCHAR(80) NOT NULL,FAVCATEGORY VARCHAR(30),MYLISTOPT INTEGER,BANNEROPT INTEGER)
-CREATE MEMORY TABLE BANNERDATA(FAVCATEGORY VARCHAR(80) NOT NULL PRIMARY KEY,BANNERNAME VARCHAR(255))
-CREATE MEMORY TABLE ORDERS(ORDERID VARCHAR(80) NOT NULL,USERID VARCHAR(80) NOT NULL,ORDERDATE DATE NOT NULL,SHIPADDR1 VARCHAR(80) NOT NULL,SHIPADDR2 VARCHAR(80),SHIPCITY VARCHAR(80) NOT NULL,SHIPSTATE VARCHAR(80) NOT NULL,SHIPZIP VARCHAR(20) NOT NULL,SHIPCOUNTRY VARCHAR(20) NOT NULL,BILLADDR1 VARCHAR(80) NOT NULL,BILLADDR2 VARCHAR(80),BILLCITY VARCHAR(80) NOT NULL,BILLSTATE VARCHAR(80) NOT NULL,BILLZIP VARCHAR(20) NOT NULL,BILLCOUNTRY VARCHAR(20) NOT NULL,COURIER VARCHAR(80) NOT NULL,TOTALPRICE DECIMAL(10,2) NOT NULL,BILLTOFIRSTNAME VARCHAR(80) NOT NULL,BILLTOLASTNAME VARCHAR(80) NOT NULL,SHIPTOFIRSTNAME VARCHAR(80) NOT NULL,SHIPTOLASTNAME VARCHAR(80) NOT NULL,CREDITCARD VARCHAR(80) NOT NULL,EXPRDATE VARCHAR(7) NOT NULL,CARDTYPE VARCHAR(80) NOT NULL,LOCALE VARCHAR(80) NOT NULL)
-CREATE MEMORY TABLE ORDERSTATUS(ORDERID INTEGER NOT NULL,LINENUM INTEGER NOT NULL,TIMESTAMP DATE NOT NULL,STATUS VARCHAR(2) NOT NULL,CONSTRAINT PK_ORDERSTATUS PRIMARY KEY(ORDERID,LINENUM))
-CREATE MEMORY TABLE LINEITEM(ORDERID INTEGER NOT NULL,LINENUM INTEGER NOT NULL,ITEMID VARCHAR(10) NOT NULL,QUANTITY INTEGER NOT NULL,UNITPRICE DECIMAL(10,2) NOT NULL,CONSTRAINT PK_LINEITEM PRIMARY KEY(ORDERID,LINENUM))
-CREATE MEMORY TABLE CATEGORY(CATID VARCHAR(10) NOT NULL PRIMARY KEY,NAME VARCHAR(80),DESCN VARCHAR(255))
-CREATE MEMORY TABLE PRODUCT(PRODUCTID VARCHAR(10) NOT NULL PRIMARY KEY,CATEGORY VARCHAR(10) NOT NULL,NAME VARCHAR(80),DESCN VARCHAR(255),CONSTRAINT FK_PRODUCT_1 FOREIGN KEY(CATEGORY) REFERENCES CATEGORY(CATID))
-CREATE INDEX PRODUCTCAT ON PRODUCT(CATEGORY)
-CREATE INDEX PRODUCTNAME ON PRODUCT(NAME)
-CREATE MEMORY TABLE ITEM(ITEMID VARCHAR(10) NOT NULL PRIMARY KEY,PRODUCTID VARCHAR(10) NOT NULL,LISTPRICE DECIMAL(10,2),UNITCOST DECIMAL(10,2),SUPPLIER INTEGER,STATUS VARCHAR(2),ATTR1 VARCHAR(80),ATTR2 VARCHAR(80),ATTR3 VARCHAR(80),ATTR4 VARCHAR(80),ATTR5 VARCHAR(80),CONSTRAINT FK_ITEM_1 FOREIGN KEY(PRODUCTID) REFERENCES PRODUCT(PRODUCTID),CONSTRAINT FK_ITEM_2 FOREIGN KEY(SUPPLIER) REFERENCES SUPPLIER(SUPPID))
-CREATE INDEX ITEMPROD ON ITEM(PRODUCTID)
-CREATE MEMORY TABLE INVENTORY(ITEMID VARCHAR(10) NOT NULL PRIMARY KEY,QTY INTEGER NOT NULL)
-CREATE MEMORY TABLE SEQUENCE(NAME VARCHAR(30) NOT NULL PRIMARY KEY,NEXTID INTEGER NOT NULL)
-CREATE USER SA PASSWORD ""
-GRANT DBA TO SA
-SET WRITE_DELAY 60
-SET SCHEMA PUBLIC
-INSERT INTO SUPPLIER VALUES(1,'XYZ Pets','AC','600 Avon Way','','Los Angeles','CA','94024','212-947-0797')
-INSERT INTO SUPPLIER VALUES(2,'ABC Pets','AC','700 Abalone Way','','San Francisco ','CA','94024','415-947-0797')
-INSERT INTO SIGNON VALUES('ACID','ACID')
-INSERT INTO SIGNON VALUES('j2ee','j2ee')
-INSERT INTO ACCOUNT VALUES('ACID','acid at yourdomain.com','ACID','Pets','OK','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','94303','USA','555-555-5555')
-INSERT INTO ACCOUNT VALUES('j2ee','yourname at yourdomain.com','JEE','Pets','OK','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','94303','USA','555-555-5555')
-INSERT INTO PROFILE VALUES('ACID','english','CATS',1,1)
-INSERT INTO PROFILE VALUES('j2ee','english','DOGS',1,1)
-INSERT INTO BANNERDATA VALUES('BIRDS','<image src="../images/banner_birds.gif">')
-INSERT INTO BANNERDATA VALUES('CATS','<image src="../images/banner_cats.gif">')
-INSERT INTO BANNERDATA VALUES('DOGS','<image src="../images/banner_dogs.gif">')
-INSERT INTO BANNERDATA VALUES('FISH','<image src="../images/banner_fish.gif">')
-INSERT INTO BANNERDATA VALUES('REPTILES','<image src="../images/banner_reptiles.gif">')
-INSERT INTO ORDERS VALUES('1213712709484-FL-DLH-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213712709484-FI-FW-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213712709484-K9-DL-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213712709484-K9-CW-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213712709484-RP-SN-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213712709484-FI-SW-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213712709484-K9-RT-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213712709484-K9-RT-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213712709484-K9-PO-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERS VALUES('1213712709484-RP-SN-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
-INSERT INTO ORDERSTATUS VALUES(1000,1000,'2007-05-25','P')
-INSERT INTO ORDERSTATUS VALUES(1001,1001,'2007-05-25','P')
-INSERT INTO ORDERSTATUS VALUES(1002,1002,'2007-05-25','P')
-INSERT INTO ORDERSTATUS VALUES(1003,1003,'2007-05-25','P')
-INSERT INTO ORDERSTATUS VALUES(1004,1004,'2007-05-25','P')
-INSERT INTO ORDERSTATUS VALUES(1005,1005,'2007-05-25','P')
-INSERT INTO ORDERSTATUS VALUES(1006,1006,'2007-05-25','P')
-INSERT INTO ORDERSTATUS VALUES(1007,1007,'2007-05-25','P')
-INSERT INTO ORDERSTATUS VALUES(1008,1008,'2007-05-25','P')
-INSERT INTO CATEGORY VALUES('BIRDS','Birds','<image src="../images/birds_icon.gif"><font size="5" color="blue"> Birds</font>')
-INSERT INTO CATEGORY VALUES('CATS','Cats','<image src="../images/cats_icon.gif"><font size="5" color="blue"> Cats</font>')
-INSERT INTO CATEGORY VALUES('DOGS','Dogs','<image src="../images/dogs_icon.gif"><font size="5" color="blue"> Dogs</font>')
-INSERT INTO CATEGORY VALUES('FISH','Fish','<image src="../images/fish_icon.gif"><font size="5" color="blue"> Fish</font>')
-INSERT INTO CATEGORY VALUES('REPTILES','Reptiles','<image src="../images/reptiles_icon.gif"><font size="5" color="blue"> Reptiles</font>')
-INSERT INTO PRODUCT VALUES('AV-CB-01','BIRDS','Amazon Parrot','<image src="../images/bird4.gif">Great companion for up to 75 years')
-INSERT INTO PRODUCT VALUES('AV-SB-02','BIRDS','Finch','<image src="../images/bird1.gif">Great stress reliever')
-INSERT INTO PRODUCT VALUES('FI-FW-01','FISH','Koi','<image src="../images/fish3.gif">Fresh Water fish from Japan')
-INSERT INTO PRODUCT VALUES('FI-FW-02','FISH','Goldfish','<image src="../images/fish2.gif">Fresh Water fish from China')
-INSERT INTO PRODUCT VALUES('FI-SW-01','FISH','Angelfish','<image src="../images/fish1.jpg">Salt Water fish from Australia')
-INSERT INTO PRODUCT VALUES('FI-SW-02','FISH','Tiger Shark','<image src="../images/fish4.gif">Salt Water fish from Australia')
-INSERT INTO PRODUCT VALUES('FL-DLH-02','CATS','Persian','<image src="../images/cat1.gif">Friendly house cat, doubles as a princess')
-INSERT INTO PRODUCT VALUES('FL-DSH-01','CATS','Manx','<image src="../images/cat3.gif">Great for reducing mouse populations')
-INSERT INTO PRODUCT VALUES('K9-BD-01','DOGS','Bulldog','<image src="../images/dog2.gif">Friendly dog from England')
-INSERT INTO PRODUCT VALUES('K9-CW-01','DOGS','Chihuahua','<image src="../images/dog4.gif">Great companion dog')
-INSERT INTO PRODUCT VALUES('K9-DL-01','DOGS','Dalmation','<image src="../images/dog5.gif">Great dog for a Fire Station')
-INSERT INTO PRODUCT VALUES('K9-PO-02','DOGS','Poodle','<image src="../images/dog6.gif">Cute dog from France')
-INSERT INTO PRODUCT VALUES('K9-RT-01','DOGS','Golden Retriever','<image src="../images/dog1.gif">Great family dog')
-INSERT INTO PRODUCT VALUES('K9-RT-02','DOGS','Labrador Retriever','<image src="../images/dog5.gif">Great hunting dog')
-INSERT INTO PRODUCT VALUES('RP-LI-02','REPTILES','Iguana','<image src="../images/lizard2.gif">Friendly green friend')
-INSERT INTO PRODUCT VALUES('RP-SN-01','REPTILES','Rattlesnake','<image src="../images/lizard3.gif">Doubles as a watch dog')
-INSERT INTO ITEM VALUES('EST-1','FI-SW-01',16.50,10.00,1,'P','Large',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-10','K9-DL-01',18.50,12.00,1,'P','Spotted Adult Female',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-11','RP-SN-01',18.50,12.00,1,'P','Venomless',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-12','RP-SN-01',18.50,12.00,1,'P','Rattleless',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-13','RP-LI-02',18.50,12.00,1,'P','Green Adult',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-14','FL-DSH-01',58.50,12.00,1,'P','Tailless',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-15','FL-DSH-01',23.50,12.00,1,'P','With tail',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-16','FL-DLH-02',93.50,12.00,1,'P','Adult Female',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-17','FL-DLH-02',93.50,12.00,1,'P','Adult Male',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-18','AV-CB-01',193.50,92.00,1,'P','Adult Male',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-19','AV-SB-02',15.50,2.00,1,'P','Adult Male',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-2','FI-SW-01',16.50,10.00,1,'P','Small',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-20','FI-FW-02',5.50,2.00,1,'P','Adult Male',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-21','FI-FW-02',5.29,1.00,1,'P','Adult Female',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-22','K9-RT-02',135.50,100.00,1,'P','Adult Male',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-23','K9-RT-02',145.49,100.00,1,'P','Adult Female',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-24','K9-RT-02',255.50,92.00,1,'P','Adult Male',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-25','K9-RT-02',325.29,90.00,1,'P','Adult Female',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-26','K9-CW-01',125.50,92.00,1,'P','Adult Male',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-27','K9-CW-01',155.29,90.00,1,'P','Adult Female',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-28','K9-RT-01',155.29,90.00,1,'P','Adult Female',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-3','FI-SW-02',18.50,12.00,1,'P','Toothless',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-4','FI-FW-01',18.50,12.00,1,'P','Spotted',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-5','FI-FW-01',18.50,12.00,1,'P','Spotless',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-6','K9-BD-01',18.50,12.00,1,'P','Male Adult',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-7','K9-BD-01',18.50,12.00,1,'P','Female Puppy',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-8','K9-PO-02',18.50,12.00,1,'P','Male Puppy',NULL,NULL,NULL,NULL)
-INSERT INTO ITEM VALUES('EST-9','K9-DL-01',18.50,12.00,1,'P','Spotless Male Puppy',NULL,NULL,NULL,NULL)
-INSERT INTO INVENTORY VALUES('EST-1',10000)
-INSERT INTO INVENTORY VALUES('EST-10',10000)
-INSERT INTO INVENTORY VALUES('EST-11',10000)
-INSERT INTO INVENTORY VALUES('EST-12',10000)
-INSERT INTO INVENTORY VALUES('EST-13',10000)
-INSERT INTO INVENTORY VALUES('EST-14',10000)
-INSERT INTO INVENTORY VALUES('EST-15',10000)
-INSERT INTO INVENTORY VALUES('EST-16',10000)
-INSERT INTO INVENTORY VALUES('EST-17',10000)
-INSERT INTO INVENTORY VALUES('EST-18',10000)
-INSERT INTO INVENTORY VALUES('EST-19',10000)
-INSERT INTO INVENTORY VALUES('EST-2',10000)
-INSERT INTO INVENTORY VALUES('EST-20',10000)
-INSERT INTO INVENTORY VALUES('EST-21',10000)
-INSERT INTO INVENTORY VALUES('EST-22',10000)
-INSERT INTO INVENTORY VALUES('EST-23',10000)
-INSERT INTO INVENTORY VALUES('EST-24',10000)
-INSERT INTO INVENTORY VALUES('EST-25',10000)
-INSERT INTO INVENTORY VALUES('EST-26',10000)
-INSERT INTO INVENTORY VALUES('EST-27',10000)
-INSERT INTO INVENTORY VALUES('EST-28',10000)
-INSERT INTO INVENTORY VALUES('EST-3',10000)
-INSERT INTO INVENTORY VALUES('EST-4',10000)
-INSERT INTO INVENTORY VALUES('EST-5',10000)
-INSERT INTO INVENTORY VALUES('EST-6',10000)
-INSERT INTO INVENTORY VALUES('EST-7',10000)
-INSERT INTO INVENTORY VALUES('EST-8',10000)
-INSERT INTO INVENTORY VALUES('EST-9',10000)
-INSERT INTO SEQUENCE VALUES('linenum',1000)
-INSERT INTO SEQUENCE VALUES('ordernum',1009)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.script (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.script)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.script (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/db.script 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,132 @@
+CREATE SCHEMA PUBLIC AUTHORIZATION DBA
+CREATE MEMORY TABLE SUPPLIER(SUPPID INTEGER NOT NULL PRIMARY KEY,NAME VARCHAR(80),STATUS VARCHAR(2) NOT NULL,ADDR1 VARCHAR(80),ADDR2 VARCHAR(80),CITY VARCHAR(80),STATE VARCHAR(80),ZIP VARCHAR(5),PHONE VARCHAR(80))
+CREATE MEMORY TABLE SIGNON(USERNAME VARCHAR(25) NOT NULL PRIMARY KEY,PASSWORD VARCHAR(25) NOT NULL)
+CREATE MEMORY TABLE ACCOUNT(USERID VARCHAR(80) NOT NULL PRIMARY KEY,EMAIL VARCHAR(80) NOT NULL,FIRSTNAME VARCHAR(80) NOT NULL,LASTNAME VARCHAR(80) NOT NULL,STATUS VARCHAR(2),ADDR1 VARCHAR(80) NOT NULL,ADDR2 VARCHAR(40),CITY VARCHAR(80) NOT NULL,STATE VARCHAR(80) NOT NULL,ZIP VARCHAR(20) NOT NULL,COUNTRY VARCHAR(20) NOT NULL,PHONE VARCHAR(80) NOT NULL)
+CREATE MEMORY TABLE PROFILE(USERID VARCHAR(80) NOT NULL PRIMARY KEY,LANGPREF VARCHAR(80) NOT NULL,FAVCATEGORY VARCHAR(30),MYLISTOPT INTEGER,BANNEROPT INTEGER)
+CREATE MEMORY TABLE BANNERDATA(FAVCATEGORY VARCHAR(80) NOT NULL PRIMARY KEY,BANNERNAME VARCHAR(255))
+CREATE MEMORY TABLE ORDERS(ORDERID VARCHAR(80) NOT NULL,USERID VARCHAR(80) NOT NULL,ORDERDATE DATE NOT NULL,SHIPADDR1 VARCHAR(80) NOT NULL,SHIPADDR2 VARCHAR(80),SHIPCITY VARCHAR(80) NOT NULL,SHIPSTATE VARCHAR(80) NOT NULL,SHIPZIP VARCHAR(20) NOT NULL,SHIPCOUNTRY VARCHAR(20) NOT NULL,BILLADDR1 VARCHAR(80) NOT NULL,BILLADDR2 VARCHAR(80),BILLCITY VARCHAR(80) NOT NULL,BILLSTATE VARCHAR(80) NOT NULL,BILLZIP VARCHAR(20) NOT NULL,BILLCOUNTRY VARCHAR(20) NOT NULL,COURIER VARCHAR(80) NOT NULL,TOTALPRICE DECIMAL(10,2) NOT NULL,BILLTOFIRSTNAME VARCHAR(80) NOT NULL,BILLTOLASTNAME VARCHAR(80) NOT NULL,SHIPTOFIRSTNAME VARCHAR(80) NOT NULL,SHIPTOLASTNAME VARCHAR(80) NOT NULL,CREDITCARD VARCHAR(80) NOT NULL,EXPRDATE VARCHAR(7) NOT NULL,CARDTYPE VARCHAR(80) NOT NULL,LOCALE VARCHAR(80) NOT NULL)
+CREATE MEMORY TABLE ORDERSTATUS(ORDERID INTEGER NOT NULL,LINENUM INTEGER NOT NULL,TIMESTAMP DATE NOT NULL,STATUS VARCHAR(2) NOT NULL,CONSTRAINT PK_ORDERSTATUS PRIMARY KEY(ORDERID,LINENUM))
+CREATE MEMORY TABLE LINEITEM(ORDERID INTEGER NOT NULL,LINENUM INTEGER NOT NULL,ITEMID VARCHAR(10) NOT NULL,QUANTITY INTEGER NOT NULL,UNITPRICE DECIMAL(10,2) NOT NULL,CONSTRAINT PK_LINEITEM PRIMARY KEY(ORDERID,LINENUM))
+CREATE MEMORY TABLE CATEGORY(CATID VARCHAR(10) NOT NULL PRIMARY KEY,NAME VARCHAR(80),DESCN VARCHAR(255))
+CREATE MEMORY TABLE PRODUCT(PRODUCTID VARCHAR(10) NOT NULL PRIMARY KEY,CATEGORY VARCHAR(10) NOT NULL,NAME VARCHAR(80),DESCN VARCHAR(255),CONSTRAINT FK_PRODUCT_1 FOREIGN KEY(CATEGORY) REFERENCES CATEGORY(CATID))
+CREATE INDEX PRODUCTCAT ON PRODUCT(CATEGORY)
+CREATE INDEX PRODUCTNAME ON PRODUCT(NAME)
+CREATE MEMORY TABLE ITEM(ITEMID VARCHAR(10) NOT NULL PRIMARY KEY,PRODUCTID VARCHAR(10) NOT NULL,LISTPRICE DECIMAL(10,2),UNITCOST DECIMAL(10,2),SUPPLIER INTEGER,STATUS VARCHAR(2),ATTR1 VARCHAR(80),ATTR2 VARCHAR(80),ATTR3 VARCHAR(80),ATTR4 VARCHAR(80),ATTR5 VARCHAR(80),CONSTRAINT FK_ITEM_1 FOREIGN KEY(PRODUCTID) REFERENCES PRODUCT(PRODUCTID),CONSTRAINT FK_ITEM_2 FOREIGN KEY(SUPPLIER) REFERENCES SUPPLIER(SUPPID))
+CREATE INDEX ITEMPROD ON ITEM(PRODUCTID)
+CREATE MEMORY TABLE INVENTORY(ITEMID VARCHAR(10) NOT NULL PRIMARY KEY,QTY INTEGER NOT NULL)
+CREATE MEMORY TABLE SEQUENCE(NAME VARCHAR(30) NOT NULL PRIMARY KEY,NEXTID INTEGER NOT NULL)
+CREATE USER SA PASSWORD ""
+GRANT DBA TO SA
+SET WRITE_DELAY 60
+SET SCHEMA PUBLIC
+INSERT INTO SUPPLIER VALUES(1,'XYZ Pets','AC','600 Avon Way','','Los Angeles','CA','94024','212-947-0797')
+INSERT INTO SUPPLIER VALUES(2,'ABC Pets','AC','700 Abalone Way','','San Francisco ','CA','94024','415-947-0797')
+INSERT INTO SIGNON VALUES('ACID','ACID')
+INSERT INTO SIGNON VALUES('j2ee','j2ee')
+INSERT INTO ACCOUNT VALUES('ACID','acid at yourdomain.com','ACID','Pets','OK','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','94303','USA','555-555-5555')
+INSERT INTO ACCOUNT VALUES('j2ee','yourname at yourdomain.com','JEE','Pets','OK','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','94303','USA','555-555-5555')
+INSERT INTO PROFILE VALUES('ACID','english','CATS',1,1)
+INSERT INTO PROFILE VALUES('j2ee','english','DOGS',1,1)
+INSERT INTO BANNERDATA VALUES('BIRDS','<image src="../images/banner_birds.gif">')
+INSERT INTO BANNERDATA VALUES('CATS','<image src="../images/banner_cats.gif">')
+INSERT INTO BANNERDATA VALUES('DOGS','<image src="../images/banner_dogs.gif">')
+INSERT INTO BANNERDATA VALUES('FISH','<image src="../images/banner_fish.gif">')
+INSERT INTO BANNERDATA VALUES('REPTILES','<image src="../images/banner_reptiles.gif">')
+INSERT INTO ORDERS VALUES('1213712709484-FL-DLH-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213712709484-FI-FW-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213712709484-K9-DL-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213712709484-K9-CW-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213712709484-RP-SN-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213712709484-FI-SW-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213712709484-K9-RT-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213712709484-K9-RT-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213712709484-K9-PO-02','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERS VALUES('1213712709484-RP-SN-01','ACID','2006-11-15','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','901 San Antonio Road','MS UCUP02-206','Palo Alto','CA','30253','USA','UPS',22.23,'ACID','Pets','ACID','Pets','999 9999 9999 9999','12/03','Visa','CA')
+INSERT INTO ORDERSTATUS VALUES(1000,1000,'2007-05-25','P')
+INSERT INTO ORDERSTATUS VALUES(1001,1001,'2007-05-25','P')
+INSERT INTO ORDERSTATUS VALUES(1002,1002,'2007-05-25','P')
+INSERT INTO ORDERSTATUS VALUES(1003,1003,'2007-05-25','P')
+INSERT INTO ORDERSTATUS VALUES(1004,1004,'2007-05-25','P')
+INSERT INTO ORDERSTATUS VALUES(1005,1005,'2007-05-25','P')
+INSERT INTO ORDERSTATUS VALUES(1006,1006,'2007-05-25','P')
+INSERT INTO ORDERSTATUS VALUES(1007,1007,'2007-05-25','P')
+INSERT INTO ORDERSTATUS VALUES(1008,1008,'2007-05-25','P')
+INSERT INTO CATEGORY VALUES('BIRDS','Birds','<image src="../images/birds_icon.gif"><font size="5" color="blue"> Birds</font>')
+INSERT INTO CATEGORY VALUES('CATS','Cats','<image src="../images/cats_icon.gif"><font size="5" color="blue"> Cats</font>')
+INSERT INTO CATEGORY VALUES('DOGS','Dogs','<image src="../images/dogs_icon.gif"><font size="5" color="blue"> Dogs</font>')
+INSERT INTO CATEGORY VALUES('FISH','Fish','<image src="../images/fish_icon.gif"><font size="5" color="blue"> Fish</font>')
+INSERT INTO CATEGORY VALUES('REPTILES','Reptiles','<image src="../images/reptiles_icon.gif"><font size="5" color="blue"> Reptiles</font>')
+INSERT INTO PRODUCT VALUES('AV-CB-01','BIRDS','Amazon Parrot','<image src="../images/bird4.gif">Great companion for up to 75 years')
+INSERT INTO PRODUCT VALUES('AV-SB-02','BIRDS','Finch','<image src="../images/bird1.gif">Great stress reliever')
+INSERT INTO PRODUCT VALUES('FI-FW-01','FISH','Koi','<image src="../images/fish3.gif">Fresh Water fish from Japan')
+INSERT INTO PRODUCT VALUES('FI-FW-02','FISH','Goldfish','<image src="../images/fish2.gif">Fresh Water fish from China')
+INSERT INTO PRODUCT VALUES('FI-SW-01','FISH','Angelfish','<image src="../images/fish1.jpg">Salt Water fish from Australia')
+INSERT INTO PRODUCT VALUES('FI-SW-02','FISH','Tiger Shark','<image src="../images/fish4.gif">Salt Water fish from Australia')
+INSERT INTO PRODUCT VALUES('FL-DLH-02','CATS','Persian','<image src="../images/cat1.gif">Friendly house cat, doubles as a princess')
+INSERT INTO PRODUCT VALUES('FL-DSH-01','CATS','Manx','<image src="../images/cat3.gif">Great for reducing mouse populations')
+INSERT INTO PRODUCT VALUES('K9-BD-01','DOGS','Bulldog','<image src="../images/dog2.gif">Friendly dog from England')
+INSERT INTO PRODUCT VALUES('K9-CW-01','DOGS','Chihuahua','<image src="../images/dog4.gif">Great companion dog')
+INSERT INTO PRODUCT VALUES('K9-DL-01','DOGS','Dalmation','<image src="../images/dog5.gif">Great dog for a Fire Station')
+INSERT INTO PRODUCT VALUES('K9-PO-02','DOGS','Poodle','<image src="../images/dog6.gif">Cute dog from France')
+INSERT INTO PRODUCT VALUES('K9-RT-01','DOGS','Golden Retriever','<image src="../images/dog1.gif">Great family dog')
+INSERT INTO PRODUCT VALUES('K9-RT-02','DOGS','Labrador Retriever','<image src="../images/dog5.gif">Great hunting dog')
+INSERT INTO PRODUCT VALUES('RP-LI-02','REPTILES','Iguana','<image src="../images/lizard2.gif">Friendly green friend')
+INSERT INTO PRODUCT VALUES('RP-SN-01','REPTILES','Rattlesnake','<image src="../images/lizard3.gif">Doubles as a watch dog')
+INSERT INTO ITEM VALUES('EST-1','FI-SW-01',16.50,10.00,1,'P','Large',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-10','K9-DL-01',18.50,12.00,1,'P','Spotted Adult Female',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-11','RP-SN-01',18.50,12.00,1,'P','Venomless',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-12','RP-SN-01',18.50,12.00,1,'P','Rattleless',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-13','RP-LI-02',18.50,12.00,1,'P','Green Adult',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-14','FL-DSH-01',58.50,12.00,1,'P','Tailless',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-15','FL-DSH-01',23.50,12.00,1,'P','With tail',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-16','FL-DLH-02',93.50,12.00,1,'P','Adult Female',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-17','FL-DLH-02',93.50,12.00,1,'P','Adult Male',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-18','AV-CB-01',193.50,92.00,1,'P','Adult Male',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-19','AV-SB-02',15.50,2.00,1,'P','Adult Male',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-2','FI-SW-01',16.50,10.00,1,'P','Small',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-20','FI-FW-02',5.50,2.00,1,'P','Adult Male',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-21','FI-FW-02',5.29,1.00,1,'P','Adult Female',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-22','K9-RT-02',135.50,100.00,1,'P','Adult Male',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-23','K9-RT-02',145.49,100.00,1,'P','Adult Female',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-24','K9-RT-02',255.50,92.00,1,'P','Adult Male',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-25','K9-RT-02',325.29,90.00,1,'P','Adult Female',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-26','K9-CW-01',125.50,92.00,1,'P','Adult Male',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-27','K9-CW-01',155.29,90.00,1,'P','Adult Female',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-28','K9-RT-01',155.29,90.00,1,'P','Adult Female',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-3','FI-SW-02',18.50,12.00,1,'P','Toothless',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-4','FI-FW-01',18.50,12.00,1,'P','Spotted',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-5','FI-FW-01',18.50,12.00,1,'P','Spotless',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-6','K9-BD-01',18.50,12.00,1,'P','Male Adult',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-7','K9-BD-01',18.50,12.00,1,'P','Female Puppy',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-8','K9-PO-02',18.50,12.00,1,'P','Male Puppy',NULL,NULL,NULL,NULL)
+INSERT INTO ITEM VALUES('EST-9','K9-DL-01',18.50,12.00,1,'P','Spotless Male Puppy',NULL,NULL,NULL,NULL)
+INSERT INTO INVENTORY VALUES('EST-1',10000)
+INSERT INTO INVENTORY VALUES('EST-10',10000)
+INSERT INTO INVENTORY VALUES('EST-11',10000)
+INSERT INTO INVENTORY VALUES('EST-12',10000)
+INSERT INTO INVENTORY VALUES('EST-13',10000)
+INSERT INTO INVENTORY VALUES('EST-14',10000)
+INSERT INTO INVENTORY VALUES('EST-15',10000)
+INSERT INTO INVENTORY VALUES('EST-16',10000)
+INSERT INTO INVENTORY VALUES('EST-17',10000)
+INSERT INTO INVENTORY VALUES('EST-18',10000)
+INSERT INTO INVENTORY VALUES('EST-19',10000)
+INSERT INTO INVENTORY VALUES('EST-2',10000)
+INSERT INTO INVENTORY VALUES('EST-20',10000)
+INSERT INTO INVENTORY VALUES('EST-21',10000)
+INSERT INTO INVENTORY VALUES('EST-22',10000)
+INSERT INTO INVENTORY VALUES('EST-23',10000)
+INSERT INTO INVENTORY VALUES('EST-24',10000)
+INSERT INTO INVENTORY VALUES('EST-25',10000)
+INSERT INTO INVENTORY VALUES('EST-26',10000)
+INSERT INTO INVENTORY VALUES('EST-27',10000)
+INSERT INTO INVENTORY VALUES('EST-28',10000)
+INSERT INTO INVENTORY VALUES('EST-3',10000)
+INSERT INTO INVENTORY VALUES('EST-4',10000)
+INSERT INTO INVENTORY VALUES('EST-5',10000)
+INSERT INTO INVENTORY VALUES('EST-6',10000)
+INSERT INTO INVENTORY VALUES('EST-7',10000)
+INSERT INTO INVENTORY VALUES('EST-8',10000)
+INSERT INTO INVENTORY VALUES('EST-9',10000)
+INSERT INTO SEQUENCE VALUES('linenum',1000)
+INSERT INTO SEQUENCE VALUES('ordernum',1009)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/hsqldb.jar
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/hsqldb.jar (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/hsqldb.jar)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.bat
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.bat 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.bat 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,2 +0,0 @@
-"%JAVA_HOME%/bin/java" -classpath hsqldb.jar org.hsqldb.util.DatabaseManager
-
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.bat (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.bat)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.bat (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.bat 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,2 @@
+"%JAVA_HOME%/bin/java" -classpath hsqldb.jar org.hsqldb.util.DatabaseManager
+
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.sh
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.sh 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.sh 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1 +0,0 @@
-java -cp hsqldb.jar org.hsqldb.util.DatabaseManager
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.sh (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.sh)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.sh (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.sh 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1 @@
+java -cp hsqldb.jar org.hsqldb.util.DatabaseManager
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.bat
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.bat 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.bat 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1 +0,0 @@
-"%JAVA_HOME%/bin/java" -classpath hsqldb.jar org.hsqldb.Server -database db
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.bat (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.bat)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.bat (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.bat 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1 @@
+"%JAVA_HOME%/bin/java" -classpath hsqldb.jar org.hsqldb.Server -database db
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.properties
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.properties 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.properties 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,2 +0,0 @@
-server.port=9002
-server.trace=true
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.properties (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.properties)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.properties (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.properties 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,2 @@
+server.port=9002
+server.trace=true
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.sh
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.sh 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.sh 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1 +0,0 @@
-java -classpath hsqldb.jar org.hsqldb.Server -database db
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.sh (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.sh)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.sh (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.sh 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1 @@
+java -classpath hsqldb.jar org.hsqldb.Server -database db
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/README.html
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/README.html 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/README.html 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,702 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
- <title>JBossESB Quickstart - "Huge Split, Enrich, Transform and Route"</title>
- <style type="text/css">
- body {
- font-family: helvetica
- }
- pre {
- margin-left: 20px;
- background-color: lavender;
- }
- .rhighlight {
- color: red;
- }
- div.indent {
- margin-left: 20px;
- }
- h4 {
- font-style: italic;
- }
- .commentedcode {
- font-size: smaller; color: slategray;
- }
- </style>
-</head>
-<body>
-
-<img src="http://jboss.com/themes/jbosstheme/img/logo.gif"/><br/>
-<h2>JBossESB Quickstart - "Huge Split, Enrich, Transform and Route"</h2>
-<div class="indent">
-
- This Quickstart demonstrates how JBossESB can be used to:
-
- <ol>
- <li>split,</li>
- <li>enrich,</li>
- <li>transform, and</li>
- <li>route</li>
- </ol>
-
- messages of any size, including huge messages i.e. GB size messages.
- <p/>
- <b>Table of Contents:</b>
- <div class="indent">
- <a href="#overview">Overview</a><br/>
- <a href="#main-points">Main Points of Note</a><br/>
- <a href="#illustration">Illustration</a><br/>
- <a href="#running">Running the Quickstart</a><br/>
- <a href="#flash-demo">Flash Demonstration</a><br/>
- <a href="#how-it-works">How it Works</a><br/>
- <div class="indent">
- <a href="#high-level">High Level</a><br/>
- <a href="#splitting-routing">Splitting & Routing Details</a>
- </div>
- </div>
-
- <h3 id="overview">Overview</h3>
-
- Messages can often be received containing data of interest to multiple parties. Extracting and distributing this data
- is a non trivial process. Firstly you have the challenge of physically extracting the message data from the source message.
- Then you need to reassemble the extracted data in a format consumable by each of these parties. Each party may have different
- requirements (different formats etc) and it's the natural responsibility of the ESB to take care of these differing integration
- requirements. Things can get even more complex if the source message does not contain all the information required by the
- interested parties.
- <p/>
- JBossESB features tools that support solving these issues in a declaritive manner i.e. typically, there's no need to write reams of code.
- The ability to parse, split transform and route message fragments is very powerful. These capabilities are also key to solving another
- message processing related usecase encountered in the Enterprise i.e. that of <b>processing huge messages (GBs)</b>. JBossESB's abilty to perform
- complex splitting operations on messages of different formats provides one solution to processing huge messages.
- <p/>
- This quickstart demonstrates these capabilities and walks you through the components involved. The Quickstart is based on
- a usecase where JBossESB is used to process Order messages (EDI format) from the local file system.
- Each Order message contains order header information (orderId, date, customer userId etc), as well as a list of order items
- (productId, quantity etc). JBossESB is used to:
- <ol>
- <li>Split out and route order items whose "price" is less than "17.00" to the "02_Low_Price" Service. The "02_Low_Price"
- Service expects the order item data to:
- <ol type="a">
- <li>be in <b>XML format</b>,</li>
- <li>contain order header data, as well as the order item data, and</li>
- <li>contain additional customer and product data not provided in the source EDI message.</li>
- </ol>
- </li>
- <li>Split out and route order items whose "price" is greater than "190.00" to the "03_High_Price" Service. The "03_High_Price"
- Service expects the order item data to:
- <ol type="a">
- <li>be in a populated <b>Java Object model</b>,</li>
- <li>contain order header data, as well as the order item data, and</li>
- <li>contain additional customer and product data not provided in the source EDI message.</li>
- </ol>
- </li>
- <li>Split out and route order items whose "category" is "REPTILES" to the "04_Reptiles_notify_webservice_proxy" Service. The "04_Reptiles_notify_webservice_proxy"
- Service expects the order item data to:
- <ol type="a">
- <li>be in <b>SOAP format</b> complying with the ReptilesNotifyWS interface (to which the 04_Reptiles_notify_webservice_proxy
- routes the SOAP message using the HttpRouter),</li>
- <li>contain order header data, as well as the order item data, and</li>
- <li>contain additional customer and product data not provided in the source EDI message.</li>
- </ol>
- </li>
- <li>Split out and route all order items to the <b>"Orders" table in the database</b> ("05_Database").</li>
- </ol>
- <p/>
- See the <a href="http://milyn.codehaus.org/jbossesb/huge-split-route-qs/flash/huge-splitting-routing.html">Flash Demonstration of this Quickstart</a>.
-
- <h3 id="main-points">Main Points of Note</h3>
- The main points of note are:
- <ul>
- <li>The split messages don't just contain data from the order item in question, they also contain data
- from the message header (orderId, date etc). This means the split is <b>not just a dumb fragment extraction</b>.
- Data from different fragments (header and order item) needs to be merged together into the new messages.</li>
- <li>The routed messages need to be "<b>Enriched</b>" with additional customer and product data from the database.</li>
- <li>The routed messages are in <b>different formats</b> - XML, Java, SOAP, JDBC.</li>
- <li>Each order item may be sent to <b>multiple parties concurrently</b>.</li>
- <li>Each order item is routed based on content (<b>Content Based Routing</b>).</li>
- </ul>
-
- <h3 id="illustration">Illustration</h3>
- The Quickstart can be illustrated as follows:
- <p/>
- <a href="docs/Overview.png"><img src="docs/Overview.png" width="40%" height="40%" alt="Click to Enlarge..."/></a>
- <p/>
- See the <a href="http://milyn.codehaus.org/jbossesb/huge-split-route-qs/flash/huge-splitting-routing.html">Flash Demonstration of this Quickstart</a>.
-
- <h3 id="running">Running the Quickstart</h3>
- <ol>
- <li>Open 6 command shell windows in the root folder of this quickstart.</li>
- <li>In one of the command shell windows, start your JBoss ESB/Application Server instance.</li>
- <li>In one of the command shell windows, type "ant deploy-jms-dests" to deploy the JMS Queues.</li>
- <li>In one of the command shell windows, change directory into the "05_Database" folder and
- type "server.bat" or "server.sh", depending on your OS.</li>
- <li>In the remaining command shell windows, type the following commands in seperate windows:
- <ul>
- <li>"ant 01_split_enrich_transform_route"</li>
- <li>"ant 02_Low_Price"</li>
- <li>"ant 03_High_Price"</li>
- <li>"ant 04_Reptiles_notify_webservice" (this just builds and deploys the Webservice)</li>
- </ul>
- </li>
- <li>In the 6th command shell window, type "ant createMessage" to execute the message creation
- script. This script will generate an EDI message in the Service input folder.</li>
- </ol>
- <p/>
- See the <a href="http://milyn.codehaus.org/jbossesb/huge-split-route-qs/flash/huge-splitting-routing.html">Flash Demonstration of this Quickstart</a>.
-
- <h3 id="flash-demo">Flash Demonstration</h3>
- See the <a href="http://milyn.codehaus.org/jbossesb/huge-split-route-qs/flash/huge-splitting-routing.html">Flash Demonstration of this Quickstart</a>.
-
- <h3 id="how-it-works">How it Works</h3>
- The main ESB components used in this quickstart (and how they depend on each other) are as follows:
- <ul>
- <li>FileGateway
- <ul>
- <li>FileStreamSplitter
- <ul>
- <li>Smooks
- <ul>
- <li>EdiParser</li>
- <li>FreeMarker</li>
- <li>FragmentRouter
- <ul>ServiceInvoker</ul>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- <li>HttpRouter</li>
- </ul>
-
- <div class="indent">
- <h4 id="high-level">High Level</h4>
- As can be seen from the <a href="#illustration">illustration above</a>, this quickstart revolves around the
- "01_split_enrich_transform_route" Service deployment. This .esb deployment defines the "SplitterService"
- and "04_Reptiles_notify_webservice_proxy" Services as follows:
-
- <p/>
- <pre>
-<service category="HugeQS" name="SplitterService" description="Splits out the order items and routes them.">
- <listeners>
- <span class="rhighlight"><fs-listener name="FileGateway" busidref="ediFileMessageBus" is-gateway="true" poll-frequency-seconds="2">
- <property name="composer-class" value="org.jboss.soa.esb.smooks.splitting.FileStreamSplitter"/>
- <property name="splitterConfig" value="/smooks_configs/main.xml"/>
- <!-- property name="reportPath" value="/zap/report.html"/ -->
- </fs-listener></span>
- </listeners>
- <actions mep="OneWay">
- <action name="print" class="org.jboss.soa.esb.example.PrintMessage">
- <property name="delay" value="500" />
- </action>
- </actions>
-</service>
-
-<service category="HugeQS" name="04_Reptiles_notify_webservice_proxy" description="Routes the SOAP requests to the 'Reptiles Notification' Webservice">
- <actions mep="OneWay">
- <action name="httprouter" class="org.jboss.soa.esb.actions.routing.http.HttpRouter">
- <property name="endpointUrl" value="http://127.0.0.1:8080/Quickstart_Huge_Enrich_Split_Transform_Route/ReptilesNotifyWS" />
- <property name="method" value="POST" />
- <property name="responseType" value="STRING" />
- </action>
- </actions>
-</service></pre>
- <p/>
-
- The "SplitterService" is of most interest since this is the Service that performs the Splitting & Routing of the Order Items contained in the
- source EDI Order message. The FileGateway is configured with the <code>FileStreamSplitter</code>, which is a specialised MessageComposer implementation.
- The <code>FileStreamSplitter</code> uses <a href="http://milyn.codehaus.org">Smooks</a> to perform the Splitting & Routing of the Order Items.
- <a href="#splitting-routing">We will look at this in more detail later</a>.
- <p/>
- The "04_Reptiles_notify_webservice_proxy" Service is also interesting. It acts as a Webservice proxy service to the "ReptilesNotifyWS" Webservice (<a href="#illustration">see illustration</a>),
- using the <code>HttpRouter</code> to route SOAP payloads received from "SplitterService".
- <p/>
- The "SplitterService" Service also routes split Order Item messages to a number of other Services based on content (Content Based Routing). The "02_Low_Price" and "03_High_Price"
- Services are very simple and effectively the same. The only difference is that the "02_Low_Price" Service receives low priced Order Items as XML, while the
- "03_High_Price" Service receives high priced Order Items as Java Objects. The configuration of the "02_Low_Price" Service is as follows:
-
- <p/>
- <pre>
-<service category="HugeQS" name="02_Low_Price" description="02_Low_Price Service">
- <listeners>
- <jms-listener name="XMLjms" busidref="02XMLBus" />
- </listeners>
- <actions mep="OneWay">
- <action name="print" class="org.jboss.soa.esb.example.PrintMessage" />
- </actions>
-</service></pre>
- <p/>
-
- As can be seen, this Service (and the "03_High_Price" Service) is very simple. It just prints the ESB Message payload to the console.
- <p/>
- The "SplitterService" Service also routes split Order Item messages to the Database. <a href="#splitting-routing">We will look at this in more detail later</a>.
- <p/>
- In all cases where the "SplitterService" Service routes split Order Item messages, the messages are enriched with additional Customer and Product data, which
- it gets from the Database.
-
- <h4 id="splitting-routing">Splitting & Routing Details</h4>
- The incomming EDI messages are in the following format:
-<pre>
-HDR*1213529618453*0*Wed Nov 15 13:45:28 EST 2006
-CUS*ACID
-ORD*0*4*AV-CB-01
-ORD*1*5*FL-DLH-02
-ORD*2*5*AV-CB-01
-... <i>(more ORD segments, 1 per Order Item)</i>...</pre>
- The top level <a href="http://milyn.codehaus.org/Smooks">Smooks</a> configuration for Splitting & Routing this message is:
-<pre>
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <!--
- Filter the message using the SAX Filter (i.e. not DOM, so no
- intermediate DOM, so we can process huge messages...
- -->
- <resource-config selector="global-parameters">
- <param name="stream.filter.type">SAX</param>
- </resource-config>
-
- <!-- Import config for parsing this EDI message... -->
- <import file="<a href="#edi-parsing">parse/edi-orders-parser.xml</a>" />
-
- <!-- Import datasource configs... -->
- <import file="<a href="#datasources">database/datasources.xml</a>" />
-
- <!-- Import reference/enrichment data configs - products, accounts etc... -->
- <import file="<a href="#refdata">database/ref-data.xml</a>" />
-
- <!-- Import config for binding order and order-item data into memory... -->
- <import file="<a href="#bindings">bindings.xml</a>" />
-
- <!-- Import config for routing order item XML to the "02_Low_Price" Service... -->
- <import file="<a href="#routing-02_Low_Price">routing/route-to-02_Low_Price_Service.xml</a>" />
-
- <!-- Import config for routing order item Java Objects to the "03_High_Price" Service... -->
- <import file="<a href="#routing-03_High_Price">routing/route-to-03_High_Price_Service.xml</a>" />
-
- <!-- Import config for routing order item Java Objects to the "04_Reptiles_notify_webservice_proxy" Service... -->
- <import file="<a href="#routing-04_Reptiles_notify_webservice_proxy">routing/route-to-04_Reptiles_notify_webservice_proxy.xml</a>" />
-
- <!-- Import config for routing order items to the database... -->
- <import file="<a href="#routing-05_Database">routing/route-to-05_Database.xml</a>" />
-
-</smooks-resource-list></pre>
-
- Detailed explanations for each of the imported resource configuration files are hyperlinked.
-
- <h5 id="edi-parsing">parse/edi-orders-parser.xml</h5>
- This Smooks resource configuration file defines just a single resource; the EDI Parser.
-
-<pre>
-<resource-config selector="org.xml.sax.driver">
- <resource>org.milyn.smooks.edi.SmooksEDIParser</resource>
- <param name="mapping-model"><a href="01_split_enrich_transform_route/smooks_configs/parse/edi-to-xml-order-mapping.xml">/smooks_configs/parse/edi-to-xml-order-mapping.xml</a></param>
-</resource-config></pre>
-
- The "mapping-model" parameter defines the EDI to SAX Event mapping model configuration for the parser. After
- configuring this resource and turning on the Smooks Execution Report we can see the message event stream as produced
- by the EDI Parser:
- <p/>
- <a href="docs/source-model.gif"><img src="docs/source-model.gif" width="40%" height="40%" alt="Click to Enlarge..."/></a>
- <p/>
-
- <h5 id="datasources">database/datasources.xml</h5>
- This Quickstart interfaces to the database for a number of reasons:
- <ol>
- <li>Reading Customer and Product information not presented in the source EDI message. This information is used to enrich
- the split order item messages before routing.</li>
- <li>Persisting Order Item details (Routing to the Database).</li>
- </ol>
- The "database/datasources.xml" Smooks resource configuration file defines the Datasource details for accessing the Database:
-<pre>
-<resource-config selector="$document">
- <resource>org.milyn.db.DirectDataSource</resource>
- <param name="datasource">OrderManagement</param>
- <param name="driver">org.hsqldb.jdbcDriver</param>
- <param name="url">jdbc:hsqldb:hsql://localhost:9002</param>
- <param name="username">sa</param>
- <param name="password"></param>
- <param name="autoCommit">false</param>
-</resource-config></pre>
-
- This Datasource is bound to the Smooks ExecutionContext at the start of message processing (selector="$document" - selects the message root/document event as the lifecycle event).
- Any JDBC Connection created for the ExecutionContext is committed/rolledback and cleaned up at the end of the message processin (selector="$document"). The <b>HtmlReportGenerator</b>
- (Smooks Execution Report Generator) is very useful for visualising this e.g. The "visitBefore" event shows the binding of the Datasource to the ExecutionContext:
- <p/>
- <a href="docs/datasource-vbefore.gif"><img src="docs/datasource-vbefore.gif" width="40%" height="40%" alt="Click to Enlarge..."/></a>
- <p/>
- And the "visitAfter" event shows the cleanup:
- <p/>
- <a href="docs/datasource-vafter.gif"><img src="docs/datasource-vafter.gif" width="40%" height="40%" alt="Click to Enlarge..."/></a>
- <p/>
-
- <h5 id="refdata">database/ref-data.xml</h5>
- The "database/ref-data.xml" resource file configures resource for reading reference/enhancement data from the
- Database. Each resource is commented inline:
-<pre>
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <!--
- At the start of the message, select the list of products and bind it into the bean context
- under the beanId of "products". We only want to do this lookup once Smooks instance i.e. not for
- every message, otherwise we'd kill memory performance. To control this, we set the "resultSetScope"
- param to "APPLICATION". The actual order item product row will be selected from the resultset by
- the ResultsetRowSelector config (below)...
- -->
- <resource-config selector="$document">
- <resource>org.milyn.routing.db.SQLExecutor</resource>
- <param name="datasource">OrderManagement</param>
- <param name="executeBefore">true</param>
- <param name="statement">select productid, name, attr1, listprice, category from product p, item i where p.productid = i.productid</param>
- <param name="resultSetName">products</param>
- <param name="resultSetScope">APPLICATION</param>
- </resource-config>
-
- <!--
- For every order-item, select the appropriate product row from the in-mem "products" reference data
- resultset (see previous resource), using the ResultsetRowSelector. Bind the selected product row back into the
- bean context under a beanId of "product"...
- -->
- <resource-config selector="order-item/product-id">
- <resource>org.milyn.routing.db.ResultsetRowSelector</resource>
- <param name="executeBefore">false</param>
- <param name="resultSetName">products</param>
- <param name="beanId">product</param>
- <param name="where">row.PRODUCTID == orderItem.productId</param>
- <param name="failedSelectError">Unknown Order Item product ID '${orderItem.productId}' on order '${orderDetail.orderNum?c}'.</param>
- </resource-config>
-
- <!--
- At the end of the customer-details/username, select the user account and bind it into the bean context
- under the beanId of "accounts". The users account should be the only entry in this list....
- -->
- <resource-config selector="customer-details">
- <resource>org.milyn.routing.db.SQLExecutor</resource>
- <param name="datasource">OrderManagement</param>
- <param name="statement">select * from ACCOUNT where userid = ${orderDetail.uname}</param>
- <param name="resultSetName">accounts</param>
- </resource-config>
-
-</smooks-resource-list></pre>
- The data read from the Database by the above resources is bound into the bean context and so is available
- to other resources executing under the same ExecutionContext e.g. templating resources, BeanPopulator
- resources etc. The full Products list Resultset is available under the beanId "<b>products</b>", with the
- product for the current Order Item being processed being available under the beanId "<b>product</b>" (see the
- ResultsetRowSelector resource above). The customer account info for the message being processed under the
- ExecutionContext is captured and made available under the beanId of "<b>accounts</b>". We don't select the
- customer account row from the Resultset (using the ResultsetRowSelector - as done with the products Resultset).
- It woult be a good idea to add this ResultsetRowSelector because we could then configure a "failedSelectError".
- It would also mean that the expressions used in other resources to reference the account info (e.g. in templates) wouldn't
- contain the Resultset row indexing characters i.e. "accounts[0]". Instead, we would reference the account
- info using "account" based expressions, which is possibly a little clearer.
-
- <h5 id="bindings">bindings.xml</h5>
- At the heart of nearly all Smooks based message processing is the concept of "binding" data from the Source
- message event stream into memory (into the bean context). Once the data is bound into memory in a Physical or
- Virtual Object Model, it can be used by other Smooks resources such as:
- <ul>
- <li>Templating resources (FreeMarker, XSLT, StringTemplate),</li>
- <li>BeanPopulator resources (Expression Based Bindings),</li>
- <li>Routing resources (Database, File, JMS),</li>
- <li>Resource <condition> expressions,</li>
- <li>Custom Smooks Visitor implementations</li>
- <li>etc, etc, etc...</li>
- </ul>
-
- The populated Object Model may itself be the Result output by the Smooks.filter operation. Basically, the
- data binding functionality provided by the Javabean Cartridge is a very fundamental part of practically
- all Smooks based filtering operations. Without it, you are quite limited in what you can do.
- <p/>
- The "bindings.xml" resource defines the core bindings used in this quickstart. It extracts the Order header
- and Order Item data from the message event stream and binds it into a Virtual Object Model (i.e. a HashMap):
-<pre>
-<!--
- Bind the main order details....
--->
-<resource-config selector="order">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">orderDetail</param>
- <param name="beanClass">java.util.HashMap</param>
- <param name="bindings">
- <binding property="orderNum" selector="header/order-id" type="Long" />
- <binding property="uname" selector="customer-details/username" />
- <binding property="date" selector="header/date" type="OrderDateDecoder" /> <!-- Type defined below -->
- </param>
-</resource-config>
-
-<!--
- Bind each order-item. Not building a list of order items because we only want to have
- one order-item in memory at any one time. This way, we can handle a huge orders with many
- many order items..
--->
-<resource-config selector="order-item">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">orderItem</param>
- <param name="beanClass">java.util.HashMap</param>
- <param name="bindings">
- <binding property="position" selector="order-item/position" type="Integer" />
- <binding property="quantity" selector="order-item/quantity" type="Integer" />
- <binding property="productId" selector="order-item/product-id" />
- </param>
-</resource-config>
-
-<resource-config selector="decoder:OrderDateDecoder">
- <resource>org.milyn.javabean.decoders.DateDecoder</resource>
- <param name="format">EEE MMM dd HH:mm:ss z yyyy</param>
-</resource-config></pre>
-
- Once this data is bound into the bean context (under the beanIds of "orderDetail" and "orderItem"),
- it is available to all other resources executing under the same Smooks ExecutionContext. The key to
- processing huge messages is the fact that we can keep the memory footprint associated with the
- ExecutionContext to a minimum. We do this by only maintaining the current Order Item in memory at
- at any one time i.e. we don't accumulate a list of the Order Items. This also means that
- we need to be able to use the Order Item data (for splitting, routing etc) while we have it in
- memory and before we throw it away in place of the next Order Item in the message event stream.
- In other words, we can't wait for the whole message to be processed before processing the Order Item data;
- everything is done while we are processing the message event stream i.e. binding, templating/transforming,
- routing etc. We do this by targeting these other resources at the same events in the message event stream
- i.e. the <order-item> events.
- <p/>
- This is the most difficult part of Smooks to get your head around i.e. the idea that multiple things are
- conceptually happening in parallel. On the other side, this is where the power of Smooks lies. For this
- reason, Smooks provides a HtmlReportGenerator class to help you visualise Smooks processes. It generates
- a Smooks Execution Report and is the nearest thing to a debugging tool that Smooks currently has. See
- the Smooks User Guide for details.
-
- <h5 id="routing-02_Low_Price">routing/route-to-02_Low_Price_Service.xml</h5>
- This resource configuration file defines the routing resources for the "02_Low_Price"
- Service:
-<pre>
-<!--
- At the end of every order-item, route the order item XML ("02_XML_OrderItem") to the
- "02_Low_Price" Service, if the total is 20 or less...
--->
-<resource-config selector="order-item">
- <resource>org.jboss.soa.esb.smooks.FragmentRouter</resource>
- <condition>
- <!--<i class="commentedcode">
- product.LISTPRICE * orderItem.quantity <= 17.00
- </i>-->
- </condition>
- <param name="beanId"><span style="color: crimson;">02_XML_OrderItem</span></param> <!-- Populated and bound below... -->
- <param name="serviceCategory">HugeQS</param>
- <param name="serviceName">02_Low_Price</param>
-</resource-config>
-
-<!--
- At the end of every order-item, generate an <ord> split message for the "02_XML" Service
- and bind it back into the bean context under a bean ID of "02_XML_OrderItem"...
- -->
-<resource-config selector="order-item">
- <resource type="ftl"><!--<i class="commentedcode"><ord id="${orderDetail.orderNum?c}" date="${orderDetail.date?string("yyyy-MM-dd")}">
- <customer>
- <name>${accounts[0].LASTNAME}, ${accounts[0].FIRSTNAME}</name>
- <addr1>${accounts[0].ADDR1}</addr1>
- <addr2>${accounts[0].ADDR2}</addr2>
- <city>${accounts[0].CITY}</city>
- <state>${accounts[0].STATE}</state>
- <zip>${accounts[0].ZIP}</zip>
- </customer>
- <productid>${orderItem.productId}</productid>
- <quantity>${orderItem.quantity?c}</quantity>
- <price>${product.LISTPRICE?c}</price>
- <title>${product.NAME} (${product.ATTR1})</title>
-</ord></i>--></resource>
- <param name="action">bindto</param>
- <param name="bindId"><span style="color: crimson;">02_XML_OrderItem</span></param>
-</resource-config>
-</pre>
- So the first resource listed in this configuration simply routes the XML data (generated by the second resource)
- to the "02_Low_Price" Service. The resource is only applied if the specified condition is met. The second resource
- generates the XML message to be routed by applying a FreeMarker template to the data in the bean context. As can be
- seen above, the template sucks in Customer and Product data bound to the bean context <a href="#refdata">from the
- database ("accounts[0]" and "product")</a>, as well as data bound into the bean context <a href="#bindings">from the
- source message itself ("orderDetail" and "orderItem")</a>.
- <p/>
- Both of these resource fire on the visitAfter event of the <order-item>
- element. The order in which they fire depends on the order in which they appear in the resource configs, with the
- visitBefore events firing "first-to-last" and the visitAfter events firing "last-to-first". This is why the templating
- resource is positioned after the routing resource i.e. because we want it's visitAfter to be applied before the
- FragmentRouter visitAfter (uses the ServiceInvoker to route the messages). This all seems a bit complex, but is
- actually intuitive enough if you use the Smooks Execution Report during development because you can see the resources
- and the order in which they are being applied.
- <p/>
- The following illustration shows the resources applied on the visitAfter event for the <order-item> element.
- It shows the FreeMarker template resource being applied before the <code>FragmentRouter</code> resource.
- <p/>
- <a href="docs/02_Low_Price.gif"><img src="docs/02_Low_Price.gif" width="40%" height="40%" alt="Click to Enlarge..." /></a>
- <p/>
-
- <h5 id="routing-03_High_Price">routing/route-to-03_High_Price_Service.xml</h5>
- This resource configuration file defines the routing resources for the "03_High_Price"
- Service:
-<pre>
-<!--
- At the end of every order-item, route the order item Java Objects ("03_order") to the
- "03_High_Price" Service, if the price per item is 190 or more...
--->
-<resource-config selector="order-item">
- <resource>org.jboss.soa.esb.smooks.FragmentRouter</resource>
- <condition>
- <!--<i class="commentedcode">
- product.LISTPRICE > 190.00
- </i>-->
- </condition>
- <param name="beanId"><span style="color: crimson;">03_order</span></param>
- <param name="serviceCategory">HugeQS</param>
- <param name="serviceName">03_High_Price</param>
-</resource-config>
-
-<!--
- At the end of every order-item, bind together the orderDetail with the current
- order item in a new HashMap and asign it under the beanId "03_order" in the bean
- context. 03_order gets routed by the above config..
--->
-<resource-config selector="order-item">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId"><span style="color: crimson;">03_order</span></param>
- <param name="beanClass">org.jboss.soa.esb.example.highprice.Order</param>
- <param name="bindings">
- <binding property="firstName">accounts[0].FIRSTNAME</binding>
- <binding property="lastName">accounts[0].LASTNAME</binding>
- <binding property="address" selector="${03_address}" />
- <binding property="date">orderDetail.date</binding>
- <binding property="product" selector="${03_product}" />
- <binding property="quantity">orderItem.quantity</binding>
- </param>
-</resource-config>
-
-<resource-config selector="order-item">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">03_address</param>
- <param name="beanClass">org.jboss.soa.esb.example.highprice.Address</param>
- <param name="bindings">
- <binding property="email">accounts[0].EMAIL</binding>
- <binding property="address1">accounts[0].ADDR1</binding>
- <binding property="address2">accounts[0].ADDR2</binding>
- <binding property="city">accounts[0].CITY</binding>
- <binding property="state">accounts[0].STATE</binding>
- </param>
-</resource-config>
-
-<resource-config selector="order-item">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">03_product</param>
- <param name="beanClass">org.jboss.soa.esb.example.highprice.Product</param>
- <param name="bindings">
- <binding property="id">product.PRODUCTID</binding>
- <binding property="title">product.NAME</binding>
- <binding property="category">product.CATEGORY</binding>
- <binding property="price">product.LISTPRICE</binding>
- </param>
-</resource-config></pre>
-
- The first resource specifies the <code>FragmentRouter</code> resource for routing the contents of the "03_order" bean to
- the "03_High_Price" Service, where the product price is greater than 190.00. The other resources specify the <code>BeanPopulator</code>
- resources required for creating and populating the the "03_order" bean Object Model.
- <p/>
- This configuration differs from the <a href="#routing-02_Low_Price">routing/route-to-02_Low_Price_Service.xml</a> configuration
- in that this configuration is routing a Java Object Model as opposed to an XML blob. Also, the binding configurations defined
- in this configuration are different to those defined in the <a href="#bindings">bindings.xml</a> configuration because:
- <ol>
- <li>The data is being bound to a "Physical Object Model" Vs a "Virtual Object Model" i.e.
- <a href="03_High_Price/src/org/jboss/soa/esb/example/highprice/Order.java">the Order class</a> Vs a simple HashMap.</li>
- <li>They are "Expression Based Bindings" i.e. the values being bound into the Object Model are coming from expression evaluations defined
- as the child text of the <binding> elements. The bindings defined in <a href="#bindings">bindings.xml</a> are pulling
- their values from the source message. In the case of the expressions defined in this configuration, they are selecting values from
- the bean context. The values being selected were bound to the context by the <a href="#refdata">database/ref-data.xml</a>
- resources.</li>
- </ol>
-
- <h5 id="routing-04_Reptiles_notify_webservice_proxy">routing/route-to-04_Reptiles_notify_webservice_proxy.xml</h5>
- This resource configuration file defines the routing resources for the "04_Reptiles_notify_webservice_proxy"
- Service where the product category is "REPTILES":
-<pre>
-<!--
- At the end of every order-item, route the "Reptiles Notification" SOAP message ("04_SOAP_OrderItem") to the
- "04_Reptiles_notify_webservice_proxy" Service, if the order item product.CATEGORY is "REPTILES"...
--->
-<resource-config selector="order-item">
- <resource>org.jboss.soa.esb.smooks.FragmentRouter</resource>
- <condition>
- <!--<i class="commentedcode">
- product.CATEGORY == "REPTILES"
- </i>-->
- </condition>
- <param name="beanId"><span style="color: crimson;">04_SOAP_OrderItem</span></param>
- <param name="serviceCategory">HugeQS</param>
- <param name="serviceName">04_Reptiles_notify_webservice_proxy</param>
-</resource-config>
-
-<!--
- At the end of every order-item, generate an <ord> split message for the "02_XML" Service
- and bind it back into the bean context under a bean ID of "02_XML_OrderItem"...
- -->
-<resource-config selector="order-item">
- <resource type="ftl"><!--<i class="commentedcode"><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ord="http://ordermanagement/ReptilesNotifyWS">
- <soapenv:Header/>
- <soapenv:Body>
- <ord:notify>
- <notification>
- <date>${orderDetail.date?string("yyyy-MM-dd'T'HH:mm:ss")}</date>
- <email>${accounts[0].EMAIL}</email>
- <firstName>${accounts[0].FIRSTNAME}</firstName>
- <lastName>${accounts[0].LASTNAME}</lastName>
- <product>${product.NAME} (${product.ATTR1})</product>
- <quantity>${orderItem.quantity}</quantity>
- <totalPrice>${product.LISTPRICE?c}</totalPrice>
- </notification>
- </ord:notify>
- </soapenv:Body>
-</soapenv:Envelope></i>--></resource>
- <param name="action">bindto</param>
- <param name="bindId"><span style="color: crimson;">04_SOAP_OrderItem</span></param>
-</resource-config></pre>
-
- This routing configuration is nearly identical to that defined in <a href="#routing-02_Low_Price">routing/route-to-02_Low_Price_Service.xml</a>.
- The only difference is the format of the XML, the destination Service and the condition under which the message is to be routed.
- <p/>
- As can be seen in the <a href="#high-level">04_Reptiles_notify_webservice_proxy Service configuration</a>, these SOAP messages are routed to the
- ReptilesNotifyWS Webservice using the <code>HttpRouter</code>.
-
- <h5 id="routing-05_Database">routing/route-to-05_Database.xml</h5>
- This resource configuration file defines the routing resources for routing Order Item data to the Database:
-<pre>
-<!--
- This resource is needed because we only want to limit the number or orders inserted into the database,
- so we need to count them...
--->
-<resource-config selector="order-item">
- <resource>org.milyn.routing.db.SQLExecutor</resource>
- <param name="executeBefore">true</param>
- <param name="datasource">OrderManagement</param>
- <param name="statement"><i class="commentedcode">select count(*) as "numOrders" from orders</i></param>
- <param name="resultSetName"><span style="color: crimson;">orderCountRS</span></param>
-</resource-config>
-
-<!--
- At the end of every order-item, insert the order details for that order item...
- -->
-<resource-config selector="order-item">
- <resource>org.milyn.routing.db.SQLExecutor</resource>
- <condition>
- <!--
- <span style="color: crimson;">orderCountRS</span>[0].numOrders < 10
- -->
- </condition>
- <param name="executeBefore">false</param>
- <param name="datasource">OrderManagement</param>
- <param name="statement"><i class="commentedcode">INSERT INTO ORDERS VALUES(${orderDetail.orderNum + "-" + product.PRODUCTID}, ${accounts[0].USERID}, ${orderDetail.date}, ${accounts[0].ADDR1}, ${accounts[0].ADDR2}, ${accounts[0].CITY}, ${accounts[0].STATE},'30253','USA', ${accounts[0].ADDR1}, ${accounts[0].ADDR2}, ${accounts[0].CITY}, ${accounts[0].STATE},'30253','USA','UPS',22.23, ${accounts[0].FIRSTNAME}, ${accounts[0].LASTNAME}, ${accounts[0].FIRSTNAME}, ${accounts[0].LASTNAME},'999 9999 9999 9999','12/03','Visa','CA')</i></param>
-</resource-config></pre>
-
- The first resource simply queries the Orders table in the database to get a row count. It binds the result to the bean context
- under the resultSetName (beanId) of "orderCountRS". This row count is then used as the condition on the second <code>SQLExecutor</code> resource,
- which performs the inserts on the orders table.
-
- </div>
-</div>
-
-</body>
-</html>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/README.html (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/README.html)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/README.html (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/README.html 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,702 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+ <title>JBossESB Quickstart - "Huge Split, Enrich, Transform and Route"</title>
+ <style type="text/css">
+ body {
+ font-family: helvetica
+ }
+ pre {
+ margin-left: 20px;
+ background-color: lavender;
+ }
+ .rhighlight {
+ color: red;
+ }
+ div.indent {
+ margin-left: 20px;
+ }
+ h4 {
+ font-style: italic;
+ }
+ .commentedcode {
+ font-size: smaller; color: slategray;
+ }
+ </style>
+</head>
+<body>
+
+<img src="http://jboss.com/themes/jbosstheme/img/logo.gif"/><br/>
+<h2>JBossESB Quickstart - "Huge Split, Enrich, Transform and Route"</h2>
+<div class="indent">
+
+ This Quickstart demonstrates how JBossESB can be used to:
+
+ <ol>
+ <li>split,</li>
+ <li>enrich,</li>
+ <li>transform, and</li>
+ <li>route</li>
+ </ol>
+
+ messages of any size, including huge messages i.e. GB size messages.
+ <p/>
+ <b>Table of Contents:</b>
+ <div class="indent">
+ <a href="#overview">Overview</a><br/>
+ <a href="#main-points">Main Points of Note</a><br/>
+ <a href="#illustration">Illustration</a><br/>
+ <a href="#running">Running the Quickstart</a><br/>
+ <a href="#flash-demo">Flash Demonstration</a><br/>
+ <a href="#how-it-works">How it Works</a><br/>
+ <div class="indent">
+ <a href="#high-level">High Level</a><br/>
+ <a href="#splitting-routing">Splitting & Routing Details</a>
+ </div>
+ </div>
+
+ <h3 id="overview">Overview</h3>
+
+ Messages can often be received containing data of interest to multiple parties. Extracting and distributing this data
+ is a non trivial process. Firstly you have the challenge of physically extracting the message data from the source message.
+ Then you need to reassemble the extracted data in a format consumable by each of these parties. Each party may have different
+ requirements (different formats etc) and it's the natural responsibility of the ESB to take care of these differing integration
+ requirements. Things can get even more complex if the source message does not contain all the information required by the
+ interested parties.
+ <p/>
+ JBossESB features tools that support solving these issues in a declaritive manner i.e. typically, there's no need to write reams of code.
+ The ability to parse, split transform and route message fragments is very powerful. These capabilities are also key to solving another
+ message processing related usecase encountered in the Enterprise i.e. that of <b>processing huge messages (GBs)</b>. JBossESB's abilty to perform
+ complex splitting operations on messages of different formats provides one solution to processing huge messages.
+ <p/>
+ This quickstart demonstrates these capabilities and walks you through the components involved. The Quickstart is based on
+ a usecase where JBossESB is used to process Order messages (EDI format) from the local file system.
+ Each Order message contains order header information (orderId, date, customer userId etc), as well as a list of order items
+ (productId, quantity etc). JBossESB is used to:
+ <ol>
+ <li>Split out and route order items whose "price" is less than "17.00" to the "02_Low_Price" Service. The "02_Low_Price"
+ Service expects the order item data to:
+ <ol type="a">
+ <li>be in <b>XML format</b>,</li>
+ <li>contain order header data, as well as the order item data, and</li>
+ <li>contain additional customer and product data not provided in the source EDI message.</li>
+ </ol>
+ </li>
+ <li>Split out and route order items whose "price" is greater than "190.00" to the "03_High_Price" Service. The "03_High_Price"
+ Service expects the order item data to:
+ <ol type="a">
+ <li>be in a populated <b>Java Object model</b>,</li>
+ <li>contain order header data, as well as the order item data, and</li>
+ <li>contain additional customer and product data not provided in the source EDI message.</li>
+ </ol>
+ </li>
+ <li>Split out and route order items whose "category" is "REPTILES" to the "04_Reptiles_notify_webservice_proxy" Service. The "04_Reptiles_notify_webservice_proxy"
+ Service expects the order item data to:
+ <ol type="a">
+ <li>be in <b>SOAP format</b> complying with the ReptilesNotifyWS interface (to which the 04_Reptiles_notify_webservice_proxy
+ routes the SOAP message using the HttpRouter),</li>
+ <li>contain order header data, as well as the order item data, and</li>
+ <li>contain additional customer and product data not provided in the source EDI message.</li>
+ </ol>
+ </li>
+ <li>Split out and route all order items to the <b>"Orders" table in the database</b> ("05_Database").</li>
+ </ol>
+ <p/>
+ See the <a href="http://milyn.codehaus.org/jbossesb/huge-split-route-qs/flash/huge-splitting-routing.html">Flash Demonstration of this Quickstart</a>.
+
+ <h3 id="main-points">Main Points of Note</h3>
+ The main points of note are:
+ <ul>
+ <li>The split messages don't just contain data from the order item in question, they also contain data
+ from the message header (orderId, date etc). This means the split is <b>not just a dumb fragment extraction</b>.
+ Data from different fragments (header and order item) needs to be merged together into the new messages.</li>
+ <li>The routed messages need to be "<b>Enriched</b>" with additional customer and product data from the database.</li>
+ <li>The routed messages are in <b>different formats</b> - XML, Java, SOAP, JDBC.</li>
+ <li>Each order item may be sent to <b>multiple parties concurrently</b>.</li>
+ <li>Each order item is routed based on content (<b>Content Based Routing</b>).</li>
+ </ul>
+
+ <h3 id="illustration">Illustration</h3>
+ The Quickstart can be illustrated as follows:
+ <p/>
+ <a href="docs/Overview.png"><img src="docs/Overview.png" width="40%" height="40%" alt="Click to Enlarge..."/></a>
+ <p/>
+ See the <a href="http://milyn.codehaus.org/jbossesb/huge-split-route-qs/flash/huge-splitting-routing.html">Flash Demonstration of this Quickstart</a>.
+
+ <h3 id="running">Running the Quickstart</h3>
+ <ol>
+ <li>Open 6 command shell windows in the root folder of this quickstart.</li>
+ <li>In one of the command shell windows, start your JBoss ESB/Application Server instance.</li>
+ <li>In one of the command shell windows, type "ant deploy-jms-dests" to deploy the JMS Queues.</li>
+ <li>In one of the command shell windows, change directory into the "05_Database" folder and
+ type "server.bat" or "server.sh", depending on your OS.</li>
+ <li>In the remaining command shell windows, type the following commands in seperate windows:
+ <ul>
+ <li>"ant 01_split_enrich_transform_route"</li>
+ <li>"ant 02_Low_Price"</li>
+ <li>"ant 03_High_Price"</li>
+ <li>"ant 04_Reptiles_notify_webservice" (this just builds and deploys the Webservice)</li>
+ </ul>
+ </li>
+ <li>In the 6th command shell window, type "ant createMessage" to execute the message creation
+ script. This script will generate an EDI message in the Service input folder.</li>
+ </ol>
+ <p/>
+ See the <a href="http://milyn.codehaus.org/jbossesb/huge-split-route-qs/flash/huge-splitting-routing.html">Flash Demonstration of this Quickstart</a>.
+
+ <h3 id="flash-demo">Flash Demonstration</h3>
+ See the <a href="http://milyn.codehaus.org/jbossesb/huge-split-route-qs/flash/huge-splitting-routing.html">Flash Demonstration of this Quickstart</a>.
+
+ <h3 id="how-it-works">How it Works</h3>
+ The main ESB components used in this quickstart (and how they depend on each other) are as follows:
+ <ul>
+ <li>FileGateway
+ <ul>
+ <li>FileStreamSplitter
+ <ul>
+ <li>Smooks
+ <ul>
+ <li>EdiParser</li>
+ <li>FreeMarker</li>
+ <li>FragmentRouter
+ <ul>ServiceInvoker</ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li>HttpRouter</li>
+ </ul>
+
+ <div class="indent">
+ <h4 id="high-level">High Level</h4>
+ As can be seen from the <a href="#illustration">illustration above</a>, this quickstart revolves around the
+ "01_split_enrich_transform_route" Service deployment. This .esb deployment defines the "SplitterService"
+ and "04_Reptiles_notify_webservice_proxy" Services as follows:
+
+ <p/>
+ <pre>
+<service category="HugeQS" name="SplitterService" description="Splits out the order items and routes them.">
+ <listeners>
+ <span class="rhighlight"><fs-listener name="FileGateway" busidref="ediFileMessageBus" is-gateway="true" poll-frequency-seconds="2">
+ <property name="composer-class" value="org.jboss.soa.esb.smooks.splitting.FileStreamSplitter"/>
+ <property name="splitterConfig" value="/smooks_configs/main.xml"/>
+ <!-- property name="reportPath" value="/zap/report.html"/ -->
+ </fs-listener></span>
+ </listeners>
+ <actions mep="OneWay">
+ <action name="print" class="org.jboss.soa.esb.example.PrintMessage">
+ <property name="delay" value="500" />
+ </action>
+ </actions>
+</service>
+
+<service category="HugeQS" name="04_Reptiles_notify_webservice_proxy" description="Routes the SOAP requests to the 'Reptiles Notification' Webservice">
+ <actions mep="OneWay">
+ <action name="httprouter" class="org.jboss.soa.esb.actions.routing.http.HttpRouter">
+ <property name="endpointUrl" value="http://127.0.0.1:8080/Quickstart_Huge_Enrich_Split_Transform_Route/ReptilesNotifyWS" />
+ <property name="method" value="POST" />
+ <property name="responseType" value="STRING" />
+ </action>
+ </actions>
+</service></pre>
+ <p/>
+
+ The "SplitterService" is of most interest since this is the Service that performs the Splitting & Routing of the Order Items contained in the
+ source EDI Order message. The FileGateway is configured with the <code>FileStreamSplitter</code>, which is a specialised MessageComposer implementation.
+ The <code>FileStreamSplitter</code> uses <a href="http://milyn.codehaus.org">Smooks</a> to perform the Splitting & Routing of the Order Items.
+ <a href="#splitting-routing">We will look at this in more detail later</a>.
+ <p/>
+ The "04_Reptiles_notify_webservice_proxy" Service is also interesting. It acts as a Webservice proxy service to the "ReptilesNotifyWS" Webservice (<a href="#illustration">see illustration</a>),
+ using the <code>HttpRouter</code> to route SOAP payloads received from "SplitterService".
+ <p/>
+ The "SplitterService" Service also routes split Order Item messages to a number of other Services based on content (Content Based Routing). The "02_Low_Price" and "03_High_Price"
+ Services are very simple and effectively the same. The only difference is that the "02_Low_Price" Service receives low priced Order Items as XML, while the
+ "03_High_Price" Service receives high priced Order Items as Java Objects. The configuration of the "02_Low_Price" Service is as follows:
+
+ <p/>
+ <pre>
+<service category="HugeQS" name="02_Low_Price" description="02_Low_Price Service">
+ <listeners>
+ <jms-listener name="XMLjms" busidref="02XMLBus" />
+ </listeners>
+ <actions mep="OneWay">
+ <action name="print" class="org.jboss.soa.esb.example.PrintMessage" />
+ </actions>
+</service></pre>
+ <p/>
+
+ As can be seen, this Service (and the "03_High_Price" Service) is very simple. It just prints the ESB Message payload to the console.
+ <p/>
+ The "SplitterService" Service also routes split Order Item messages to the Database. <a href="#splitting-routing">We will look at this in more detail later</a>.
+ <p/>
+ In all cases where the "SplitterService" Service routes split Order Item messages, the messages are enriched with additional Customer and Product data, which
+ it gets from the Database.
+
+ <h4 id="splitting-routing">Splitting & Routing Details</h4>
+ The incomming EDI messages are in the following format:
+<pre>
+HDR*1213529618453*0*Wed Nov 15 13:45:28 EST 2006
+CUS*ACID
+ORD*0*4*AV-CB-01
+ORD*1*5*FL-DLH-02
+ORD*2*5*AV-CB-01
+... <i>(more ORD segments, 1 per Order Item)</i>...</pre>
+ The top level <a href="http://milyn.codehaus.org/Smooks">Smooks</a> configuration for Splitting & Routing this message is:
+<pre>
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <!--
+ Filter the message using the SAX Filter (i.e. not DOM, so no
+ intermediate DOM, so we can process huge messages...
+ -->
+ <resource-config selector="global-parameters">
+ <param name="stream.filter.type">SAX</param>
+ </resource-config>
+
+ <!-- Import config for parsing this EDI message... -->
+ <import file="<a href="#edi-parsing">parse/edi-orders-parser.xml</a>" />
+
+ <!-- Import datasource configs... -->
+ <import file="<a href="#datasources">database/datasources.xml</a>" />
+
+ <!-- Import reference/enrichment data configs - products, accounts etc... -->
+ <import file="<a href="#refdata">database/ref-data.xml</a>" />
+
+ <!-- Import config for binding order and order-item data into memory... -->
+ <import file="<a href="#bindings">bindings.xml</a>" />
+
+ <!-- Import config for routing order item XML to the "02_Low_Price" Service... -->
+ <import file="<a href="#routing-02_Low_Price">routing/route-to-02_Low_Price_Service.xml</a>" />
+
+ <!-- Import config for routing order item Java Objects to the "03_High_Price" Service... -->
+ <import file="<a href="#routing-03_High_Price">routing/route-to-03_High_Price_Service.xml</a>" />
+
+ <!-- Import config for routing order item Java Objects to the "04_Reptiles_notify_webservice_proxy" Service... -->
+ <import file="<a href="#routing-04_Reptiles_notify_webservice_proxy">routing/route-to-04_Reptiles_notify_webservice_proxy.xml</a>" />
+
+ <!-- Import config for routing order items to the database... -->
+ <import file="<a href="#routing-05_Database">routing/route-to-05_Database.xml</a>" />
+
+</smooks-resource-list></pre>
+
+ Detailed explanations for each of the imported resource configuration files are hyperlinked.
+
+ <h5 id="edi-parsing">parse/edi-orders-parser.xml</h5>
+ This Smooks resource configuration file defines just a single resource; the EDI Parser.
+
+<pre>
+<resource-config selector="org.xml.sax.driver">
+ <resource>org.milyn.smooks.edi.SmooksEDIParser</resource>
+ <param name="mapping-model"><a href="01_split_enrich_transform_route/smooks_configs/parse/edi-to-xml-order-mapping.xml">/smooks_configs/parse/edi-to-xml-order-mapping.xml</a></param>
+</resource-config></pre>
+
+ The "mapping-model" parameter defines the EDI to SAX Event mapping model configuration for the parser. After
+ configuring this resource and turning on the Smooks Execution Report we can see the message event stream as produced
+ by the EDI Parser:
+ <p/>
+ <a href="docs/source-model.gif"><img src="docs/source-model.gif" width="40%" height="40%" alt="Click to Enlarge..."/></a>
+ <p/>
+
+ <h5 id="datasources">database/datasources.xml</h5>
+ This Quickstart interfaces to the database for a number of reasons:
+ <ol>
+ <li>Reading Customer and Product information not presented in the source EDI message. This information is used to enrich
+ the split order item messages before routing.</li>
+ <li>Persisting Order Item details (Routing to the Database).</li>
+ </ol>
+ The "database/datasources.xml" Smooks resource configuration file defines the Datasource details for accessing the Database:
+<pre>
+<resource-config selector="$document">
+ <resource>org.milyn.db.DirectDataSource</resource>
+ <param name="datasource">OrderManagement</param>
+ <param name="driver">org.hsqldb.jdbcDriver</param>
+ <param name="url">jdbc:hsqldb:hsql://localhost:9002</param>
+ <param name="username">sa</param>
+ <param name="password"></param>
+ <param name="autoCommit">false</param>
+</resource-config></pre>
+
+ This Datasource is bound to the Smooks ExecutionContext at the start of message processing (selector="$document" - selects the message root/document event as the lifecycle event).
+ Any JDBC Connection created for the ExecutionContext is committed/rolledback and cleaned up at the end of the message processin (selector="$document"). The <b>HtmlReportGenerator</b>
+ (Smooks Execution Report Generator) is very useful for visualising this e.g. The "visitBefore" event shows the binding of the Datasource to the ExecutionContext:
+ <p/>
+ <a href="docs/datasource-vbefore.gif"><img src="docs/datasource-vbefore.gif" width="40%" height="40%" alt="Click to Enlarge..."/></a>
+ <p/>
+ And the "visitAfter" event shows the cleanup:
+ <p/>
+ <a href="docs/datasource-vafter.gif"><img src="docs/datasource-vafter.gif" width="40%" height="40%" alt="Click to Enlarge..."/></a>
+ <p/>
+
+ <h5 id="refdata">database/ref-data.xml</h5>
+ The "database/ref-data.xml" resource file configures resource for reading reference/enhancement data from the
+ Database. Each resource is commented inline:
+<pre>
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <!--
+ At the start of the message, select the list of products and bind it into the bean context
+ under the beanId of "products". We only want to do this lookup once Smooks instance i.e. not for
+ every message, otherwise we'd kill memory performance. To control this, we set the "resultSetScope"
+ param to "APPLICATION". The actual order item product row will be selected from the resultset by
+ the ResultsetRowSelector config (below)...
+ -->
+ <resource-config selector="$document">
+ <resource>org.milyn.routing.db.SQLExecutor</resource>
+ <param name="datasource">OrderManagement</param>
+ <param name="executeBefore">true</param>
+ <param name="statement">select productid, name, attr1, listprice, category from product p, item i where p.productid = i.productid</param>
+ <param name="resultSetName">products</param>
+ <param name="resultSetScope">APPLICATION</param>
+ </resource-config>
+
+ <!--
+ For every order-item, select the appropriate product row from the in-mem "products" reference data
+ resultset (see previous resource), using the ResultsetRowSelector. Bind the selected product row back into the
+ bean context under a beanId of "product"...
+ -->
+ <resource-config selector="order-item/product-id">
+ <resource>org.milyn.routing.db.ResultsetRowSelector</resource>
+ <param name="executeBefore">false</param>
+ <param name="resultSetName">products</param>
+ <param name="beanId">product</param>
+ <param name="where">row.PRODUCTID == orderItem.productId</param>
+ <param name="failedSelectError">Unknown Order Item product ID '${orderItem.productId}' on order '${orderDetail.orderNum?c}'.</param>
+ </resource-config>
+
+ <!--
+ At the end of the customer-details/username, select the user account and bind it into the bean context
+ under the beanId of "accounts". The users account should be the only entry in this list....
+ -->
+ <resource-config selector="customer-details">
+ <resource>org.milyn.routing.db.SQLExecutor</resource>
+ <param name="datasource">OrderManagement</param>
+ <param name="statement">select * from ACCOUNT where userid = ${orderDetail.uname}</param>
+ <param name="resultSetName">accounts</param>
+ </resource-config>
+
+</smooks-resource-list></pre>
+ The data read from the Database by the above resources is bound into the bean context and so is available
+ to other resources executing under the same ExecutionContext e.g. templating resources, BeanPopulator
+ resources etc. The full Products list Resultset is available under the beanId "<b>products</b>", with the
+ product for the current Order Item being processed being available under the beanId "<b>product</b>" (see the
+ ResultsetRowSelector resource above). The customer account info for the message being processed under the
+ ExecutionContext is captured and made available under the beanId of "<b>accounts</b>". We don't select the
+ customer account row from the Resultset (using the ResultsetRowSelector - as done with the products Resultset).
+ It woult be a good idea to add this ResultsetRowSelector because we could then configure a "failedSelectError".
+ It would also mean that the expressions used in other resources to reference the account info (e.g. in templates) wouldn't
+ contain the Resultset row indexing characters i.e. "accounts[0]". Instead, we would reference the account
+ info using "account" based expressions, which is possibly a little clearer.
+
+ <h5 id="bindings">bindings.xml</h5>
+ At the heart of nearly all Smooks based message processing is the concept of "binding" data from the Source
+ message event stream into memory (into the bean context). Once the data is bound into memory in a Physical or
+ Virtual Object Model, it can be used by other Smooks resources such as:
+ <ul>
+ <li>Templating resources (FreeMarker, XSLT, StringTemplate),</li>
+ <li>BeanPopulator resources (Expression Based Bindings),</li>
+ <li>Routing resources (Database, File, JMS),</li>
+ <li>Resource <condition> expressions,</li>
+ <li>Custom Smooks Visitor implementations</li>
+ <li>etc, etc, etc...</li>
+ </ul>
+
+ The populated Object Model may itself be the Result output by the Smooks.filter operation. Basically, the
+ data binding functionality provided by the Javabean Cartridge is a very fundamental part of practically
+ all Smooks based filtering operations. Without it, you are quite limited in what you can do.
+ <p/>
+ The "bindings.xml" resource defines the core bindings used in this quickstart. It extracts the Order header
+ and Order Item data from the message event stream and binds it into a Virtual Object Model (i.e. a HashMap):
+<pre>
+<!--
+ Bind the main order details....
+-->
+<resource-config selector="order">
+ <resource>org.milyn.javabean.BeanPopulator</resource>
+ <param name="beanId">orderDetail</param>
+ <param name="beanClass">java.util.HashMap</param>
+ <param name="bindings">
+ <binding property="orderNum" selector="header/order-id" type="Long" />
+ <binding property="uname" selector="customer-details/username" />
+ <binding property="date" selector="header/date" type="OrderDateDecoder" /> <!-- Type defined below -->
+ </param>
+</resource-config>
+
+<!--
+ Bind each order-item. Not building a list of order items because we only want to have
+ one order-item in memory at any one time. This way, we can handle a huge orders with many
+ many order items..
+-->
+<resource-config selector="order-item">
+ <resource>org.milyn.javabean.BeanPopulator</resource>
+ <param name="beanId">orderItem</param>
+ <param name="beanClass">java.util.HashMap</param>
+ <param name="bindings">
+ <binding property="position" selector="order-item/position" type="Integer" />
+ <binding property="quantity" selector="order-item/quantity" type="Integer" />
+ <binding property="productId" selector="order-item/product-id" />
+ </param>
+</resource-config>
+
+<resource-config selector="decoder:OrderDateDecoder">
+ <resource>org.milyn.javabean.decoders.DateDecoder</resource>
+ <param name="format">EEE MMM dd HH:mm:ss z yyyy</param>
+</resource-config></pre>
+
+ Once this data is bound into the bean context (under the beanIds of "orderDetail" and "orderItem"),
+ it is available to all other resources executing under the same Smooks ExecutionContext. The key to
+ processing huge messages is the fact that we can keep the memory footprint associated with the
+ ExecutionContext to a minimum. We do this by only maintaining the current Order Item in memory at
+ at any one time i.e. we don't accumulate a list of the Order Items. This also means that
+ we need to be able to use the Order Item data (for splitting, routing etc) while we have it in
+ memory and before we throw it away in place of the next Order Item in the message event stream.
+ In other words, we can't wait for the whole message to be processed before processing the Order Item data;
+ everything is done while we are processing the message event stream i.e. binding, templating/transforming,
+ routing etc. We do this by targeting these other resources at the same events in the message event stream
+ i.e. the <order-item> events.
+ <p/>
+ This is the most difficult part of Smooks to get your head around i.e. the idea that multiple things are
+ conceptually happening in parallel. On the other side, this is where the power of Smooks lies. For this
+ reason, Smooks provides a HtmlReportGenerator class to help you visualise Smooks processes. It generates
+ a Smooks Execution Report and is the nearest thing to a debugging tool that Smooks currently has. See
+ the Smooks User Guide for details.
+
+ <h5 id="routing-02_Low_Price">routing/route-to-02_Low_Price_Service.xml</h5>
+ This resource configuration file defines the routing resources for the "02_Low_Price"
+ Service:
+<pre>
+<!--
+ At the end of every order-item, route the order item XML ("02_XML_OrderItem") to the
+ "02_Low_Price" Service, if the total is 20 or less...
+-->
+<resource-config selector="order-item">
+ <resource>org.jboss.soa.esb.smooks.FragmentRouter</resource>
+ <condition>
+ <!--<i class="commentedcode">
+ product.LISTPRICE * orderItem.quantity <= 17.00
+ </i>-->
+ </condition>
+ <param name="beanId"><span style="color: crimson;">02_XML_OrderItem</span></param> <!-- Populated and bound below... -->
+ <param name="serviceCategory">HugeQS</param>
+ <param name="serviceName">02_Low_Price</param>
+</resource-config>
+
+<!--
+ At the end of every order-item, generate an <ord> split message for the "02_XML" Service
+ and bind it back into the bean context under a bean ID of "02_XML_OrderItem"...
+ -->
+<resource-config selector="order-item">
+ <resource type="ftl"><!--<i class="commentedcode"><ord id="${orderDetail.orderNum?c}" date="${orderDetail.date?string("yyyy-MM-dd")}">
+ <customer>
+ <name>${accounts[0].LASTNAME}, ${accounts[0].FIRSTNAME}</name>
+ <addr1>${accounts[0].ADDR1}</addr1>
+ <addr2>${accounts[0].ADDR2}</addr2>
+ <city>${accounts[0].CITY}</city>
+ <state>${accounts[0].STATE}</state>
+ <zip>${accounts[0].ZIP}</zip>
+ </customer>
+ <productid>${orderItem.productId}</productid>
+ <quantity>${orderItem.quantity?c}</quantity>
+ <price>${product.LISTPRICE?c}</price>
+ <title>${product.NAME} (${product.ATTR1})</title>
+</ord></i>--></resource>
+ <param name="action">bindto</param>
+ <param name="bindId"><span style="color: crimson;">02_XML_OrderItem</span></param>
+</resource-config>
+</pre>
+ So the first resource listed in this configuration simply routes the XML data (generated by the second resource)
+ to the "02_Low_Price" Service. The resource is only applied if the specified condition is met. The second resource
+ generates the XML message to be routed by applying a FreeMarker template to the data in the bean context. As can be
+ seen above, the template sucks in Customer and Product data bound to the bean context <a href="#refdata">from the
+ database ("accounts[0]" and "product")</a>, as well as data bound into the bean context <a href="#bindings">from the
+ source message itself ("orderDetail" and "orderItem")</a>.
+ <p/>
+ Both of these resource fire on the visitAfter event of the <order-item>
+ element. The order in which they fire depends on the order in which they appear in the resource configs, with the
+ visitBefore events firing "first-to-last" and the visitAfter events firing "last-to-first". This is why the templating
+ resource is positioned after the routing resource i.e. because we want it's visitAfter to be applied before the
+ FragmentRouter visitAfter (uses the ServiceInvoker to route the messages). This all seems a bit complex, but is
+ actually intuitive enough if you use the Smooks Execution Report during development because you can see the resources
+ and the order in which they are being applied.
+ <p/>
+ The following illustration shows the resources applied on the visitAfter event for the <order-item> element.
+ It shows the FreeMarker template resource being applied before the <code>FragmentRouter</code> resource.
+ <p/>
+ <a href="docs/02_Low_Price.gif"><img src="docs/02_Low_Price.gif" width="40%" height="40%" alt="Click to Enlarge..." /></a>
+ <p/>
+
+ <h5 id="routing-03_High_Price">routing/route-to-03_High_Price_Service.xml</h5>
+ This resource configuration file defines the routing resources for the "03_High_Price"
+ Service:
+<pre>
+<!--
+ At the end of every order-item, route the order item Java Objects ("03_order") to the
+ "03_High_Price" Service, if the price per item is 190 or more...
+-->
+<resource-config selector="order-item">
+ <resource>org.jboss.soa.esb.smooks.FragmentRouter</resource>
+ <condition>
+ <!--<i class="commentedcode">
+ product.LISTPRICE > 190.00
+ </i>-->
+ </condition>
+ <param name="beanId"><span style="color: crimson;">03_order</span></param>
+ <param name="serviceCategory">HugeQS</param>
+ <param name="serviceName">03_High_Price</param>
+</resource-config>
+
+<!--
+ At the end of every order-item, bind together the orderDetail with the current
+ order item in a new HashMap and asign it under the beanId "03_order" in the bean
+ context. 03_order gets routed by the above config..
+-->
+<resource-config selector="order-item">
+ <resource>org.milyn.javabean.BeanPopulator</resource>
+ <param name="beanId"><span style="color: crimson;">03_order</span></param>
+ <param name="beanClass">org.jboss.soa.esb.example.highprice.Order</param>
+ <param name="bindings">
+ <binding property="firstName">accounts[0].FIRSTNAME</binding>
+ <binding property="lastName">accounts[0].LASTNAME</binding>
+ <binding property="address" selector="${03_address}" />
+ <binding property="date">orderDetail.date</binding>
+ <binding property="product" selector="${03_product}" />
+ <binding property="quantity">orderItem.quantity</binding>
+ </param>
+</resource-config>
+
+<resource-config selector="order-item">
+ <resource>org.milyn.javabean.BeanPopulator</resource>
+ <param name="beanId">03_address</param>
+ <param name="beanClass">org.jboss.soa.esb.example.highprice.Address</param>
+ <param name="bindings">
+ <binding property="email">accounts[0].EMAIL</binding>
+ <binding property="address1">accounts[0].ADDR1</binding>
+ <binding property="address2">accounts[0].ADDR2</binding>
+ <binding property="city">accounts[0].CITY</binding>
+ <binding property="state">accounts[0].STATE</binding>
+ </param>
+</resource-config>
+
+<resource-config selector="order-item">
+ <resource>org.milyn.javabean.BeanPopulator</resource>
+ <param name="beanId">03_product</param>
+ <param name="beanClass">org.jboss.soa.esb.example.highprice.Product</param>
+ <param name="bindings">
+ <binding property="id">product.PRODUCTID</binding>
+ <binding property="title">product.NAME</binding>
+ <binding property="category">product.CATEGORY</binding>
+ <binding property="price">product.LISTPRICE</binding>
+ </param>
+</resource-config></pre>
+
+ The first resource specifies the <code>FragmentRouter</code> resource for routing the contents of the "03_order" bean to
+ the "03_High_Price" Service, where the product price is greater than 190.00. The other resources specify the <code>BeanPopulator</code>
+ resources required for creating and populating the the "03_order" bean Object Model.
+ <p/>
+ This configuration differs from the <a href="#routing-02_Low_Price">routing/route-to-02_Low_Price_Service.xml</a> configuration
+ in that this configuration is routing a Java Object Model as opposed to an XML blob. Also, the binding configurations defined
+ in this configuration are different to those defined in the <a href="#bindings">bindings.xml</a> configuration because:
+ <ol>
+ <li>The data is being bound to a "Physical Object Model" Vs a "Virtual Object Model" i.e.
+ <a href="03_High_Price/src/org/jboss/soa/esb/example/highprice/Order.java">the Order class</a> Vs a simple HashMap.</li>
+ <li>They are "Expression Based Bindings" i.e. the values being bound into the Object Model are coming from expression evaluations defined
+ as the child text of the <binding> elements. The bindings defined in <a href="#bindings">bindings.xml</a> are pulling
+ their values from the source message. In the case of the expressions defined in this configuration, they are selecting values from
+ the bean context. The values being selected were bound to the context by the <a href="#refdata">database/ref-data.xml</a>
+ resources.</li>
+ </ol>
+
+ <h5 id="routing-04_Reptiles_notify_webservice_proxy">routing/route-to-04_Reptiles_notify_webservice_proxy.xml</h5>
+ This resource configuration file defines the routing resources for the "04_Reptiles_notify_webservice_proxy"
+ Service where the product category is "REPTILES":
+<pre>
+<!--
+ At the end of every order-item, route the "Reptiles Notification" SOAP message ("04_SOAP_OrderItem") to the
+ "04_Reptiles_notify_webservice_proxy" Service, if the order item product.CATEGORY is "REPTILES"...
+-->
+<resource-config selector="order-item">
+ <resource>org.jboss.soa.esb.smooks.FragmentRouter</resource>
+ <condition>
+ <!--<i class="commentedcode">
+ product.CATEGORY == "REPTILES"
+ </i>-->
+ </condition>
+ <param name="beanId"><span style="color: crimson;">04_SOAP_OrderItem</span></param>
+ <param name="serviceCategory">HugeQS</param>
+ <param name="serviceName">04_Reptiles_notify_webservice_proxy</param>
+</resource-config>
+
+<!--
+ At the end of every order-item, generate an <ord> split message for the "02_XML" Service
+ and bind it back into the bean context under a bean ID of "02_XML_OrderItem"...
+ -->
+<resource-config selector="order-item">
+ <resource type="ftl"><!--<i class="commentedcode"><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ord="http://ordermanagement/ReptilesNotifyWS">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <ord:notify>
+ <notification>
+ <date>${orderDetail.date?string("yyyy-MM-dd'T'HH:mm:ss")}</date>
+ <email>${accounts[0].EMAIL}</email>
+ <firstName>${accounts[0].FIRSTNAME}</firstName>
+ <lastName>${accounts[0].LASTNAME}</lastName>
+ <product>${product.NAME} (${product.ATTR1})</product>
+ <quantity>${orderItem.quantity}</quantity>
+ <totalPrice>${product.LISTPRICE?c}</totalPrice>
+ </notification>
+ </ord:notify>
+ </soapenv:Body>
+</soapenv:Envelope></i>--></resource>
+ <param name="action">bindto</param>
+ <param name="bindId"><span style="color: crimson;">04_SOAP_OrderItem</span></param>
+</resource-config></pre>
+
+ This routing configuration is nearly identical to that defined in <a href="#routing-02_Low_Price">routing/route-to-02_Low_Price_Service.xml</a>.
+ The only difference is the format of the XML, the destination Service and the condition under which the message is to be routed.
+ <p/>
+ As can be seen in the <a href="#high-level">04_Reptiles_notify_webservice_proxy Service configuration</a>, these SOAP messages are routed to the
+ ReptilesNotifyWS Webservice using the <code>HttpRouter</code>.
+
+ <h5 id="routing-05_Database">routing/route-to-05_Database.xml</h5>
+ This resource configuration file defines the routing resources for routing Order Item data to the Database:
+<pre>
+<!--
+ This resource is needed because we only want to limit the number or orders inserted into the database,
+ so we need to count them...
+-->
+<resource-config selector="order-item">
+ <resource>org.milyn.routing.db.SQLExecutor</resource>
+ <param name="executeBefore">true</param>
+ <param name="datasource">OrderManagement</param>
+ <param name="statement"><i class="commentedcode">select count(*) as "numOrders" from orders</i></param>
+ <param name="resultSetName"><span style="color: crimson;">orderCountRS</span></param>
+</resource-config>
+
+<!--
+ At the end of every order-item, insert the order details for that order item...
+ -->
+<resource-config selector="order-item">
+ <resource>org.milyn.routing.db.SQLExecutor</resource>
+ <condition>
+ <!--
+ <span style="color: crimson;">orderCountRS</span>[0].numOrders < 10
+ -->
+ </condition>
+ <param name="executeBefore">false</param>
+ <param name="datasource">OrderManagement</param>
+ <param name="statement"><i class="commentedcode">INSERT INTO ORDERS VALUES(${orderDetail.orderNum + "-" + product.PRODUCTID}, ${accounts[0].USERID}, ${orderDetail.date}, ${accounts[0].ADDR1}, ${accounts[0].ADDR2}, ${accounts[0].CITY}, ${accounts[0].STATE},'30253','USA', ${accounts[0].ADDR1}, ${accounts[0].ADDR2}, ${accounts[0].CITY}, ${accounts[0].STATE},'30253','USA','UPS',22.23, ${accounts[0].FIRSTNAME}, ${accounts[0].LASTNAME}, ${accounts[0].FIRSTNAME}, ${accounts[0].LASTNAME},'999 9999 9999 9999','12/03','Visa','CA')</i></param>
+</resource-config></pre>
+
+ The first resource simply queries the Orders table in the database to get a row count. It binds the result to the bean context
+ under the resultSetName (beanId) of "orderCountRS". This row count is then used as the condition on the second <code>SQLExecutor</code> resource,
+ which performs the inserts on the orders table.
+
+ </div>
+</div>
+
+</body>
+</html>
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/build.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,134 +0,0 @@
-<project name="Quickstart_Huge_Enrich_Split_Transform_Route" default="run" basedir=".">
-
- <description>
- ${ant.project.name}
- ${line.separator}
- </description>
-
- <!-- Import the base Ant build script... -->
- <import file="../conf/base-build.xml"/>
-
- <target name="01_split_enrich_transform_route" depends="compile,compile_high_price_model" description="run split_transform_route Service">
- <echo>Split Enrich Transform Route Service:</echo>
- <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
- <!-- jvmarg value="-Xdebug"/>
- <jvmarg value="-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y"/ -->
- <arg value="${basedir}/01_split_enrich_transform_route/jbossesb.xml"/>
- <classpath>
- <fileset dir="05_Database" includes="hsqldb.jar"/>
- <pathelement location="01_split_enrich_transform_route" />
- <pathelement location="03_High_Price/classes" />
- <path refid="exec-classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="02_Low_Price" depends="compile" description="run 02_XML Service">
- <echo>02_Low_Price Service:</echo>
- <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
- <arg value="${basedir}/02_Low_Price/jbossesb.xml"/>
- <classpath>
- <path refid="exec-classpath" />
- </classpath>
- </java>
- </target>
-
- <target name="03_High_Price" depends="compile_high_price_model" description="run 03_JavaObjects Service">
- <echo>03_High_Price Service:</echo>
- <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
- <arg value="${basedir}/03_High_Price/jbossesb.xml"/>
- <classpath>
- <path refid="exec-classpath" />
- <pathelement location="03_High_Price/classes" />
- </classpath>
- </java>
- </target>
-
- <target name="04_Reptiles_notify_webservice" depends="compile">
- <antcall target="quickstart-specific-assemblies" />
- <copy todir="${org.jboss.esb.server.deploy.dir}" file="build/${ant.project.name}.war"/>
-
- <echo message="*" />
- <echo message="****************************************************************************************************" />
- <echo message="The Reptile Notification Webservice has been deployed to '${org.jboss.esb.server.deploy.dir}'." />
- <echo message="****************************************************************************************************" />
- <echo message="*" />
- </target>
-
- <target name="createMessage" depends="compile" description="Create the input message.">
- <echo>Creating input message...</echo>
- <input message="How many Order Items should the message contain? (Simply press return for 20 Order Items)" defaultvalue="20" addproperty="numOrderItems" />
- <java fork="yes" classname="org.jboss.soa.esb.example.MessageGenerator" failonerror="true">
- <arg value="${numOrderItems}"/>
- <classpath refid="exec-classpath"/>
- </java>
- </target>
-
- <target name="compile_high_price_model" depends="compile" >
- <!-- Compile the 03_High_Price object model... -->
- <delete dir="03_High_Price/classes" />
- <mkdir dir="03_High_Price/classes" />
- <javac srcdir="03_High_Price/src" destdir="03_High_Price/classes" debug="true" deprecation="true">
- <classpath refid="compile-classpath" />
- </javac>
- </target>
-
- <target name="generate_order_binding_template" depends="compile_high_price_model" description="Generate 03_High_Price Order Binding Template">
- <java fork="yes" classname="org.milyn.javabean.gen.ConfigGenerator" failonerror="true">
- <arg value="-c"/>
- <arg value="org.jboss.soa.esb.example.highprice.Order"/>
- <arg value="-o"/>
- <arg value="01_split_enrich_transform_route/smooks_configs/routing/order-binding-template.xml"/>
- <classpath>
- <path refid="exec-classpath" />
- <pathelement location="03_High_Price/classes" />
- </classpath>
- </java>
- </target>
-
- <target name="select" description="Select the orders from the database">
- <sql print="true" driver="org.hsqldb.jdbcDriver" url="jdbc:hsqldb:hsql://localhost:9002" userid="sa" autocommit="true" password="" classpath="05_Database/hsqldb.jar">
- <transaction>select * from orders</transaction>
- </sql>
- </target>
-
- <target name="delete" description="Delete the orders in the database">
- <sql print="true" driver="org.hsqldb.jdbcDriver" url="jdbc:hsqldb:hsql://localhost:9002" userid="sa" autocommit="true" password="" classpath="05_Database/hsqldb.jar">
- <transaction>delete from orders</transaction>
- </sql>
- </target>
-
- <target name="quickstart-specific-checks" depends="assert-ws-available"/>
-
- <target name="quickstart-specific-dependencies">
- <path id="quickstart-dependencies-classpath">
- <fileset dir="${org.jboss.esb.server.home}/client" includes="jbossws-client.jar,jboss-remoting.jar" />
- </path>
- </target>
-
- <target name="quickstart-specific-assemblies">
-
- <!-- Compile the 03_High_Price object model... -->
- <delete dir="03_High_Price/classes" />
- <mkdir dir="03_High_Price/classes" />
- <javac srcdir="03_High_Price/src" destdir="03_High_Price/classes" debug="true" deprecation="true">
- <classpath refid="compile-classpath" />
- </javac>
-
- <!-- Compile the webservice... -->
- <delete dir="04_Reptiles_notify_webservice/WEB-INF/classes" />
- <mkdir dir="04_Reptiles_notify_webservice/WEB-INF/classes" />
- <javac srcdir="04_Reptiles_notify_webservice/WEB-INF/src" destdir="04_Reptiles_notify_webservice/WEB-INF/classes" debug="true" deprecation="true">
- <classpath refid="compile-classpath" />
- </javac>
-
- <!-- Assemble the webservice... -->
- <war warfile="build/${ant.project.name}.war" webxml="04_Reptiles_notify_webservice/WEB-INF/web.xml" basedir="04_Reptiles_notify_webservice" />
- </target>
-
- <target name="quickstart-specific-clean">
- <delete dir="03_High_Price/classes" />
- <delete dir="04_Reptiles_notify_webservice/WEB-INF/classes" />
- </target>
-
-</project>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/build.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/build.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/build.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,134 @@
+<project name="Quickstart_Huge_Enrich_Split_Transform_Route" default="run" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <!-- Import the base Ant build script... -->
+ <import file="../conf/base-build.xml"/>
+
+ <target name="01_split_enrich_transform_route" depends="compile,compile_high_price_model" description="run split_transform_route Service">
+ <echo>Split Enrich Transform Route Service:</echo>
+ <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
+ <!-- jvmarg value="-Xdebug"/>
+ <jvmarg value="-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y"/ -->
+ <arg value="${basedir}/01_split_enrich_transform_route/jbossesb.xml"/>
+ <classpath>
+ <fileset dir="05_Database" includes="hsqldb.jar"/>
+ <pathelement location="01_split_enrich_transform_route" />
+ <pathelement location="03_High_Price/classes" />
+ <path refid="exec-classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="02_Low_Price" depends="compile" description="run 02_XML Service">
+ <echo>02_Low_Price Service:</echo>
+ <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
+ <arg value="${basedir}/02_Low_Price/jbossesb.xml"/>
+ <classpath>
+ <path refid="exec-classpath" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="03_High_Price" depends="compile_high_price_model" description="run 03_JavaObjects Service">
+ <echo>03_High_Price Service:</echo>
+ <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
+ <arg value="${basedir}/03_High_Price/jbossesb.xml"/>
+ <classpath>
+ <path refid="exec-classpath" />
+ <pathelement location="03_High_Price/classes" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="04_Reptiles_notify_webservice" depends="compile">
+ <antcall target="quickstart-specific-assemblies" />
+ <copy todir="${org.jboss.esb.server.deploy.dir}" file="build/${ant.project.name}.war"/>
+
+ <echo message="*" />
+ <echo message="****************************************************************************************************" />
+ <echo message="The Reptile Notification Webservice has been deployed to '${org.jboss.esb.server.deploy.dir}'." />
+ <echo message="****************************************************************************************************" />
+ <echo message="*" />
+ </target>
+
+ <target name="createMessage" depends="compile" description="Create the input message.">
+ <echo>Creating input message...</echo>
+ <input message="How many Order Items should the message contain? (Simply press return for 20 Order Items)" defaultvalue="20" addproperty="numOrderItems" />
+ <java fork="yes" classname="org.jboss.soa.esb.example.MessageGenerator" failonerror="true">
+ <arg value="${numOrderItems}"/>
+ <classpath refid="exec-classpath"/>
+ </java>
+ </target>
+
+ <target name="compile_high_price_model" depends="compile" >
+ <!-- Compile the 03_High_Price object model... -->
+ <delete dir="03_High_Price/classes" />
+ <mkdir dir="03_High_Price/classes" />
+ <javac srcdir="03_High_Price/src" destdir="03_High_Price/classes" debug="true" deprecation="true">
+ <classpath refid="compile-classpath" />
+ </javac>
+ </target>
+
+ <target name="generate_order_binding_template" depends="compile_high_price_model" description="Generate 03_High_Price Order Binding Template">
+ <java fork="yes" classname="org.milyn.javabean.gen.ConfigGenerator" failonerror="true">
+ <arg value="-c"/>
+ <arg value="org.jboss.soa.esb.example.highprice.Order"/>
+ <arg value="-o"/>
+ <arg value="01_split_enrich_transform_route/smooks_configs/routing/order-binding-template.xml"/>
+ <classpath>
+ <path refid="exec-classpath" />
+ <pathelement location="03_High_Price/classes" />
+ </classpath>
+ </java>
+ </target>
+
+ <target name="select" description="Select the orders from the database">
+ <sql print="true" driver="org.hsqldb.jdbcDriver" url="jdbc:hsqldb:hsql://localhost:9002" userid="sa" autocommit="true" password="" classpath="05_Database/hsqldb.jar">
+ <transaction>select * from orders</transaction>
+ </sql>
+ </target>
+
+ <target name="delete" description="Delete the orders in the database">
+ <sql print="true" driver="org.hsqldb.jdbcDriver" url="jdbc:hsqldb:hsql://localhost:9002" userid="sa" autocommit="true" password="" classpath="05_Database/hsqldb.jar">
+ <transaction>delete from orders</transaction>
+ </sql>
+ </target>
+
+ <target name="quickstart-specific-checks" depends="assert-ws-available"/>
+
+ <target name="quickstart-specific-dependencies">
+ <path id="quickstart-dependencies-classpath">
+ <fileset dir="${org.jboss.esb.server.home}/client" includes="jbossws-client.jar,jboss-remoting.jar" />
+ </path>
+ </target>
+
+ <target name="quickstart-specific-assemblies">
+
+ <!-- Compile the 03_High_Price object model... -->
+ <delete dir="03_High_Price/classes" />
+ <mkdir dir="03_High_Price/classes" />
+ <javac srcdir="03_High_Price/src" destdir="03_High_Price/classes" debug="true" deprecation="true">
+ <classpath refid="compile-classpath" />
+ </javac>
+
+ <!-- Compile the webservice... -->
+ <delete dir="04_Reptiles_notify_webservice/WEB-INF/classes" />
+ <mkdir dir="04_Reptiles_notify_webservice/WEB-INF/classes" />
+ <javac srcdir="04_Reptiles_notify_webservice/WEB-INF/src" destdir="04_Reptiles_notify_webservice/WEB-INF/classes" debug="true" deprecation="true">
+ <classpath refid="compile-classpath" />
+ </javac>
+
+ <!-- Assemble the webservice... -->
+ <war warfile="build/${ant.project.name}.war" webxml="04_Reptiles_notify_webservice/WEB-INF/web.xml" basedir="04_Reptiles_notify_webservice" />
+ </target>
+
+ <target name="quickstart-specific-clean">
+ <delete dir="03_High_Price/classes" />
+ <delete dir="04_Reptiles_notify_webservice/WEB-INF/classes" />
+ </target>
+
+</project>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/docs)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/02_Low_Price.gif
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/02_Low_Price.gif (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/docs/02_Low_Price.gif)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/Overview.odp
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/Overview.odp (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/docs/Overview.odp)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/Overview.png
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/Overview.png (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/docs/Overview.png)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/datasource-vafter.gif
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/datasource-vafter.gif (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/docs/datasource-vafter.gif)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/datasource-vbefore.gif
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/datasource-vbefore.gif (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/docs/datasource-vbefore.gif)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/source-model.gif
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/docs/source-model.gif (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/docs/source-model.gif)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/jbm-queue-service.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbm-queue-service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_HugeSplitTransRoute_02_XML"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_HugeSplitTransRoute_JavaObjects"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-</server>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbm-queue-service.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/jbm-queue-service.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbm-queue-service.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbm-queue-service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_HugeSplitTransRoute_02_XML"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_HugeSplitTransRoute_JavaObjects"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbmq-queue-service.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/jbmq-queue-service.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbmq-queue-service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_HugeSplitTransRoute_02_XML">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_HugeSplitTransRoute_JavaObjects">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
-</server>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbmq-queue-service.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/jbmq-queue-service.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbmq-queue-service.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbmq-queue-service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_HugeSplitTransRoute_02_XML">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_HugeSplitTransRoute_JavaObjects">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+</server>
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbossesb-properties.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/jbossesb-properties.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbossesb-properties.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,85 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2006, JBoss Inc., and others contributors as indicated
- by the @authors tag. All rights reserved.
- See the copyright.txt in the distribution for a
- full listing of individual contributors.
- This copyrighted material is made available to anyone wishing to use,
- modify, copy, or redistribute it subject to the terms and conditions
- of the GNU Lesser General Public License, v. 2.1.
- This program is distributed in the hope that it will be useful, but WITHOUT A
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- You should have received a copy of the GNU Lesser General Public License,
- v.2.1 along with this distribution; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- (C) 2005-2006,
- @author JBoss Inc.
--->
-<!-- $Id: jbossesb-unittest-properties.xml $ -->
-<!--
- These options are described in the JBossESB manual.
- Defaults are provided here for convenience only.
-
- Please read through this file prior to using the system, and consider
- updating the specified entries.
--->
-<esb
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="jbossesb-1_0.xsd">
- <properties name="core">
- <property name="org.jboss.soa.esb.jndi.server.type" value="jboss"/>
- <property name="org.jboss.soa.esb.jndi.server.url" value="localhost"/>
- <property name="org.jboss.soa.esb.persistence.connection.factory" value="org.jboss.internal.soa.esb.persistence.format.MessageStoreFactoryImpl"/>
- </properties>
- <properties name="registry">
- <property name="org.jboss.soa.esb.registry.queryManagerURI"
- value="jnp://localhost:1099/InquiryService?org.apache.juddi.registry.rmi.Inquiry#inquire"/>
- <property name="org.jboss.soa.esb.registry.lifeCycleManagerURI"
- value="jnp://localhost:1099/PublishService?org.apache.juddi.registry.rmi.Publish#publish" />
- <property name="org.jboss.soa.esb.registry.implementationClass"
- value="org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl"/>
- <property name="org.jboss.soa.esb.registry.factoryClass"
- value="org.apache.ws.scout.registry.ConnectionFactoryImpl"/>
- <property name="org.jboss.soa.esb.registry.user"
- value="jbossesb"/>
- <property name="org.jboss.soa.esb.registry.password"
- value="password"/>
- <!-- the following parameter is scout specific to set the type of communication between scout and the UDDI (embedded, rmi, soap) -->
- <property name="org.jboss.soa.esb.scout.proxy.transportClass"
- value="org.apache.ws.scout.transport.RMITransport"/>
- </properties>
- <properties name="transports" depends="core">
- <property name="org.jboss.soa.esb.mail.smtp.host" value="localhost"/>
- <property name="org.jboss.soa.esb.mail.smtp.user" value="jbossesb"/>
- <property name="org.jboss.soa.esb.mail.smtp.password" value=""/>
- <property name="org.jboss.soa.esb.mail.smtp.port" value="25"/>
- </properties>
- <properties name="connection">
- <property name="min-pool-size" value="5"/>
- <property name="max-pool=size" value="10"/>
- <property name="blocking-timeout-millis" value="5000"/>
- <property name="abandoned-connection-timeout" value="10000"/>
- <property name="abandoned-connection-time-interval" value="30000"/>
- </properties>
- <properties name="dbstore">
- <property name="org.jboss.soa.esb.persistence.db.connection.url" value="jdbc:hsqldb:hsql://localhost:9001/"/>
- <property name="org.jboss.soa.esb.persistence.db.jdbc.driver" value="org.hsqldb.jdbcDriver"/>
- <property name="org.jboss.soa.esb.persistence.db.user" value="sa"/>
- <property name="org.jboss.soa.esb.persistence.db.pwd" value=""/>
- <property name="org.jboss.soa.esb.persistence.db.pool.initial.size" value="2"/>
- <property name="org.jboss.soa.esb.persistence.db.pool.min.size" value="2"/>
- <property name="org.jboss.soa.esb.persistence.db.pool.max.size" value="5"/>
- <!--table managed by pool to test for valid connections - created by pool automatically -->
- <property name="org.jboss.soa.esb.persistence.db.pool.test.table" value="pooltest"/>
- <!-- # of milliseconds to timeout waiting for a connection from pool -->
- <property name="org.jboss.soa.esb.persistence.db.pool.timeout.millis" value="5000"/>
- <property name="org.jboss.soa.esb.persistence.db.conn.manager" value="org.jboss.internal.soa.esb.persistence.manager.StandaloneConnectionManager"/>
- </properties>
- <properties name="messagerouting">
- <property name="org.jboss.soa.esb.routing.cbrClass" value="org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter"/>
- </properties>
-</esb>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbossesb-properties.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/jbossesb-properties.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbossesb-properties.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jbossesb-properties.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2006, JBoss Inc., and others contributors as indicated
+ by the @authors tag. All rights reserved.
+ See the copyright.txt in the distribution for a
+ full listing of individual contributors.
+ This copyrighted material is made available to anyone wishing to use,
+ modify, copy, or redistribute it subject to the terms and conditions
+ of the GNU Lesser General Public License, v. 2.1.
+ This program is distributed in the hope that it will be useful, but WITHOUT A
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ You should have received a copy of the GNU Lesser General Public License,
+ v.2.1 along with this distribution; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ MA 02110-1301, USA.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<!-- $Id: jbossesb-unittest-properties.xml $ -->
+<!--
+ These options are described in the JBossESB manual.
+ Defaults are provided here for convenience only.
+
+ Please read through this file prior to using the system, and consider
+ updating the specified entries.
+-->
+<esb
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="jbossesb-1_0.xsd">
+ <properties name="core">
+ <property name="org.jboss.soa.esb.jndi.server.type" value="jboss"/>
+ <property name="org.jboss.soa.esb.jndi.server.url" value="localhost"/>
+ <property name="org.jboss.soa.esb.persistence.connection.factory" value="org.jboss.internal.soa.esb.persistence.format.MessageStoreFactoryImpl"/>
+ </properties>
+ <properties name="registry">
+ <property name="org.jboss.soa.esb.registry.queryManagerURI"
+ value="jnp://localhost:1099/InquiryService?org.apache.juddi.registry.rmi.Inquiry#inquire"/>
+ <property name="org.jboss.soa.esb.registry.lifeCycleManagerURI"
+ value="jnp://localhost:1099/PublishService?org.apache.juddi.registry.rmi.Publish#publish" />
+ <property name="org.jboss.soa.esb.registry.implementationClass"
+ value="org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl"/>
+ <property name="org.jboss.soa.esb.registry.factoryClass"
+ value="org.apache.ws.scout.registry.ConnectionFactoryImpl"/>
+ <property name="org.jboss.soa.esb.registry.user"
+ value="jbossesb"/>
+ <property name="org.jboss.soa.esb.registry.password"
+ value="password"/>
+ <!-- the following parameter is scout specific to set the type of communication between scout and the UDDI (embedded, rmi, soap) -->
+ <property name="org.jboss.soa.esb.scout.proxy.transportClass"
+ value="org.apache.ws.scout.transport.RMITransport"/>
+ </properties>
+ <properties name="transports" depends="core">
+ <property name="org.jboss.soa.esb.mail.smtp.host" value="localhost"/>
+ <property name="org.jboss.soa.esb.mail.smtp.user" value="jbossesb"/>
+ <property name="org.jboss.soa.esb.mail.smtp.password" value=""/>
+ <property name="org.jboss.soa.esb.mail.smtp.port" value="25"/>
+ </properties>
+ <properties name="connection">
+ <property name="min-pool-size" value="5"/>
+ <property name="max-pool=size" value="10"/>
+ <property name="blocking-timeout-millis" value="5000"/>
+ <property name="abandoned-connection-timeout" value="10000"/>
+ <property name="abandoned-connection-time-interval" value="30000"/>
+ </properties>
+ <properties name="dbstore">
+ <property name="org.jboss.soa.esb.persistence.db.connection.url" value="jdbc:hsqldb:hsql://localhost:9001/"/>
+ <property name="org.jboss.soa.esb.persistence.db.jdbc.driver" value="org.hsqldb.jdbcDriver"/>
+ <property name="org.jboss.soa.esb.persistence.db.user" value="sa"/>
+ <property name="org.jboss.soa.esb.persistence.db.pwd" value=""/>
+ <property name="org.jboss.soa.esb.persistence.db.pool.initial.size" value="2"/>
+ <property name="org.jboss.soa.esb.persistence.db.pool.min.size" value="2"/>
+ <property name="org.jboss.soa.esb.persistence.db.pool.max.size" value="5"/>
+ <!--table managed by pool to test for valid connections - created by pool automatically -->
+ <property name="org.jboss.soa.esb.persistence.db.pool.test.table" value="pooltest"/>
+ <!-- # of milliseconds to timeout waiting for a connection from pool -->
+ <property name="org.jboss.soa.esb.persistence.db.pool.timeout.millis" value="5000"/>
+ <property name="org.jboss.soa.esb.persistence.db.conn.manager" value="org.jboss.internal.soa.esb.persistence.manager.StandaloneConnectionManager"/>
+ </properties>
+ <properties name="messagerouting">
+ <property name="org.jboss.soa.esb.routing.cbrClass" value="org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter"/>
+ </properties>
+</esb>
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jndi.properties
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/jndi.properties 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jndi.properties 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,5 +0,0 @@
-java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
-java.naming.provider.url=jnp://localhost:1099
-java.naming.factory.url.pkgs=org.jboss.naming
-java.naming.factory.url.pkgs=org.jnp.interfaces
-
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jndi.properties (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/jndi.properties)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jndi.properties (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/jndi.properties 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,5 @@
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.provider.url=jnp://localhost:1099
+java.naming.factory.url.pkgs=org.jboss.naming
+java.naming.factory.url.pkgs=org.jnp.interfaces
+
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/juddi.properties
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/juddi.properties 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/juddi.properties 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,69 +0,0 @@
-# jUDDI Registry Properties (used by RegistryServer)
-# see http://www.juddi.org for more information
-
-# The UDDI Operator Name
-juddi.operatorName = jUDDI.org
-
-# The i18n locale default codes
-juddi.i18n.languageCode = en
-juddi.i18n.countryCode = US
-
-# The UDDI DiscoveryURL Prefix
-juddi.discoveryURL = http://localhost:8080/juddi/uddiget.jsp?
-
-# The UDDI Operator Contact Email Address
-juddi.operatorEmailAddress = admin at juddi.org
-
-# The maximum name size and maximum number
-# of name elements allows in several of the
-# FindXxxx and SaveXxxx UDDI functions.
-juddi.maxNameLength=255
-juddi.maxNameElementsAllowed=5
-
-# The maximum number of UDDI artifacts allowed
-# per publisher. A value of '-1' indicates any
-# number of artifacts is valid (These values can be
-# overridden at the individual publisher level).
-juddi.maxBusinessesPerPublisher=25
-juddi.maxServicesPerBusiness=20
-juddi.maxBindingsPerService=10
-juddi.maxTModelsPerPublisher=100
-
-# jUDDI Authentication module to use
-juddi.auth = org.apache.juddi.auth.DefaultAuthenticator
-
-# jUDDI DataStore module currently to use
-juddi.dataStore = org.apache.juddi.datastore.jdbc.JDBCDataStore
-
-# use a dataSource (if set to false a direct
-# jdbc connection will be used.
-juddi.isUseDataSource=false
-juddi.jdbcDriver=com.mysql.jdbc.Driver
-juddi.jdbcUrl=jdbc:mysql://localhost:3306/juddi
-juddi.jdbcUsername=root
-juddi.jdbcPassword=admin
-# jUDDI DataSource to use
-# juddi.dataSource=java:comp/env/jdbc/MySqlDS
-
-# jUDDI UUIDGen implementation to use
-juddi.uuidgen = org.apache.juddi.uuidgen.DefaultUUIDGen
-
-# jUDDI Cryptor implementation to use
-juddi.cryptor = org.apache.juddi.cryptor.DefaultCryptor
-
-# jUDDI Validator to use
-juddi.validator=org.apache.juddi.validator.DefaultValidator
-
-# jUDDI Proxy Properties (used by RegistryProxy)
-juddi.proxy.adminURL = http://localhost:8080/juddi/admin
-juddi.proxy.inquiryURL = http://localhost:8080/juddi/inquiry
-juddi.proxy.publishURL = http://localhost:8080/juddi/publish
-juddi.proxy.transportClass = org.apache.juddi.proxy.AxisTransport
-juddi.proxy.securityProvider = com.sun.net.ssl.internal.ssl.Provider
-juddi.proxy.protocolHandler = com.sun.net.ssl.internal.www.protocol
-
-# JNDI settings (used by RMITransport)
-java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
-java.naming.provider.url=jnp://localhost:1099
-java.naming.factory.url.pkgs=org.jboss.naming
-
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/juddi.properties (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/juddi.properties)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/juddi.properties (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/juddi.properties 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,69 @@
+# jUDDI Registry Properties (used by RegistryServer)
+# see http://www.juddi.org for more information
+
+# The UDDI Operator Name
+juddi.operatorName = jUDDI.org
+
+# The i18n locale default codes
+juddi.i18n.languageCode = en
+juddi.i18n.countryCode = US
+
+# The UDDI DiscoveryURL Prefix
+juddi.discoveryURL = http://localhost:8080/juddi/uddiget.jsp?
+
+# The UDDI Operator Contact Email Address
+juddi.operatorEmailAddress = admin at juddi.org
+
+# The maximum name size and maximum number
+# of name elements allows in several of the
+# FindXxxx and SaveXxxx UDDI functions.
+juddi.maxNameLength=255
+juddi.maxNameElementsAllowed=5
+
+# The maximum number of UDDI artifacts allowed
+# per publisher. A value of '-1' indicates any
+# number of artifacts is valid (These values can be
+# overridden at the individual publisher level).
+juddi.maxBusinessesPerPublisher=25
+juddi.maxServicesPerBusiness=20
+juddi.maxBindingsPerService=10
+juddi.maxTModelsPerPublisher=100
+
+# jUDDI Authentication module to use
+juddi.auth = org.apache.juddi.auth.DefaultAuthenticator
+
+# jUDDI DataStore module currently to use
+juddi.dataStore = org.apache.juddi.datastore.jdbc.JDBCDataStore
+
+# use a dataSource (if set to false a direct
+# jdbc connection will be used.
+juddi.isUseDataSource=false
+juddi.jdbcDriver=com.mysql.jdbc.Driver
+juddi.jdbcUrl=jdbc:mysql://localhost:3306/juddi
+juddi.jdbcUsername=root
+juddi.jdbcPassword=admin
+# jUDDI DataSource to use
+# juddi.dataSource=java:comp/env/jdbc/MySqlDS
+
+# jUDDI UUIDGen implementation to use
+juddi.uuidgen = org.apache.juddi.uuidgen.DefaultUUIDGen
+
+# jUDDI Cryptor implementation to use
+juddi.cryptor = org.apache.juddi.cryptor.DefaultCryptor
+
+# jUDDI Validator to use
+juddi.validator=org.apache.juddi.validator.DefaultValidator
+
+# jUDDI Proxy Properties (used by RegistryProxy)
+juddi.proxy.adminURL = http://localhost:8080/juddi/admin
+juddi.proxy.inquiryURL = http://localhost:8080/juddi/inquiry
+juddi.proxy.publishURL = http://localhost:8080/juddi/publish
+juddi.proxy.transportClass = org.apache.juddi.proxy.AxisTransport
+juddi.proxy.securityProvider = com.sun.net.ssl.internal.ssl.Provider
+juddi.proxy.protocolHandler = com.sun.net.ssl.internal.www.protocol
+
+# JNDI settings (used by RMITransport)
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.provider.url=jnp://localhost:1099
+java.naming.factory.url.pkgs=org.jboss.naming
+
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/log4j.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/log4j.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/log4j.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
-
-<!-- ===================================================================== -->
-<!-- -->
-<!-- Log4j Configuration -->
-<!-- -->
-<!-- ===================================================================== -->
-
-<!-- $Id: log4j.xml,v 1.26.2.5 2005/09/15 09:31:02 dimitris Exp $ -->
-
-<!--
- | For more configuration infromation and examples see the Jakarta Log4j
- | owebsite: http://jakarta.apache.org/log4j
- -->
-
-<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
-
- <!-- ============================== -->
- <!-- Append messages to the console -->
- <!-- ============================== -->
-
- <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="Target" value="System.out"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <!-- The default pattern: Date Priority [Category] Message\n -->
- <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%t][%c{1}] %m%n"/>
- </layout>
- </appender>
-
- <!-- ================================= -->
- <!-- Preserve messages in a local file -->
- <!-- ================================= -->
-
- <!-- A size based file rolling appender -->
- <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="File" value="./listener.log"/>
- <param name="Append" value="false"/>
- <param name="MaxFileSize" value="500KB"/>
- <param name="MaxBackupIndex" value="1"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d %-5p [%t][%c] %m%n"/>
- </layout>
- </appender>
-
- <!-- ================ -->
- <!-- Limit categories -->
- <!-- ================ -->
-
- <category name="org">
- <priority value="INFO"/>
- </category>
- <category name="org.jboss">
- <priority value="WARN"/>
- </category>
- <category name="org.jboss.soa.esb">
- <priority value="INFO"/>
- </category>
- <category name="org.jboss.internal.soa.esb">
- <priority value="ERROR"/>
- </category>
- <category name="org.apache">
- <priority value="ERROR"/>
- </category>
- <category name="quickstart">
- <priority value="INFO"/>
- </category>
- <!-- ======================= -->
- <!-- Setup the Root category -->
- <!-- ======================= -->
-
- <root>
- <appender-ref ref="CONSOLE"/>
- <appender-ref ref="FILE"/>
- </root>
-
-</log4j:configuration>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/log4j.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/log4j.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/log4j.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/log4j.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.26.2.5 2005/09/15 09:31:02 dimitris Exp $ -->
+
+<!--
+ | For more configuration infromation and examples see the Jakarta Log4j
+ | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="Target" value="System.out"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%t][%c{1}] %m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ================================= -->
+ <!-- Preserve messages in a local file -->
+ <!-- ================================= -->
+
+ <!-- A size based file rolling appender -->
+ <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="File" value="./listener.log"/>
+ <param name="Append" value="false"/>
+ <param name="MaxFileSize" value="500KB"/>
+ <param name="MaxBackupIndex" value="1"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%t][%c] %m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <category name="org">
+ <priority value="INFO"/>
+ </category>
+ <category name="org.jboss">
+ <priority value="WARN"/>
+ </category>
+ <category name="org.jboss.soa.esb">
+ <priority value="INFO"/>
+ </category>
+ <category name="org.jboss.internal.soa.esb">
+ <priority value="ERROR"/>
+ </category>
+ <category name="org.apache">
+ <priority value="ERROR"/>
+ </category>
+ <category name="quickstart">
+ <priority value="INFO"/>
+ </category>
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/src)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/src/org)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/MessageGenerator.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/MessageGenerator.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/MessageGenerator.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,72 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.soa.esb.example;
-
-import java.io.File;
-import java.io.FileWriter;
-import java.io.IOException;
-import java.util.Arrays;
-import java.util.List;
-import java.util.Random;
-
-/**
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
-public class MessageGenerator {
-
- public static void main(String[] args) throws IOException {
- long start = System.currentTimeMillis();
-
- if(args.length != 1) {
- throw new RuntimeException("Must be a single 'numOrderItems' arg.");
- }
-
- int numOrderItems = Integer.parseInt(args[0].trim());
-
- File outFileFile = new File("build/xxx." + start + ".xxx");
- FileWriter messageFile = new FileWriter(outFileFile);
- try {
- messageFile.write("HDR*" + start + "*0*Wed Nov 15 13:45:28 EST 2006\n");
- messageFile.write("CUS*ACID\n");
-
- Random random = new Random();
- for (int i = 0; i < numOrderItems; i++) {
- String productId = products.get(random.nextInt(products.size()));
-
- messageFile.write("ORD*" + i + "*" + (random.nextInt(5) + 1) + "*" + productId + "\n");
- messageFile.flush();
- }
- } finally {
- messageFile.flush();
- messageFile.close();
-
- outFileFile.renameTo(new File("build/" + start + ".edi"));
- System.out.println("Finished. Took " + ((System.currentTimeMillis() - start) / 1000) + " seconds");
- }
- }
-
- private static List<String> products;
-
- static {
- products = Arrays.asList(
- new String[] {"FI-SW-01", "FI-SW-02", "FI-FW-01", "FI-FW-02", "K9-BD-01", "K9-PO-02", "K9-DL-01", "K9-RT-01", "K9-RT-02", "K9-CW-01", "RP-SN-01", "RP-LI-02", "FL-DSH-01", "FL-DLH-02", "AV-CB-01", "AV-SB-02"}
- );
- }
-}
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/MessageGenerator.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/MessageGenerator.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/MessageGenerator.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/MessageGenerator.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,72 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.example;
+
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.util.Arrays;
+import java.util.List;
+import java.util.Random;
+
+/**
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class MessageGenerator {
+
+ public static void main(String[] args) throws IOException {
+ long start = System.currentTimeMillis();
+
+ if(args.length != 1) {
+ throw new RuntimeException("Must be a single 'numOrderItems' arg.");
+ }
+
+ int numOrderItems = Integer.parseInt(args[0].trim());
+
+ File outFileFile = new File("build/xxx." + start + ".xxx");
+ FileWriter messageFile = new FileWriter(outFileFile);
+ try {
+ messageFile.write("HDR*" + start + "*0*Wed Nov 15 13:45:28 EST 2006\n");
+ messageFile.write("CUS*ACID\n");
+
+ Random random = new Random();
+ for (int i = 0; i < numOrderItems; i++) {
+ String productId = products.get(random.nextInt(products.size()));
+
+ messageFile.write("ORD*" + i + "*" + (random.nextInt(5) + 1) + "*" + productId + "\n");
+ messageFile.flush();
+ }
+ } finally {
+ messageFile.flush();
+ messageFile.close();
+
+ outFileFile.renameTo(new File("build/" + start + ".edi"));
+ System.out.println("Finished. Took " + ((System.currentTimeMillis() - start) / 1000) + " seconds");
+ }
+ }
+
+ private static List<String> products;
+
+ static {
+ products = Arrays.asList(
+ new String[] {"FI-SW-01", "FI-SW-02", "FI-FW-01", "FI-FW-02", "K9-BD-01", "K9-PO-02", "K9-DL-01", "K9-RT-01", "K9-RT-02", "K9-CW-01", "RP-SN-01", "RP-LI-02", "FL-DSH-01", "FL-DLH-02", "AV-CB-01", "AV-SB-02"}
+ );
+ }
+}
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintMessage.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintMessage.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintMessage.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,54 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.soa.esb.example;
-
-import org.apache.log4j.Logger;
-import org.jboss.soa.esb.actions.AbstractActionPipelineProcessor;
-import org.jboss.soa.esb.actions.ActionProcessingException;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.message.Message;
-
-/**
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
-public class PrintMessage extends AbstractActionPipelineProcessor {
- private int delay;
-
- public PrintMessage(ConfigTree config) {
- delay = Integer.parseInt(config.getAttribute("delay", "100"));
- }
-
- public Message process(Message message) throws ActionProcessingException {
-
- System.out.println("--------Message Received-----------");
- Object payload = message.getBody().get();
- System.out.println(payload.getClass().getName() + ":");
- System.out.println(payload);
- System.out.println("-----------------------------------");
-
- try {
- Thread.sleep(delay);
- } catch (InterruptedException e) {
- // ignore it
- }
-
- return message;
- }
-}
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintMessage.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintMessage.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintMessage.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintMessage.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,54 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.example;
+
+import org.apache.log4j.Logger;
+import org.jboss.soa.esb.actions.AbstractActionPipelineProcessor;
+import org.jboss.soa.esb.actions.ActionProcessingException;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+
+/**
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class PrintMessage extends AbstractActionPipelineProcessor {
+ private int delay;
+
+ public PrintMessage(ConfigTree config) {
+ delay = Integer.parseInt(config.getAttribute("delay", "100"));
+ }
+
+ public Message process(Message message) throws ActionProcessingException {
+
+ System.out.println("--------Message Received-----------");
+ Object payload = message.getBody().get();
+ System.out.println(payload.getClass().getName() + ":");
+ System.out.println(payload);
+ System.out.println("-----------------------------------");
+
+ try {
+ Thread.sleep(delay);
+ } catch (InterruptedException e) {
+ // ignore it
+ }
+
+ return message;
+ }
+}
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintVisitor.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintVisitor.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintVisitor.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,41 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.soa.esb.example;
-
-import org.milyn.SmooksException;
-import org.milyn.cdr.annotation.ConfigParam;
-import org.milyn.container.ExecutionContext;
-import org.milyn.delivery.sax.SAXElement;
-import org.milyn.delivery.sax.SAXVisitBefore;
-
-import java.io.IOException;
-
-/**
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
-public class PrintVisitor implements SAXVisitBefore {
-
- @ConfigParam
- private String message;
-
- public void visitBefore(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException {
- System.out.println(element + ": " + message);
- }
-}
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintVisitor.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintVisitor.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintVisitor.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/huge-split-enrich-transform-route/src/org/jboss/soa/esb/example/PrintVisitor.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.example;
+
+import org.milyn.SmooksException;
+import org.milyn.cdr.annotation.ConfigParam;
+import org.milyn.container.ExecutionContext;
+import org.milyn.delivery.sax.SAXElement;
+import org.milyn.delivery.sax.SAXVisitBefore;
+
+import java.io.IOException;
+
+/**
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class PrintVisitor implements SAXVisitBefore {
+
+ @ConfigParam
+ private String message;
+
+ public void visitBefore(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException {
+ System.out.println(element + ": " + message);
+ }
+}
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -4,6 +4,8 @@
${ant.project.name}
${line.separator}
</description>
+
+ <property name="additional.deploys" value="messaging-db-users-service.xml" />
<!-- Import the base Ant build script... -->
<import file="../conf/base-build.xml"/>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/deployment.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/deployment.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/deployment.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,4 +1,5 @@
<jbossesb-deployment>
<depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_jms_secured_Request_esb</depends>
<depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_jms_secured_Request_gw</depends>
+ <depends>jboss.messaging:service=JMSSecuredQuickstartUserManager</depends>
</jbossesb-deployment>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,10 +2,7 @@
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMessaging" connection-factory="ConnectionFactory"
- jndi-URL="jnp://127.0.0.1:1099" jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-pkg-prefix="org.jboss.naming:org.jnp.interfaces">
-
+ <jms-provider name="JBossMessaging" connection-factory="ConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter
dest-type="QUEUE"
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/messaging-db-users-service.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/samples/quickstarts/jms_secured/messaging-db-users-service.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/messaging-db-users-service.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/messaging-db-users-service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+
+ <mbean code="org.jboss.jms.server.plugin.JDBCJMSUserManagerService"
+ name="jboss.messaging:service=JMSSecuredQuickstartUserManager"
+ xmbean-dd="xmdesc/JMSUserManager-xmbean.xml">
+
+ <depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
+
+ <depends optional-attribute-name="TransactionManager">jboss:service=TransactionManager</depends>
+
+ <attribute name="DataSource">java:/DefaultDS</attribute>
+
+ <attribute name="CreateTablesOnStartup">true</attribute>
+
+ <attribute name="SqlProperties"><![CDATA[
+POPULATE.TABLES.1 = INSERT INTO JBM_USER (USER_ID, PASSWD) VALUES ('esbuser', 'esbpassword')
+POPULATE.TABLES.2 = INSERT INTO JBM_USER (USER_ID, PASSWD) VALUES ('gatewayuser', 'gwpassword')
+POPULATE.TABLES.3 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('esbrole','esbuser')
+POPULATE.TABLES.4 = INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('gatewayrole','gatewayuser')
+ ]]></attribute>
+ </mbean>
+
+</server>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/readme.txt
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/readme.txt 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_secured/readme.txt 2008-07-07 16:11:35 UTC (rev 20943)
@@ -49,5 +49,10 @@
3. jboss-esb.xml
The message-filter for the jms-bus now specifies 'jms-security-principal' and
'jms-security-credential'
-
-
+ 4. messaging-users.properties and messaging-roles.properties
+ Simple properties files which are used when JBoss Messaging is configured for property file
+ based authentication. These files are copied to the conf/props directory of the jbossesb server
+ in use.
+ 5. messaging-db-users.properties
+ Is a jboss service that insert users and roles into the JBoss Messaging database. This is only used when JBoss
+ Messaging is configured to use a database for managing users and roles.
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_topic/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_topic/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_topic/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -13,10 +13,7 @@
<providers>
- <jms-provider name="JMS" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
-
+ <jms-provider name="JMS" connection-factory="ConnectionFactory">
<jms-bus busid="quickstart-topic">
<jms-message-filter dest-type="TOPIC" dest-name="topic/quickstart_jmstopic_topic"/>
</jms-bus>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -5,21 +5,11 @@
${line.separator}
</description>
- <property name="additional.deploys" value="jbossesb-service.xml" />
+ <property name="additional.deploys" value="jbossesb-service.xml quickstart-ds.xml" />
<!-- Import the base Ant build script... -->
<import file="../conf/base-build.xml"/>
- <target name="quickstart-specific-deploys">
- <copy file="quickstart-ds.xml"
- todir="${org.jboss.esb.server.deploy.dir}"
- overwrite="false"/>
- </target>
-
- <target name="quickstart-specific-undeploys">
- <delete file="${org.jboss.esb.server.deploy.dir}/quickstart-ds.xml"/>
- </target>
-
<target name="runtest" depends="compile"
description="sends a JMS message to queue/quickstart_jms_transacted_Request_gw">
<echo>Runs Test JMS Sender</echo>
@@ -27,16 +17,19 @@
<arg value="Hello Transacted JMS World]"/>
<classpath refid="exec-classpath"/>
</java>
+ <sleep milliseconds="4000"/>
+ <antcall target="select"/>
+ <antcall target="truncate"/>
</target>
- <target name="select" depends="dependencies" description="select * from jsm_transacted_table">
+ <target name="select">
<property name="hsqldb.jar"
value="${org.jboss.esb.server.home}/server/${org.jboss.esb.server.config}/lib/hsqldb.jar"/>
<echo>Select * from jms_transacted_table</echo>
<sql
print="true"
driver="org.hsqldb.jdbcDriver"
- url="jdbc:hsqldb:hsql://localhost:1703"
+ url="jdbc:hsqldb:hsql://localhost:1706"
userid="sa"
autocommit="true"
password="">
@@ -50,14 +43,14 @@
</target>
- <target name="truncate" depends="dependencies" description="delete from jms_transacted_table">
+ <target name="truncate">
<property name="hsqldb.jar"
value="${org.jboss.esb.server.home}/server/${org.jboss.esb.server.config}/lib/hsqldb.jar"/>
- <echo>Delete from jms_transacted_table </echo>
+ <echo>(clean up) Delete from jms_transacted_table </echo>
<sql
print="true"
driver="org.hsqldb.jdbcDriver"
- url="jdbc:hsqldb:hsql://localhost:1703"
+ url="jdbc:hsqldb:hsql://localhost:1706"
userid="sa"
autocommit="true"
password="">
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/deployment.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/deployment.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/deployment.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,4 +1,5 @@
<jbossesb-deployment>
<depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_jms_transacted_Request_esb</depends>
<depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_jms_transacted_Request_gw</depends>
+ <depends>jboss.esb:service=JmsTransactedDatabaseInitializer</depends>
</jbossesb-deployment>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,10 +2,7 @@
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5">
<providers>
- <jms-jca-provider name="JBossMessaging" connection-factory="XAConnectionFactory"
- jndi-URL="jnp://127.0.0.1:1099" jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-pkg-prefix="org.jboss.naming:org.jnp.interfaces">
-
+ <jms-jca-provider name="JBossMessaging" connection-factory="XAConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter
dest-type="QUEUE"
@@ -42,12 +39,12 @@
<actions mep="OneWay">
<action name="printMessage" class="org.jboss.soa.esb.actions.SystemPrintln">
- <property name="message" value="JMS Transacted Quickstart start..."/>
+ <property name="message" value="JMS Transacted Quickstart enter. Message body"/>
<property name="printfull" value="false"/>
</action>
<action name="insertDBAction" class="org.jboss.soa.esb.samples.quickstart.jmstransacted.test.DBInsertAction">
- <property name="datasource-name" value="java:QuickstartDS"/>
+ <property name="datasource-name" value="java:JmsTransactedDB"/>
<property name="db-insert-sql" value="insert into jms_transacted_table(data_column) values(?)"/>
</action>
@@ -58,7 +55,7 @@
<action name="throwExceptionAction" class="org.jboss.soa.esb.samples.quickstart.jmstransacted.test.ThrowExceptionAction"/>
<action name="printMessageDone" class="org.jboss.soa.esb.actions.SystemPrintln">
- <property name="message" value="JMS Transacted Quickstart processed sucessfully"/>
+ <property name="message" value="JMS Transacted Quickstart processed sucessfully. Message body"/>
<property name="printfull" value="false"/>
</action>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/jbossesb-service.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/jbossesb-service.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/jbossesb-service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,12 +2,12 @@
<server>
<mbean code="org.jboss.internal.soa.esb.dependencies.DatabaseInitializer"
- name="jboss.esb:service=QuickstartDatabaseInitializer">
- <attribute name="Datasource">java:/QuickstartDS</attribute>
+ name="jboss.esb:service=JmsTransactedDatabaseInitializer">
+ <attribute name="Datasource">java:/JmsTransactedDB</attribute>
<attribute name="ExistsSql">select * from jms_transacted_table</attribute>
<attribute name="SqlFiles">
hsqldb/create.sql
</attribute>
- <depends>jboss.jca:name=QuickstartDS,service=DataSourceBinding</depends>
+ <depends>jboss.jca:name=JmsTransactedDB,service=DataSourceBinding</depends>
</mbean>
</server>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/quickstart-ds.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/quickstart-ds.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/quickstart-ds.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,24 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
- <jndi-name>QuickstartDS</jndi-name>
- <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1703</connection-url>
+ <jndi-name>JmsTransactedDB</jndi-name>
+ <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1706</connection-url>
<driver-class>org.hsqldb.jdbcDriver</driver-class>
<user-name>sa</user-name>
<password></password>
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
<idle-timeout-minutes>0</idle-timeout-minutes>
- <depends>jboss:service=Hypersonic</depends>
+ <depends>jboss:service=JmsTransactedDB</depends>
<prepared-statement-cache-size>32</prepared-statement-cache-size>
</local-tx-datasource>
- <!-- For hsqldb accessed from jboss only, in-process (standalone) mode -->
- <mbean code="org.jboss.jdbc.HypersonicDatabase"
- name="jboss:service=Hypersonic">
- <attribute name="Port">1703</attribute>
+ <mbean code="org.jboss.internal.soa.esb.dependencies.HypersonicDatabase"
+ name="jboss:service=JmsTransactedDB">
+ <attribute name="Port">1706</attribute>
<attribute name="BindAddress">${jboss.bind.address}</attribute>
- <attribute name="Database">QuickstartDB</attribute>
+ <attribute name="Database">JmsTransactedDB</attribute>
<attribute name="Silent">true</attribute>
<attribute name="Trace">false</attribute>
<attribute name="No_system_exit">true</attribute>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/readme.txt
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/readme.txt 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/jms_transacted/readme.txt 2008-07-07 16:11:35 UTC (rev 20943)
@@ -6,9 +6,9 @@
This quickstart consists of a single service that contains 4 actions:
1. Log a statement that we have entered the quickstart.
- 2. Insert the contents of the ESB Message object to a database table
+ 2. Insert the contents of the ESB Message object to a database table.
3. Call a custom action that throws an exception if the message has not
- been redelivered. (more on this later)
+ been redelivered. (more on this later)
4. Log a statement that we are about to exit the quickstart.
The main thing to look for is that the first time we enter the action processing
@@ -19,7 +19,7 @@
put back onto the queue.
For more details about how this quickstart works look at the
- "What to look at in this Quckstart" section below.
+ "What to look at in this Quickstart" section below.
This quickstart uses jms-jca-provider and more information about jms jca can
be found here: http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingJCAWithJBossESB
@@ -32,24 +32,73 @@
To Run '.esb' archive mode:
===========================
1. In a command terminal window in this folder ("Window1"), type:
- 'ant deploy'
- This will deploy the quickstart
+ 'ant deploy'
+ This will deploy the quickstart
2. Open another command terminal window in this folder ("Window2"), type:
'ant runtest'
3. Switch back to Application Server console to see the output from the ESB
4. In this folder ("Window1"), type:
- 'ant select'
- This will display the content of the database table
- 5. [optional] In this folder ("Window1"), type:
- 'ant truncate'
- This will delete the content of the database table.
- 6. In this folder ("Window1"), type:
- 'ant undeploy'
- This will undeploy the quickstart.
+ 'ant undeploy'
+ This will undeploy the quickstart.
What to look at in this Quickstart:
===================================
- 1. DBInsertAction
+
+ 1. Overall flow of this quickstart:
+ * The first time we enter the action pipleline, we insert a row into the database: (server console output below)
+ [DBInsertAction] Successfully inserted [Hello Transacted JMS World] counter[1]] into jms_transacted_table
+
+ * Next, the ThrowExceptionAction is called.
+ It checks if the ESB Message property 'javax.jms.message.redelivered'
+ is false in which case an exception is thrown, resulting in the JCA
+ adapter rolling back the transaction. This will also cause the
+ database insert in the preceding action to be rolled back.
+
+ The console output will display an error message from the
+ ActionProcessingPipeline followed by a stacktrace of the
+ generated exception. This exception is then propagated to the
+ JCA/JMS adapter which will also document the issue.
+
+ Part of the console output follows:
+ [ActionProcessingPipeline] Unexpected exception caught while
+ processing the action pipeline:
+ java.lang.IllegalStateException: [Throwing Exception to trigger a
+ transaction rollback]
+ [JmsServerSession] Unexpected error delivering message
+ delegator->JBossMessage[512]:PERSISTENT, deliveryId=1
+ java.lang.IllegalStateException: [Throwing Exception to trigger a
+ transaction rollback]
+
+ If the ESB Message property 'javax.jms.message.redelivered' is true
+ then the message will simple pass throw this action, unmodified,
+ and the action pipeline will complete normally:
+ (server console ouput below)
+ [DBInsertAction] Successfully inserted [Hello Transacted JMS World] counter[2]] into jms_transacted_table
+ [ThrowExceptionAction] [javax.jms.message.redelivered:true]
+ [STDOUT] JMS Transacted Quickstart processed sucessfully. Message body:
+
+ * Only the last insert will be committed to the database when the action pipeline successfully completes.
+ In the console output window where 'ant runtest' was run from, the output of the database table is displayed:
+ [echo] Select * from jms_transacted_table
+ [sql] Executing commands
+ [sql] DATA_COLUMN
+ [sql] Hello Transacted JMS World] counter[2]
+ [sql]
+ [sql] 0 rows affected
+ [sql] 1 of 1 SQL statements executed successfully
+ This shows that only the last insert was committed. The other was never written to the database since that transaction
+ was rolled back.
+
+ The value of counter in 'Hello Transacted JMS World] counter[2]' should always match the value in the servers console for
+ the last successfully completed execution of the action pipeline:
+ [DBInsertAction] Successfully inserted [Hello Transacted JMS World] counter[2]] into jms_transacted_table
+ [STDOUT] JMS Transacted Quickstart processed successfully. Message body:
+ [STDOUT] [Hello Transacted JMS World]].
+
+ Note that for successive runs the counter might not be 1 and 2, but by examining the server console you can see which was
+ the last value that was inserted. You may also undeploy and redploy the quickstart and the counter will be reset.
+
+ 2. org.jboss.soa.esb.samples.quickstart.jmstransacted.test.DBInsertAction
Inserts the contents of the ESB Message object into the database table
by using the sql statement defined in the property 'db-insert-sql'.
This class contains a counter that is incremented for each call. This
@@ -60,52 +109,15 @@
data is committed to the database. In a normal run, when the counter is
'1', the counter should be 2 indicating that only the second commit succeeded.
- 2. ThrowExceptionAction
- Checks if the ESB Messae property 'javax.jms.message.redelivered'
- is false, in which case an IllegalArgumentException will be thrown.
- This will will cause the message to be redelivered by JMS transaction handling.
+ 3. org.jboss.soa.esb.samples.quickstart.jmstransacted.test.ThrowExceptionAction
+ The current transaction is rolled back as a result of the action
+ handler throwing a RuntimeException (or a subclass of such) during
+ the processing method. The exception is caught by the
+ ActionProcessingPipeline but, as it is not identified as an application
+ exception, it will be propagated to the caller (in this case the
+ JMS/JCA adapter). The JMS/JCA adapter will then force the enclosing
+ transaction to rollback, resulting in the redelivery of the message.
- 3. jboss-esb.xml
+ 4. jboss-esb.xml
The message-filter for the jms-bus-filter now specifies 'transacted' attribute.
- 4. 'ant select'
- Ant target that will display all the rows in the database table.
-
- 5. 'ant truncate'
- Ant target that will delete all the rows in the database table.
- Useful to clear the table after multiple runs.
-
-
-Inside look:
-============
- 1. Transactions with JMSGateway
-
- Lets walk through a client publishing a message to a queue. The queue
- will be the queue that our gateway is configured to listen on.
-
- 1. Client publishes message to JMS queue. It can use a JMS session that
- is transacted to do so or not. It does not matter.
- 2. The gateway listener will create a JMS session, or use an existing
- session from the pool, that is transacted. While the JMS Listener
- is running it will consume a JMS message from the queue, package the
- contents of that JMS message into an ESB Message, and use a courier to
- pass the message on to the action pipeline.
-
- Commit:
- When the message has be sent to the courier, and no exception has
- been thrown, the transaction will commit and acknowledge that it
- has accepted the JMS Message.
-
- Rollback:
- But if an exception has occurred, the transaction will be rolled-back
- and the JMS message will not be acknowledged, hence it will be put
- back on the queue.
-
- Usecase for transactions in JMSGateway
- Now, this situation may seem far fetched, but one usecase for
- it might be that the task of packaging the content of the JMS
- Message into the ESB Message is a memory intensive process.
- Lets say that one of your machines is under more heavy load then others
- which could cause it to throw an OutOfMemory Exception. In this case the
- message could be picked up by another ESB instance, which hopefully
- can deal with the message.
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/load_generator/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/load_generator/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/load_generator/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -5,11 +5,7 @@
<providers>
<jms-provider name="JBossMQ"
- connection-factory="ConnectionFactory"
- jndi-URL="jnp://127.0.0.1:1099"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-pkg-prefix="org.jboss.naming:org.jnp.interfaces">
-
+ connection-factory="ConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter dest-type="QUEUE"
dest-name="queue/quickstart_load_generator_Request_gw" />
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/messagefilter/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/messagefilter/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/messagefilter/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -3,7 +3,6 @@
<providers>
<jms-provider name="JBossMessaging" connection-factory="ConnectionFactory">
-
<jms-bus busid="quickstartGwChannel">
<jms-message-filter
dest-type="QUEUE"
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/messagestore/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/messagestore/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/messagestore/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,10 +2,7 @@
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-URL="jnp://127.0.0.1:1099" jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-pkg-prefix="org.jboss.naming:org.jnp.interfaces">
-
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter
dest-type="QUEUE"
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/native_client/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/native_client/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/native_client/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -3,9 +3,7 @@
xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost" >
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="quickstartEsbChannel">
<jms-message-filter
dest-type="QUEUE"
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/scripting_groovy/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/scripting_groovy/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/scripting_groovy/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,10 +2,7 @@
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost" >
-
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter
dest-type="QUEUE"
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_CSV2XML/SampleOrder.csv
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_CSV2XML/SampleOrder.csv 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_CSV2XML/SampleOrder.csv 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,4 +1,3 @@
1,Wed Nov 15 13:45:28 EST 2006,0,59.97,64.92,4.95,user1,Harry,Fletcher,SD,1,1,364,The 40-Year-Old Virgin,29.98,2,1,299,Pulp Fiction,29.99
2,Wed Nov 15 13:45:28 EST 2007,0,60.00,64.92,4.95,user2,Kalle,Anka,SD,1,1,364,Fletch,29.98,2,1,299,Fletch Lives,29.99
3,Wed Nov 15 13:45:28 EST 2007,0,60.00,64.92,4.95,user3,Donald,Duck,SD,1,1,364,The Goonies,29.98,2,1,4,Happy Gilmor,29.99
-
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -27,8 +27,9 @@
<action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln">
<property name="message" value="[transform_EDI2XML_Groovy_XSLT] Message before transformation" />
</action>
- <action name="transform" class="org.jboss.soa.esb.actions.converters.SmooksTransformer">
- <property name="resource-config" value="/smooks-res.xml" />
+ <action name="transform" class="org.jboss.soa.esb.smooks.SmooksAction">
+ <property name="smooksConfig" value="/smooks-res.xml" />
+ <!-- property name="reportPath" value="/zap/smooks-report.html" / -->
</action>
<action name="print-after" class="org.jboss.soa.esb.actions.SystemPrintln">
<property name="message" value="[transform_EDI2XML_Groovy_XSLT] Message after transformation" />
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2POJO/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2POJO/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2POJO/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,10 +2,7 @@
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost" >
-
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter
dest-type="QUEUE"
@@ -44,9 +41,10 @@
process="displayMessage"
/>
- <action name="transform" class="org.jboss.soa.esb.actions.converters.SmooksTransformer">
- <property name="resource-config" value="/smooks-res.xml" />
- <property name="java-output-location" value="$default" />
+ <action name="transform" class="org.jboss.soa.esb.smooks.SmooksAction">
+ <property name="smooksConfig" value="/smooks-res.xml" />
+ <property name="resultType" value="JAVA" />
+ <!-- property name="reportPath" value="/zap/smooks-report.html" / -->
</action>
<action name="convertPOJO2Message" class="org.jboss.soa.esb.dvdstore.DVDStoreAction" />
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2POJO/smooks-res.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2POJO/smooks-res.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2POJO/smooks-res.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -7,40 +7,40 @@
<param name="beanId">orderHeader</param>
<param name="beanClass">org.jboss.soa.esb.dvdstore.OrderHeader</param>
<param name="bindings">
- <binding property="orderId" selector="Order @orderId" />
- <binding property="orderDate" selector="Order @orderDate" type="LongDate"/>
- <binding property="statusCode" selector="Order @statusCode" type="Integer" />
- <binding property="netAmount" selector="Order @netAmount" type="Double" />
- <binding property="totalAmount" selector="Order @totalAmount" type="Double" />
- <binding property="tax" selector="Order @tax" type="Double" />
+ <binding property="orderId" selector="Order/@orderId" />
+ <binding property="orderDate" selector="Order/@orderDate" type="LongDate"/>
+ <binding property="statusCode" selector="Order/@statusCode" type="Integer" />
+ <binding property="netAmount" selector="Order/@netAmount" type="Double" />
+ <binding property="totalAmount" selector="Order/@totalAmount" type="Double" />
+ <binding property="tax" selector="Order/@tax" type="Double" />
</param>
</resource-config>
<!-- Populate the Customer -->
- <resource-config selector="order customer">
+ <resource-config selector="order/customer">
<resource>org.milyn.javabean.BeanPopulator</resource>
<param name="beanId">customer</param>
<param name="beanClass">org.jboss.soa.esb.dvdstore.Customer</param>
<param name="bindings">
- <binding property="userName" selector="order customer @userName" />
- <binding property="firstName" selector="order customer @firstName" />
- <binding property="lastName" selector="order customer @lastName" />
- <binding property="state" selector="order customer @state" />
+ <binding property="userName" selector="order/customer/@userName" />
+ <binding property="firstName" selector="order/customer/@firstName" />
+ <binding property="lastName" selector="order/customer/@lastName" />
+ <binding property="state" selector="order/customer/@state" />
</param>
</resource-config>
<!-- Populate the OrderItem list -->
- <resource-config selector="order orderlines orderline">
+ <resource-config selector="order/orderlines/orderline">
<resource>org.milyn.javabean.BeanPopulator</resource>
<param name="beanId">orderItem</param>
<param name="beanClass">org.jboss.soa.esb.dvdstore.OrderItem</param>
<param name="addToList">true</param>
<param name="bindings">
- <binding property="position" selector="order orderlines orderline @position" type="Integer" />
- <binding property="quantity" selector="order orderlines orderline @quantity" type="Integer" />
- <binding property="productId" selector="order orderlines orderline product @productId" />
- <binding property="title" selector="order orderlines orderline product @title" />
- <binding property="price" selector="order orderlines orderline product @price" type="Double" />
+ <binding property="position" selector="order/orderlines/orderline/@position" type="Integer" />
+ <binding property="quantity" selector="order/orderlines/orderline/@quantity" type="Integer" />
+ <binding property="productId" selector="order/orderlines/orderline/product/@productId" />
+ <binding property="title" selector="order/orderlines/orderline/product/@title" />
+ <binding property="price" selector="order/orderlines/orderline/product/@price" type="Double" />
</param>
</resource-config>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/dvdstore/DVDStoreAction.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/dvdstore/DVDStoreAction.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/dvdstore/DVDStoreAction.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -21,14 +21,14 @@
package org.jboss.soa.esb.dvdstore;
-import java.util.HashMap;
-import java.util.List;
-
import org.jboss.soa.esb.actions.AbstractActionPipelineProcessor;
import org.jboss.soa.esb.actions.ActionProcessingException;
import org.jboss.soa.esb.helpers.ConfigTree;
import org.jboss.soa.esb.message.Message;
+import java.util.List;
+import java.util.Map;
+
/**
* DVD Store action.
* <p/>
@@ -43,10 +43,12 @@
public Message process(Message message) throws ActionProcessingException {
StringBuffer results = new StringBuffer();
- OrderHeader header = (OrderHeader) message.getBody().get("orderHeader");
- Customer customer = (Customer) message.getBody().get("customer");
- List orderItems = (List) message.getBody().get("orderItemList");
+ Map javaResultMap = (Map) message.getBody().get();
+ OrderHeader header = (OrderHeader) javaResultMap.get("orderHeader");
+ Customer customer = (Customer) javaResultMap.get("customer");
+ List orderItems = (List) javaResultMap.get("orderItemList");
+
results.append("Demonstrates Smooks ability to rip the XML into Objects\n");
results.append("********* DVDStoreAction - Order Value Objects Populated *********\n");
results.append("Header: " + header + "\n");
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2XML_date_manipulation/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2XML_date_manipulation/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2XML_date_manipulation/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -29,8 +29,9 @@
<property name="message"
value="[transform_XML2XML_date_manipulation] Message before transformation"/>
</action>
- <action name="transform" class="org.jboss.soa.esb.actions.converters.SmooksTransformer">
- <property name="resource-config" value="/smooks-res.xml"/>
+ <action name="transform" class="org.jboss.soa.esb.smooks.SmooksAction">
+ <property name="smooksConfig" value="/smooks-res.xml" />
+ <!-- property name="reportPath" value="/zap/smooks-report.html" / -->
</action>
<action name="print-after" class="org.jboss.soa.esb.actions.SystemPrintln">
<property name="message"
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2XML_simple/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2XML_simple/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/transform_XML2XML_simple/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -27,9 +27,10 @@
<action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln">
<property name="message" value="[transform_XML2XML_simple] Message before transformation" />
</action>
- <action name="simple-transform" class="org.jboss.soa.esb.actions.converters.SmooksTransformer">
- <property name="resource-config" value="/smooks-res.xml" />
- </action>
+ <action name="simple-transform" class="org.jboss.soa.esb.smooks.SmooksAction">
+ <property name="smooksConfig" value="/smooks-res.xml" />
+ <!-- property name="reportPath" value="/zap/smooks-report.html" / -->
+ </action>
<action name="print-after" class="org.jboss.soa.esb.actions.SystemPrintln">
<property name="message" value="[transform_XML2XML_simple] Message after transformation" />
</action>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_bpel/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_bpel/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_bpel/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -4,10 +4,7 @@
parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
-
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="OrderManagerGateway">
<jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_webservice_bpel_gw"/>
</jms-bus>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_consumer1/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_consumer1/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_consumer1/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -5,9 +5,7 @@
<providers>
<jms-provider name="JBossMQ"
- connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
+ connection-factory="ConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter
dest-type="QUEUE"
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_consumer2/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_consumer2/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_consumer2/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -5,9 +5,7 @@
<providers>
<jms-provider name="JBossMQ"
- connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
+ connection-factory="ConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter
dest-type="QUEUE"
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_mtom/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_mtom/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_mtom/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -4,9 +4,7 @@
parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="quickstartEsbChannel">
<jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_webservice_mtom_esb"/>
</jms-bus>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_producer/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_producer/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_producer/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -4,10 +4,7 @@
parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
-
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_webservice_producer_gw"/>
</jms-bus>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_wsaddressing/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_wsaddressing/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_wsaddressing/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -4,9 +4,7 @@
parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="quickstartEsbChannel">
<jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_webservice_wsa_esb"/>
</jms-bus>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_wssecurity/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_wssecurity/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/webservice_wssecurity/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -4,9 +4,7 @@
parameterReloadSecs="5">
<providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="quickstartEsbChannel">
<jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_webservice_wss_esb"/>
</jms-bus>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/wiretap/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/wiretap/jboss-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/samples/quickstarts/wiretap/jboss-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -3,7 +3,6 @@
<providers>
<jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
-
<jms-bus busid="wiretapCBRChannel">
<jms-message-filter dest-type="QUEUE" dest-name="queue/qswiretap_cbr_Request" />
</jms-bus>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/base-project-build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/base-project-build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/base-project-build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -19,8 +19,11 @@
<target name="prepare">
<mkdir dir="build/${ant.project.name}.esb/META-INF" />
<mkdir dir="build/classes" />
+ <antcall target="service-prepare"/>
</target>
+ <target name="service-prepare"/>
+
<path id="emma.libs">
<fileset dir="${esb.product.lib.ext}" includes="emma*.jar"/>
</path>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/java/org/jboss/internal/soa/esb/persistence/format/db/DBMessageStoreImpl.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/java/org/jboss/internal/soa/esb/persistence/format/db/DBMessageStoreImpl.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/java/org/jboss/internal/soa/esb/persistence/format/db/DBMessageStoreImpl.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -370,7 +370,6 @@
{
con = mgr.getConnection();
con.setAutoCommit(false);
- con.setTransactionIsolation(Connection.TRANSACTION_READ_UNCOMMITTED);
}
catch (final SQLException e)
{
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/META-INF/deployment.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/META-INF/deployment.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/META-INF/deployment.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -3,4 +3,7 @@
<depends>jboss.jca:service=DataSourceBinding,name=JBossESBDS</depends>
<depends>jboss.esb.destination:service=Queue,name=DeadMessageQueue</depends>
<depends>jboss.esb:service=MessageStoreDatabaseInitializer</depends>
+ <depends>jboss.esb.destination:service=Queue,name=DataCollectorQueue</depends>
+ <depends>jboss.esb.destination:service=Queue,name=OperationsCollectorQueue</depends>
+ <depends>jboss.esb.destination:service=Queue,name=OperationsResultCollectorQueue</depends>
</jbossesb-deployment>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/message-store-sql/mssql (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/jbossesb/src/main/resources/message-store-sql/mssql)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/message-store-sql/mssql/create_database.sql
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/jbossesb/src/main/resources/message-store-sql/mssql/create_database.sql 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/message-store-sql/mssql/create_database.sql 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,10 +0,0 @@
-
-CREATE TABLE message
-(
- uuid varchar(128) NOT NULL,
- type varchar(128) NOT NULL,
- message text NOT NULL,
- delivered varchar(10) NOT NULL,
- classification varchar(10),
- PRIMARY KEY (uuid)
-);
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/message-store-sql/mssql/create_database.sql (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/jbossesb/src/main/resources/message-store-sql/mssql/create_database.sql)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/message-store-sql/mssql/create_database.sql (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/message-store-sql/mssql/create_database.sql 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,10 @@
+
+CREATE TABLE message
+(
+ uuid varchar(128) NOT NULL,
+ type varchar(128) NOT NULL,
+ message text NOT NULL,
+ delivered varchar(10) NOT NULL,
+ classification varchar(10),
+ PRIMARY KEY (uuid)
+);
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/message-store-sql/mssql/drop_database.sql
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/jbossesb/src/main/resources/message-store-sql/mssql/drop_database.sql 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/message-store-sql/mssql/drop_database.sql 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1 +0,0 @@
-DROP TABLE message;
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/message-store-sql/mssql/drop_database.sql (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/jbossesb/src/main/resources/message-store-sql/mssql/drop_database.sql)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/message-store-sql/mssql/drop_database.sql (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbossesb/src/main/resources/message-store-sql/mssql/drop_database.sql 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1 @@
+DROP TABLE message;
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,20 +1,20 @@
<project name="jbpm-ant-task" default="build-task" basedir=".">
-
- <path id="classpath">
- <pathelement location="src/test/resources"/>
- <pathelement location="build/classes" />
- <pathelement location="build/test/classes" />
- </path>
-
-
- <target name="build-task">
+ <property name="jbpm.jar.file" location="build/jbpm-ant.jar"/>
+
+ <path id="classpath">
+ <pathelement location="src/test/resources"/>
+ <pathelement location="${basedir}/../../../lib/ext/commons-codec-1.3.jar" />
+ <pathelement location="${basedir}/../../../lib/ext/junit-4.1.jar" />
+ <pathelement location="${basedir}/../../../lib/ext/commons-httpclient.jar" />
+ <pathelement location="${ant.library.dir}/ant.jar" />
+ </path>
+
+ <target name="build-task">
<mkdir dir="build/classes"/>
- <javac srcdir="src" destdir="build/classes"
- debug="on" >
- <classpath refid="classpath" />
- </javac>
- <jar basedir="build/classes" destfile="build/jbpm-ant.jar"
- includes="**/*.class"/>
+ <javac srcdir="src" destdir="build/classes" debug="on" >
+ <classpath refid="classpath" />
+ </javac>
+ <jar basedir="build/classes" destfile="${jbpm.jar.file}" includes="**/*.class"/>
</target>
</project>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/src/org/jbpm/ant/DeployProcessToServerTask.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/src/org/jbpm/ant/DeployProcessToServerTask.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/src/org/jbpm/ant/DeployProcessToServerTask.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -29,6 +29,7 @@
import java.io.IOException;
import java.io.InputStream;
import java.net.ConnectException;
+import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
@@ -37,6 +38,14 @@
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
+import org.apache.commons.codec.binary.Base64;
+import org.apache.commons.httpclient.Cookie;
+import org.apache.commons.httpclient.Header;
+import org.apache.commons.httpclient.HttpClient;
+import org.apache.commons.httpclient.HttpException;
+import org.apache.commons.httpclient.HttpState;
+import org.apache.commons.httpclient.methods.GetMethod;
+import org.apache.commons.httpclient.methods.PostMethod;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.DirectoryScanner;
import org.apache.tools.ant.taskdefs.MatchingTask;
@@ -44,26 +53,51 @@
/**
* ant task for deploying process archives to the deployment servlet.
+ * </p>
+ * Usage:
+ * <pre>
+ * <taskdef name="deployToServer" classname="org.jbpm.ant.DeployProcessToServerTask">
+ * <classpath refid="exec-classpath"/>
+ * </taskdef>
*
+ * <deployToServer serverDeployer="jbpm-console/upload">
+ * <fileset dir="${basedir}/processDefinition" includes="*"/>
+ * </deployToServer>
+ * </pre>
+ * Optional attributes:
+ * <pre>
+ * serverName="localhost"
+ * serverPort="8080"
+ * serverDeployer="/jbpm-console/upload"
+ * process="processDefinitions/processdefinition.xml"
+ * username="username"
+ * password="password"
+ * </pre>
+ *
* @author kurt stam
+ * @author <a href="mailto:dbevenius at redhat.com">Daniel Bevenius</a>
*/
public class DeployProcessToServerTask extends MatchingTask {
private static final String boundary = "AaB03x";
- String serverName = "localhost";
+ String servername = "localhost";
String serverPort = "8080";
String serverDeployer = "/jbpm-console/upload";
String debug = null;
File process = null;
List fileSets = new ArrayList();
+ private String username;
+
+ private String password;
+
public void setServerDeployer(String serverDeployer) {
this.serverDeployer = serverDeployer;
}
public void setServerName(String serverName) {
- this.serverName = serverName;
+ this.servername = serverName;
}
public void setServerPort(String serverPort) {
@@ -77,7 +111,17 @@
public void setDebug(String debug) {
this.debug = debug;
}
+
+ public void setUsername( final String userName )
+ {
+ this.username = userName;
+ }
+ public void setPassword( final String password )
+ {
+ this.password = password;
+ }
+
public void execute() throws BuildException {
try {
if (pingServerOK()) {
@@ -95,7 +139,7 @@
if (debug!=null) {
saveParFile("debug.par", out.toByteArray());
}
- deployProcessWithServlet(serverName, serverPort, serverDeployer, out.toByteArray());
+ deployProcessWithServlet(servername, serverPort, serverDeployer, out.toByteArray());
in.close();
log("deployment complete.");
}
@@ -127,13 +171,12 @@
if (debug!=null) {
saveParFile("debug.par", byteArrayOutputStream.toByteArray());
}
- deployProcessWithServlet(serverName, serverPort, serverDeployer, byteArrayOutputStream.toByteArray());
+ deployProcessWithServlet(servername, serverPort, serverDeployer, byteArrayOutputStream.toByteArray());
log("deployment complete.");
}
}
} catch (Exception e) {
- e.printStackTrace();
- throw new BuildException( "couldn't deploy process archives : " + e.getMessage() );
+ throw new BuildException( "couldn't deploy process archives : " + e.getMessage(), e);
}
}
@@ -141,16 +184,33 @@
this.fileSets.add(fileSet);
}
- public void deployProcessWithServlet(String serverName, String serverPort, String serverDeployer, byte[] parBytes) throws Exception {
+ public void deployProcessWithServlet(final String serverName, final String serverPort, final String serverDeployer, final byte[] parBytes) throws Exception {
+ log(deployProcess(serverName, serverPort, serverDeployer, parBytes));
+ }
+
+ String deployProcess(final String serverName, final String serverPort, final String serverDeployer, final byte[] parBytes) throws Exception {
+ String sessionID = null;
+ // pass security credentials if specified.
+ boolean security = verifySecurityProperties();
+ if ( security )
+ sessionID = tryFormBasedAuthentication();
+
URL url = new URL("http://" + serverName + ":" + serverPort + serverDeployer);
- URLConnection urlConnection = url.openConnection();
+ HttpURLConnection urlConnection = (HttpURLConnection)url.openConnection();
+ urlConnection.setRequestMethod( "POST" );
urlConnection.setDoInput(true);
urlConnection.setDoOutput(true);
+ urlConnection.setAllowUserInteraction(false);
urlConnection.setUseCaches(false);
- urlConnection.setRequestProperty("Content-Type",
- "multipart/form-data; boundary=AaB03x");
- DataOutputStream dataOutputStream = new DataOutputStream(urlConnection
- .getOutputStream());
+
+ if ( sessionID != null ) // FORM based authentication
+ urlConnection.setRequestProperty( "Cookie", sessionID );
+ else // fall back to BASIC authentication
+ urlConnection.setRequestProperty( "Authorization", "Basic " + encode(username + ":" + password ) );
+
+ urlConnection.setRequestProperty("Content-Type", "multipart/form-data; boundary=AaB03x");
+
+ DataOutputStream dataOutputStream = new DataOutputStream(urlConnection.getOutputStream());
dataOutputStream.writeBytes("--" + boundary + "\r\n");
dataOutputStream.writeBytes("Content-Disposition: form-data; name=\"definition\"; filename=\"dummy.par\"\r\n");
dataOutputStream.writeBytes("Content-Type: application/x-zip-compressed\r\n\r\n");
@@ -160,14 +220,66 @@
dataOutputStream.writeBytes("\r\n--" + boundary + "--\r\n");
dataOutputStream.flush();
dataOutputStream.close();
+
InputStream inputStream = urlConnection.getInputStream();
StringBuffer result = new StringBuffer();
int read;
while ((read = inputStream.read()) != -1) {
result.append((char)read);
}
+ return result.toString() ;
}
+
+ /**
+ * Adds BASIC Authentication properties to the passed-in urlConnection.
+ *
+ * @param urlConnection
+ */
+ void addBasicSecurityCredentials( final URLConnection urlConnection )
+ {
+ urlConnection.setRequestProperty("Authorization", "Basic " + encode(username + ":" + password));
+ }
+
+ /**
+ * Try to authenticate using FORM based Authentication.
+ * If succuessful the returned String will contain the JSESSIONID.
+ *
+ * @return String The session id from the serlvet.
+ */
+ private String tryFormBasedAuthentication() throws HttpException, IOException
+ {
+ final String path ="http://" + servername + ":" + serverPort + serverDeployer;
+ String sessionId = null;
+
+ final HttpClient httpClient = new HttpClient();
+ GetMethod indexGet = new GetMethod( path );
+
+ if ( httpClient.executeMethod(indexGet) == 200 )
+ {
+
+ HttpState state = httpClient.getState();
+ Cookie[] cookies = state.getCookies();
+ for (Cookie cookie : cookies)
+ {
+ if( cookie.getName().equalsIgnoreCase("JSESSIONID") )
+ {
+ sessionId = "JSESSIONID=" + cookie.getValue();
+ }
+ }
+
+ PostMethod loginFormPost = new PostMethod( path + "/j_security_check");
+ loginFormPost.addParameter("j_username", username);
+ loginFormPost.addParameter("j_password", password);
+ httpClient.executeMethod(loginFormPost.getHostConfiguration(), loginFormPost, state);
+ Header location = loginFormPost.getResponseHeader("Location");
+ String indexURI = location.getValue();
+ GetMethod war1Index = new GetMethod(indexURI);
+ httpClient.executeMethod(war1Index.getHostConfiguration(), war1Index, state);
+ }
+ return sessionId;
+ }
+
public void addFile(ZipOutputStream zos, File file)
throws IOException
{
@@ -194,9 +306,12 @@
public boolean pingServerOK() {
URL url = null;
try {
- url = new URL("http://" + serverName + ":" + serverPort + serverDeployer);
+ url = new URL("http://" + servername + ":" + serverPort + serverDeployer);
URLConnection urlConnection = url.openConnection();
urlConnection.setDoOutput(true);
+ // pass security credentials is specified.
+ if ( verifySecurityProperties() )
+ addBasicSecurityCredentials( urlConnection );
InputStream inputStream = urlConnection.getInputStream();
StringBuffer result = new StringBuffer();
int read;
@@ -210,8 +325,26 @@
return false;
}
catch (Exception e) {
+ e.printStackTrace();
log("An unexpected exception happened while testing the server (" + url + ") connection.");
return false;
}
}
+
+ boolean verifySecurityProperties() throws BuildException
+ {
+ if ( username == null && password == null || "".equals( username ) && "".equals( password ) )
+ return false;
+
+ if ( username != null && password == null )
+ throw new BuildException( "'userName' must be accompanied with 'password'");
+ else if ( password != null && username == null )
+ throw new BuildException( "'password' must be accompanied with 'userName'");
+
+ return true;
+ }
+
+ public static String encode (String source) {
+ return new String( new Base64().encode( source.getBytes() ));
+ }
}
\ No newline at end of file
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/src/org/jbpm/ant/ProcessDeployer.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/src/org/jbpm/ant/ProcessDeployer.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/src/org/jbpm/ant/ProcessDeployer.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -48,6 +48,6 @@
zipOutputStream.close();
- dptt.deployProcessWithServlet(serverName, serverPort, serverDeployer, byteArrayOutputStream.toByteArray());
+ dptt.deployProcess(serverName, serverPort, serverDeployer, byteArrayOutputStream.toByteArray());
}
}
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/jbpm/ant-task/test)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/org (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/jbpm/ant-task/test/org)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/org/jbpm (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/jbpm/ant-task/test/org/jbpm)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/org/jbpm/ant (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/jbpm/ant-task/test/org/jbpm/ant)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/org/jbpm/ant/DeployProcessToServerTaskUnitTest.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/jbpm/ant-task/test/org/jbpm/ant/DeployProcessToServerTaskUnitTest.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/org/jbpm/ant/DeployProcessToServerTaskUnitTest.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,82 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source Copyright 2006, JBoss Inc., and
- * individual contributors as indicated by the @authors tag. See the
- * copyright.txt in the distribution for a full listing of individual
- * contributors.
- *
- * This is free software; you can redistribute it and/or modify it under the
- * terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This software is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this software; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF
- * site: http://www.fsf.org.
- */
-package org.jbpm.ant;
-
-import static org.junit.Assert.*;
-
-import org.apache.tools.ant.BuildException;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * Unit test for {@link DeployProcessToServerTask}
- * <p/>
- * @author <a href="mailto:dbevenius at redhat.com">Daniel Bevenius</a>
- *
- */
-public class DeployProcessToServerTaskUnitTest
-{
- private DeployProcessToServerTask task;
-
- private final String userName = "testuser";
- private final String password = "testpasswd";
-
- @Test ( expected = BuildException.class )
- public void showThrowIfPasswordIsNotSet()
- {
- task.setUsername( userName );
- task.verifySecurityProperties();
-
- }
-
- @Test ( expected = BuildException.class )
- public void showThrowIfUserNameIsNotSet()
- {
- task.setPassword( password );
- task.verifySecurityProperties();
- }
-
- @Test
- public void noSecurityPropeties()
- {
- boolean useSecurity = task.verifySecurityProperties();
- assertFalse ( useSecurity );
- }
-
- @Test
- public void emptyStringsSecurityPropeties()
- {
- task.setUsername( "" );
- task.setPassword( "" );
- boolean useSecurity = task.verifySecurityProperties();
- assertFalse ( useSecurity );
- }
-
- // lifecycle
-
- @Before
- public void setup()
- {
- task = new DeployProcessToServerTask();
- }
-
-}
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/org/jbpm/ant/DeployProcessToServerTaskUnitTest.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/jbpm/ant-task/test/org/jbpm/ant/DeployProcessToServerTaskUnitTest.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/org/jbpm/ant/DeployProcessToServerTaskUnitTest.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/ant-task/test/org/jbpm/ant/DeployProcessToServerTaskUnitTest.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,82 @@
+/*
+ * JBoss, Home of Professional Open Source Copyright 2006, JBoss Inc., and
+ * individual contributors as indicated by the @authors tag. See the
+ * copyright.txt in the distribution for a full listing of individual
+ * contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it under the
+ * terms of the GNU Lesser General Public License as published by the Free
+ * Software Foundation; either version 2.1 of the License, or (at your option)
+ * any later version.
+ *
+ * This software is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this software; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF
+ * site: http://www.fsf.org.
+ */
+package org.jbpm.ant;
+
+import static org.junit.Assert.*;
+
+import org.apache.tools.ant.BuildException;
+import org.junit.Before;
+import org.junit.Test;
+
+/**
+ * Unit test for {@link DeployProcessToServerTask}
+ * <p/>
+ * @author <a href="mailto:dbevenius at redhat.com">Daniel Bevenius</a>
+ *
+ */
+public class DeployProcessToServerTaskUnitTest
+{
+ private DeployProcessToServerTask task;
+
+ private final String userName = "testuser";
+ private final String password = "testpasswd";
+
+ @Test ( expected = BuildException.class )
+ public void showThrowIfPasswordIsNotSet()
+ {
+ task.setUsername( userName );
+ task.verifySecurityProperties();
+
+ }
+
+ @Test ( expected = BuildException.class )
+ public void showThrowIfUserNameIsNotSet()
+ {
+ task.setPassword( password );
+ task.verifySecurityProperties();
+ }
+
+ @Test
+ public void noSecurityPropeties()
+ {
+ boolean useSecurity = task.verifySecurityProperties();
+ assertFalse ( useSecurity );
+ }
+
+ @Test
+ public void emptyStringsSecurityPropeties()
+ {
+ task.setUsername( "" );
+ task.setPassword( "" );
+ boolean useSecurity = task.verifySecurityProperties();
+ assertFalse ( useSecurity );
+ }
+
+ // lifecycle
+
+ @Before
+ public void setup()
+ {
+ task = new DeployProcessToServerTask();
+ }
+
+}
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -4,6 +4,12 @@
<!-- Import the base Ant build script... -->
<import file="${services.base.build}"/>
+ <target name="service-prepare">
+ <ant dir="ant-task">
+ <property name="jbpm.jar.file" location="build/jbpm-ant.jar"/>
+ </ant>
+ </target>
+
<target name="test" depends="base.test"/>
-</project>
\ No newline at end of file
+</project>
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/lib/ext/jbpm-ant.jar
===================================================================
(Binary files differ)
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/src/main/resources/META-INF/deployment.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/src/main/resources/META-INF/deployment.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/src/main/resources/META-INF/deployment.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,4 +2,5 @@
<jbossesb-deployment>
<depends>jboss.esb:deployment=jbossesb.esb</depends>
<depends>jboss.jca:service=DataSourceBinding,name=JbpmDS</depends>
+ <depends>jboss.esb:service=JBPMDatabaseInitializer</depends>
</jbossesb-deployment>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/src/main/resources/jbpm-service.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/src/main/resources/jbpm-service.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/src/main/resources/jbpm-service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -8,8 +8,7 @@
<attribute name="Datasource">java:/JbpmDS</attribute>
<attribute name="ExistsSql">select * from JBPM_ID_USER</attribute>
<attribute name="SqlFiles">
- jbpm-sql/jbpm.jpdl.hsqldb.sql,
- jbpm-sql/import.sql
+ jbpm-sql/jbpm.jpdl.hsqldb.sql
</attribute>
<depends>jboss.jca:service=DataSourceBinding,name=JbpmDS</depends>
<attribute name="UseEOL">true</attribute>
@@ -17,5 +16,6 @@
<mbean code="org.jboss.soa.esb.services.jbpm.configuration.JbpmService"
name="jboss.esb:service=JbpmService">
+ <depends>jboss.esb:service=JBPMDatabaseInitializer</depends>
</mbean>
</server>
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/src/main/resources/jbpm-sql/import.sql
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/src/main/resources/jbpm-sql/import.sql 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/jbpm/src/main/resources/jbpm-sql/import.sql 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,23 +0,0 @@
-insert into JBPM_ID_USER (ID_,CLASS_,NAME_,EMAIL_,PASSWORD_) values (1,'U','user','user at sample.domain','user');
-insert into JBPM_ID_USER (ID_,CLASS_,NAME_,EMAIL_,PASSWORD_) values (2,'U','manager','manager at sample.domain','manager');
-insert into JBPM_ID_USER (ID_,CLASS_,NAME_,EMAIL_,PASSWORD_) values (3,'U','admin','admin at sample.domain','admin');
-insert into JBPM_ID_USER (ID_,CLASS_,NAME_,EMAIL_,PASSWORD_) values( 4,'U','shipper','shipper at sample.domain','shipper');
-
-insert into JBPM_ID_GROUP (ID_,CLASS_,NAME_,TYPE_) values (1,'G','sales','organisation');
-insert into JBPM_ID_GROUP (ID_,CLASS_,NAME_,TYPE_) values (2,'G','admin','security-role');
-insert into JBPM_ID_GROUP (ID_,CLASS_,NAME_,TYPE_) values (3,'G','user','security-role');
-insert into JBPM_ID_GROUP (ID_,CLASS_,NAME_,TYPE_) values (4,'G','hr','organisation');
-insert into JBPM_ID_GROUP (ID_,CLASS_,NAME_,TYPE_) values (5,'G','manager','security-role');
-
-insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (1,'M',2,4);
-insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (2,'M',3,4);
-insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (3,'M',4,4);
-insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (4,'M',4,3);
-insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (5,'M',1,3);
-insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (6,'M',2,3);
-insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (7,'M',3,3);
-insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (8,'M',3,2);
-insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (9,'M',2,2);
-insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (10,'M',2,5);
-insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (11,'M',2,1);
-insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (12,'M',1,1);
\ No newline at end of file
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-commons-1.0.jar
===================================================================
(Binary files differ)
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-edisax-0.3.jar
===================================================================
(Binary files differ)
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-edisax-model-0.3.jar
===================================================================
(Binary files differ)
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-magger-0.1.3.jar
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-core-1.0.1.jar (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/lib/ext/milyn-smooks-core-1.0.1.jar)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-core-1.0.jar
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-css-1.0.1.jar (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/lib/ext/milyn-smooks-css-1.0.1.jar)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-css-1.0.jar
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-csv-1.0.1.jar (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/lib/ext/milyn-smooks-csv-1.0.1.jar)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-csv-1.0.jar
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-edi-1.0.1.jar (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/lib/ext/milyn-smooks-edi-1.0.1.jar)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-edi-1.0.jar
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-javabean-1.0.1.jar (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/lib/ext/milyn-smooks-javabean-1.0.1.jar)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-javabean-1.0.jar
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-misc-1.0.1.jar (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/lib/ext/milyn-smooks-misc-1.0.1.jar)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-misc-1.0.jar
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-routing-1.0.1.jar (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/lib/ext/milyn-smooks-routing-1.0.1.jar)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-routing-1.0.jar
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-scripting-1.0.1.jar (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/lib/ext/milyn-smooks-scripting-1.0.1.jar)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-scripting-1.0.jar
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-servlet-1.0.1.jar (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/lib/ext/milyn-smooks-servlet-1.0.1.jar)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-servlet-1.0.jar
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-templating-1.0.1.jar (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/lib/ext/milyn-smooks-templating-1.0.1.jar)
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-smooks-templating-1.0.jar
===================================================================
(Binary files differ)
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/milyn-tinak-0.8.1.jar
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/mvel-1.2.24-java1.5.jar
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/lib/ext/mvel-1.3.3-java1.5.jar (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/lib/ext/mvel-1.3.3-java1.5.jar)
===================================================================
(Binary files differ)
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/actions/converters/SmooksInstanceManager.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/actions/converters/SmooksInstanceManager.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/actions/converters/SmooksInstanceManager.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -84,6 +84,12 @@
try {
Smooks instance = new Smooks(configurationSourceURI);
addBaseConfigs(instance);
+
+ // We need to disable the resource config store's shutdown hook
+ // because the ESB container lifecycle handles this through
+ // calling the destroy method...
+ instance.getApplicationContext().getStore().removeShutdownHook();
+
return instance;
} catch (SAXException e) {
throw new SmooksException("Invalid Smooks resource config '" + configurationSourceURI + "'.", e);
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/actions/converters/SmooksTransformer.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/actions/converters/SmooksTransformer.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/actions/converters/SmooksTransformer.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -19,35 +19,32 @@
*/
package org.jboss.soa.esb.actions.converters;
-import java.io.ByteArrayInputStream;
-import java.util.*;
-
import org.apache.log4j.Logger;
import org.jboss.soa.esb.ConfigurationException;
-import org.jboss.soa.esb.listeners.message.MessageDeliverException;
import org.jboss.soa.esb.actions.ActionLifecycleException;
import org.jboss.soa.esb.actions.ActionPipelineProcessor;
import org.jboss.soa.esb.actions.ActionProcessingException;
import org.jboss.soa.esb.actions.ActionUtils;
import org.jboss.soa.esb.helpers.ConfigTree;
import org.jboss.soa.esb.helpers.KeyValuePair;
+import org.jboss.soa.esb.listeners.message.MessageDeliverException;
import org.jboss.soa.esb.message.Body;
import org.jboss.soa.esb.message.Message;
import org.jboss.soa.esb.message.MessagePayloadProxy;
import org.jboss.soa.esb.message.body.content.BytesBody;
import org.jboss.soa.esb.services.transform.TransformationException;
import org.jboss.soa.esb.services.transform.TransformationService;
-import org.jboss.internal.soa.esb.assertion.AssertArgument;
import org.milyn.Smooks;
import org.milyn.SmooksUtil;
-import org.milyn.container.standalone.StandaloneExecutionContext;
import org.milyn.container.ExecutionContext;
import org.milyn.javabean.BeanAccessor;
import org.milyn.profile.DefaultProfileSet;
import org.milyn.profile.ProfileStore;
import org.milyn.profile.UnknownProfileMemberException;
-import org.milyn.resource.URIResourceLocator;
+import java.io.ByteArrayInputStream;
+import java.util.*;
+
/**
* Smooks Transformer.
* <p/>
@@ -120,6 +117,7 @@
*
* @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
* @since Version 4.0
+ * @deprecated Use {@link org.jboss.soa.esb.smooks.SmooksAction}.
*/
public class SmooksTransformer implements TransformationService, ActionPipelineProcessor {
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/actions/smooks/SmooksAction.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/actions/smooks/SmooksAction.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/actions/smooks/SmooksAction.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -43,211 +43,15 @@
/**
* Smooks pipeline processor action.
* <p/>
- * Usage:
- * <pre>
- * <action name="transform" class="org.jboss.soa.esb.actions.smooks.SmooksAction">
- * <property name="smooksConfig" value="smooks-config.xml" />
- * </action>
+ * <b>MOVED to {@link org.jboss.soa.esb.smooks}</b>
*
- * Optional properties:
- * <property name="get-payload-location" value="input" />
- * <property name="set-payload-location" value="ouput" />
- * <property name="excludeNonSerializables" value="false" />
- * <property name="resultType" value="STRING" />
- * <property name="reportPath" value="/tmp/smooks-report.html" />
- * </pre>
- *
- * Description of configuration properties:
- * <ul>
- * <li><i>smooksConfig</i> - the Smooks configuration file. Can be a path on the file system or on the classpath.
- * <li><i>get-payload-location</i> - the body location which contains the object to be transformed.
- * <li><i>set-payload-location</i> - the body location where the transformed object will be placed.
- * <li><i>excludeNonSerializables</i> - if true, non serializable attributes from the Smooks ExecutionContext will no be included. Default is true.
- * <li><i>resultType</i> - type of result expected from Smooks ("STRING", "BYTES", "JAVA", "NORESULT"). Default is "STRING".
- * <li><i>javaResultBeanId</i> - specifies the Smooks bean context beanId to be mapped as the result when the resultType is "JAVA". If not specified,
- * the whole bean context bean Map is mapped as the result.
- * <li><i>reportPath</i> - specifies the path and file name for generating a Smooks Execution Report. This is a development tool.
- * </ul>
- * After Smooks has performed the filtering the process method will make the attributes that have been set in the
- * the ExecutionContext available for other actions in the ESB.
- * <p/>
- * The attributes (Map) can be accessed by using the {@link #EXECUTION_CONTEXT_ATTR_MAP_KEY} key like this:
- * <pre>
- * message.getBody().get( EXECUTION_CONTEXT_ATTR_MAP_KEY );
- * </pre>
- *
- * <h3>Specifying the Source and Result Types</h3>
- * From the ESB Message data type, this action is able to automatically determine the type of
- * {@link javax.xml.transform.Source} to use (via the Smooks {@link PayloadProcessor}). The
- * {@link javax.xml.transform.Result} type to be used can be specified via the "resultType"
- * property, as outlined above.
- * <p/>
- * It is expected that the above mechanism will be satisfactory for most usecase, but not all.
- * For the other usecases, this action supports {@link org.milyn.container.plugin.SourceResult}
- * payloads on the ESB Message. This allows you to manually specify other Source and Result
- * types, which is of particular interest with respect to the Result type e.g. for streaming
- * the Result to a file etc.
- *
* @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
* @author <a href="mailto:daniel.bevenius at gmail.com">daniel.bevenius at gmail.com</a>
+ * @deprecated This class has been moved to {@link org.jboss.soa.esb.smooks}.
*/
-public class SmooksAction extends AbstractActionPipelineProcessor
+public class SmooksAction extends org.jboss.soa.esb.smooks.SmooksAction
{
- public static final String EXECUTION_CONTEXT_ATTR_MAP_KEY = "SmooksExecutionContext";
-
- private Smooks smooks;
-
- private PayloadProcessor payloadProcessor;
-
- private MessagePayloadProxy payloadProxy;
-
- private boolean excludeNonSerializables;
-
- private String reportPath;
-
- // public
-
- public SmooksAction( final ConfigTree configTree ) throws ConfigurationException
- {
- final String smooksConfig = configTree.getRequiredAttribute("smooksConfig");
- try
- {
- smooks = new Smooks(smooksConfig);
- }
- catch (Exception e)
- {
- throw new ConfigurationException("Failed to create Smooks instance for config '" + smooksConfig + "'.", e);
- }
-
- // Create the Smooks PayloadProcessor...
- String resultTypeConfig = configTree.getAttribute("resultType", "STRING");
- ResultType resultType;
- try {
- resultType = ResultType.valueOf(resultTypeConfig);
- } catch(IllegalArgumentException e) {
- throw new ConfigurationException("Invalid 'resultType' config value '" + resultTypeConfig + "'. Valid values are: " + Arrays.asList(ResultType.values()));
- }
- payloadProcessor = new PayloadProcessor( smooks, resultType );
- if(resultType == ResultType.JAVA) {
- String javaResultBeanId = configTree.getAttribute("javaResultBeanId");
- if(javaResultBeanId != null) {
- payloadProcessor.setJavaResultBeanId(javaResultBeanId);
- }
- }
-
- payloadProxy = new MessagePayloadProxy( configTree );
- excludeNonSerializables = Boolean.valueOf( configTree.getAttribute( "excludeNonSerializables", "true" ) );
-
- reportPath = configTree.getAttribute("reportPath");
+ public SmooksAction( final ConfigTree configTree ) throws ConfigurationException {
+ super(configTree);
}
-
- /**
- * Executes the actual Smooks tranformation.
- *
- * @param message The ESB Message object
- *
- * @return The ESB Message object with the output of the transformation.
- *
- */
- public Message process( final Message message) throws ActionProcessingException
- {
- // Create Smooks ExecutionContext.
- final ExecutionContext executionContext = createExecutionContext( smooks );
-
- if(reportPath != null) {
- try {
- executionContext.setEventListener(new HtmlReportGenerator(reportPath));
- } catch (IOException e) {
- throw new ActionProcessingException("Failed to create HtmlReportGenerator instance.", e);
- }
- }
-
- // Use the Smooks PayloadProcessor to execute the transformation....
- final Object newPayload = payloadProcessor.process( extractPayload( message), executionContext );
-
- // Set the ExecutionContext's attributes on the message instance so other actions can access them.
- message.getBody().add( EXECUTION_CONTEXT_ATTR_MAP_KEY, getSerializableObjectsMap( executionContext.getAttributes() ) );
-
- return packagePayload( newPayload, message );
- }
-
- @Override
- public void destroy() throws ActionLifecycleException
- {
- smooks.close();
- super.destroy();
- }
-
- // protected
-
- /*
- * Hook for subclasses to control how the execution context is created.
- * Might be useful for Actions that use profiles for example.
- */
- protected ExecutionContext createExecutionContext( final Smooks smooks )
- {
- return smooks.createExecutionContext();
- }
-
- /*
- * Hook for subclasses to extract the message payload in
- * any way they see fit.
- */
- protected Object extractPayload(final Message message ) throws ActionProcessingException
- {
- try
- {
- return payloadProxy.getPayload( message );
- }
- catch (MessageDeliverException e)
- {
- throw new ActionProcessingException("MessgeDeliveryException while trying to retrieve the message payload:", e);
- }
- }
-
- /*
- * Hook for subclasses so they can control what and where the payload
- * is added to the ESB Message object.
- */
- protected Message packagePayload( final Object payload, Message message ) throws ActionProcessingException
- {
- try
- {
- payloadProxy.setPayload( message, payload );
- return message;
- }
- catch (MessageDeliverException e)
- {
- throw new ActionProcessingException("MessgeDeliveryException while trying to retrieve the message payload:", e);
-
- }
- }
-
- /**
- * Will return a Map containing only the Serializable objects
- * that exist in the passed-in Map if {@link #excludeNonSerializables} is true.
- *
- * @param smooksAttribuesMap - Map containing attributes from the Smooks ExecutionContext
- * @return Map - Map containing only the Serializable objects from the passed-in map.
- */
- @SuppressWarnings( "unchecked" )
- protected Map getSerializableObjectsMap( final Map smooksAttribuesMap )
- {
- if ( !excludeNonSerializables )
- return smooksAttribuesMap;
-
- Map smooksExecutionContextMap = new HashMap();
-
- Set<Map.Entry> s = smooksAttribuesMap.entrySet();
- for (Map.Entry me : s)
- {
- Object value = me.getValue();
- if( value instanceof Serializable )
- {
- smooksExecutionContextMap.put( me.getKey(), value );
- }
- }
- return smooksExecutionContextMap;
- }
-
}
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/FragmentRouter.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/FragmentRouter.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/FragmentRouter.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,124 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.soa.esb.smooks;
-
-import org.apache.log4j.Logger;
-import org.jboss.soa.esb.client.ServiceInvoker;
-import org.jboss.soa.esb.listeners.message.MessageDeliverException;
-import org.jboss.soa.esb.message.Body;
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.esb.message.MessagePayloadProxy;
-import org.jboss.soa.esb.message.format.MessageFactory;
-import org.milyn.SmooksException;
-import org.milyn.event.report.annotation.VisitBeforeReport;
-import org.milyn.event.report.annotation.VisitAfterReport;
-import org.milyn.cdr.annotation.ConfigParam;
-import org.milyn.container.ExecutionContext;
-import org.milyn.delivery.annotation.Initialize;
-import org.milyn.delivery.annotation.VisitAfterIf;
-import org.milyn.delivery.annotation.VisitBeforeIf;
-import org.milyn.delivery.dom.DOMElementVisitor;
-import org.milyn.delivery.sax.SAXElement;
-import org.milyn.delivery.sax.SAXVisitAfter;
-import org.milyn.delivery.sax.SAXVisitBefore;
-import org.milyn.javabean.BeanAccessor;
-import org.w3c.dom.Element;
-
-import java.io.IOException;
-import java.io.Serializable;
-
-/**
- * ESB Message Fragment Router.
- *
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
- at VisitBeforeIf( condition = "parameters.containsKey('routeBefore') && parameters.routeBefore.value == 'true'")
- at VisitAfterIf( condition = "!parameters.containsKey('routeBefore') || parameters.routeBefore.value != 'true'")
- at VisitBeforeReport(summary = "Routing contents of beanId '${resource.parameters.beanId}' to Service '${resource.parameters.serviceCategory}:${resource.parameters.serviceName}'")
- at VisitAfterReport(summary = "Routing contents of beanId '${resource.parameters.beanId}' to Service '${resource.parameters.serviceCategory}:${resource.parameters.serviceName}'")
-public class FragmentRouter implements DOMElementVisitor, SAXVisitBefore, SAXVisitAfter {
-
- private static Logger logger = Logger.getLogger(FragmentRouter.class);
-
- @ConfigParam
- private String beanId;
-
- @ConfigParam
- private String serviceCategory;
-
- @ConfigParam
- private String serviceName;
-
- private ServiceInvoker serviceInvoker;
-
- @ConfigParam(name = MessagePayloadProxy.SET_PAYLOAD_LOCATION, defaultVal = Body.DEFAULT_LOCATION)
- private String setPayloadLocation;
-
- @Initialize
- public void intitialize() throws MessageDeliverException {
- serviceInvoker = new ServiceInvoker(serviceCategory, serviceName);
- }
-
- public void visitBefore(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException {
- route(executionContext);
- }
-
- public void visitAfter(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException {
- route(executionContext);
- }
-
- public void visitBefore(Element element, ExecutionContext executionContext) throws SmooksException {
- route(executionContext);
- }
-
- public void visitAfter(Element element, ExecutionContext executionContext) throws SmooksException {
- route(executionContext);
- }
-
- private void route(ExecutionContext executionContext) {
- Object object = BeanAccessor.getBean(executionContext, beanId);
-
- if(object == null) {
- // Try the exec context...
- object = executionContext.getAttribute(beanId);
- }
-
- if(object != null) {
- Message message = MessageFactory.getInstance().getMessage();
-
- if(!(object instanceof Serializable)) {
- logger.warn("Request to route non Serializable Object. beanId: '" + beanId + "'. Type: " + object.getClass().getName());
- }
-
- message.getBody().add(setPayloadLocation, object);
-
- // TODO: Add aggregation stuff...
- // Might be better to add something generic ala setting properties based on templates
-
- try {
- serviceInvoker.deliverAsync(message);
- } catch (MessageDeliverException e) {
- logger.error("Failed to route Object. beanId: '" + beanId + "'. Type: " + object.getClass().getName(), e);
- }
- } else {
- logger.info("Request to route unknown Object. beanId: '" + beanId + "'.");
- }
- }
-}
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/FragmentRouter.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/FragmentRouter.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/FragmentRouter.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/FragmentRouter.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.smooks;
+
+import org.apache.log4j.Logger;
+import org.jboss.soa.esb.client.ServiceInvoker;
+import org.jboss.soa.esb.listeners.message.MessageDeliverException;
+import org.jboss.soa.esb.message.Body;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.MessagePayloadProxy;
+import org.jboss.soa.esb.message.format.MessageFactory;
+import org.milyn.SmooksException;
+import org.milyn.event.report.annotation.VisitBeforeReport;
+import org.milyn.event.report.annotation.VisitAfterReport;
+import org.milyn.cdr.annotation.ConfigParam;
+import org.milyn.container.ExecutionContext;
+import org.milyn.delivery.annotation.Initialize;
+import org.milyn.delivery.annotation.VisitAfterIf;
+import org.milyn.delivery.annotation.VisitBeforeIf;
+import org.milyn.delivery.dom.DOMElementVisitor;
+import org.milyn.delivery.sax.SAXElement;
+import org.milyn.delivery.sax.SAXVisitAfter;
+import org.milyn.delivery.sax.SAXVisitBefore;
+import org.milyn.javabean.BeanAccessor;
+import org.w3c.dom.Element;
+
+import java.io.IOException;
+import java.io.Serializable;
+
+/**
+ * ESB Message Fragment Router.
+ *
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+ at VisitBeforeIf( condition = "parameters.containsKey('routeBefore') && parameters.routeBefore.value == 'true'")
+ at VisitAfterIf( condition = "!parameters.containsKey('routeBefore') || parameters.routeBefore.value != 'true'")
+ at VisitBeforeReport(summary = "Routing contents of beanId '${resource.parameters.beanId}' to Service '${resource.parameters.serviceCategory}:${resource.parameters.serviceName}'")
+ at VisitAfterReport(summary = "Routing contents of beanId '${resource.parameters.beanId}' to Service '${resource.parameters.serviceCategory}:${resource.parameters.serviceName}'")
+public class FragmentRouter implements DOMElementVisitor, SAXVisitBefore, SAXVisitAfter {
+
+ private static Logger logger = Logger.getLogger(FragmentRouter.class);
+
+ @ConfigParam
+ private String beanId;
+
+ @ConfigParam
+ private String serviceCategory;
+
+ @ConfigParam
+ private String serviceName;
+
+ private ServiceInvoker serviceInvoker;
+
+ @ConfigParam(name = MessagePayloadProxy.SET_PAYLOAD_LOCATION, defaultVal = Body.DEFAULT_LOCATION)
+ private String setPayloadLocation;
+
+ @Initialize
+ public void intitialize() throws MessageDeliverException {
+ serviceInvoker = new ServiceInvoker(serviceCategory, serviceName);
+ }
+
+ public void visitBefore(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException {
+ route(executionContext);
+ }
+
+ public void visitAfter(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException {
+ route(executionContext);
+ }
+
+ public void visitBefore(Element element, ExecutionContext executionContext) throws SmooksException {
+ route(executionContext);
+ }
+
+ public void visitAfter(Element element, ExecutionContext executionContext) throws SmooksException {
+ route(executionContext);
+ }
+
+ private void route(ExecutionContext executionContext) {
+ Object object = BeanAccessor.getBean(executionContext, beanId);
+
+ if(object == null) {
+ // Try the exec context...
+ object = executionContext.getAttribute(beanId);
+ }
+
+ if(object != null) {
+ Message message = MessageFactory.getInstance().getMessage();
+
+ if(!(object instanceof Serializable)) {
+ logger.warn("Request to route non Serializable Object. beanId: '" + beanId + "'. Type: " + object.getClass().getName());
+ }
+
+ message.getBody().add(setPayloadLocation, object);
+
+ // TODO: Add aggregation stuff...
+ // Might be better to add something generic ala setting properties based on templates
+
+ try {
+ serviceInvoker.deliverAsync(message);
+ } catch (MessageDeliverException e) {
+ logger.error("Failed to route Object. beanId: '" + beanId + "'. Type: " + object.getClass().getName(), e);
+ }
+ } else {
+ logger.info("Request to route unknown Object. beanId: '" + beanId + "'.");
+ }
+ }
+}
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/SmooksAction.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/SmooksAction.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/SmooksAction.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,252 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.soa.esb.smooks;
-
-import org.jboss.soa.esb.ConfigurationException;
-import org.jboss.soa.esb.actions.AbstractActionPipelineProcessor;
-import org.jboss.soa.esb.actions.ActionLifecycleException;
-import org.jboss.soa.esb.actions.ActionProcessingException;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.listeners.message.MessageDeliverException;
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.esb.message.MessagePayloadProxy;
-import org.jboss.soa.esb.message.Properties;
-import org.milyn.Smooks;
-import org.milyn.profile.Profile;
-import org.milyn.container.ExecutionContext;
-import org.milyn.container.plugin.PayloadProcessor;
-import org.milyn.container.plugin.ResultType;
-import org.milyn.event.report.HtmlReportGenerator;
-
-import java.io.IOException;
-import java.io.Serializable;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Set;
-
-/**
- * <a href="http://milyn.codehaus.org/Smooks">Smooks</a> action pipeline processor.
- * <p/>
- * Usage:
- * <pre>
- * <action name="transform" class="org.jboss.soa.esb.smooks.SmooksAction">
- * <property name="smooksConfig" value="smooks-config.xml" />
- * </action>
- * </pre>
- *
- * <u>Optional properties:</u>
- * <pre>
- * <property name="get-payload-location" value="input" />
- * <property name="set-payload-location" value="ouput" />
- * <property name="excludeNonSerializables" value="false" />
- * <property name="resultType" value="STRING" />
- * <property name="reportPath" value="/tmp/smooks-report.html" />
- * <property name="messageProfile" value="fromServiceA" />
- * </pre>
- *
- * Description of configuration properties:
- * <ul>
- * <li><i>smooksConfig</i> - the Smooks configuration file. Can be a path on the file system or on the classpath.
- * <li><i>get-payload-location</i> - the body location which contains the object to be transformed. See {@link MessagePayloadProxy}.
- * <li><i>set-payload-location</i> - the body location where the transformed object will be placed. See {@link MessagePayloadProxy}.
- * <li><i>excludeNonSerializables</i> - if true, non serializable attributes from the Smooks ExecutionContext will no be included. Default is true.
- * <li><i>resultType</i> - type of result expected from Smooks ("STRING", "BYTES", "JAVA", "NORESULT"). Default is "STRING". For more
- * on specifying and controlling the Smooks filtering result, see <a href="#specify-result">Specifying the Source and Result Types</a>.
- * <li><i>javaResultBeanId</i> - specifies the Smooks bean context beanId to be mapped as the result when the resultType is "JAVA". If not specified,
- * the whole bean context bean Map is mapped as the result.
- * <li><i>reportPath</i> - specifies the path and file name for generating a Smooks Execution Report. This is a development tool.
- * <li><i>messageProfile</i> - specifies the default message "profile" name to be used in {@link Smooks#createExecutionContext(String) creation of the Smooks ExecutionContext}.
- * See <a href="#profiling">Message Profiling</a>.
- * </ul>
- *
- * <h3>Exposing the Smooks {@link ExecutionContext} to other ESB Actions</h3>
- * After Smooks has performed the filtering operation on the message payload, it maps the contents of the
- * {@link ExecutionContext} onto a Map on the the ESB message, making it available to other actions in the ESB.
- * This Map can be accessed by using the {@link #EXECUTION_CONTEXT_ATTR_MAP_KEY} key as follows:
- * <pre>
- * message.getBody().get( SmooksAction.EXECUTION_CONTEXT_ATTR_MAP_KEY );
- * </pre>
- *
- * <h3 id="specify-result">Specifying the Source and Result Types</h3>
- * From the ESB Message data type, this action is able to automatically determine the type of
- * {@link javax.xml.transform.Source} to use (via the Smooks {@link org.milyn.container.plugin.PayloadProcessor}). The
- * {@link javax.xml.transform.Result} type to be used can be specified via the "resultType"
- * property, as outlined above.
- * <p/>
- * It is expected that the above mechanism will be satisfactory for most usecase, but not all.
- * For the other usecases, this action supports {@link org.milyn.container.plugin.SourceResult}
- * payloads on the ESB Message. This allows you to manually specify other Source and Result
- * types, which is of particular interest with respect to the Result type e.g. for streaming
- * the Result to a file etc.
- *
- * <h3 id="profiling">Message Profiling</h3>
- * Smooks Profiling allows you to use a single Smooks instance to transform multiple
- * source messages. As an example, imagine a situation where messages of different formats
- * are delivered to a Service. Before consuming the messages, the Service needs to transform
- * these message payloads to a common format. To accomplish this, you can use profiling.
- * <p/>
- * The action can have the default profile name configured through the "messageProfile"
- * property. Each incoming ESB message can specify it's profile name through the
- * message property of the same name ("messageProfile"). For more on profiling, see
- * the <a href="http://milyn.codehaus.org/Smooks+Example+-+profiling">profiling example</a>.
- *
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- * @author <a href="mailto:daniel.bevenius at gmail.com">daniel.bevenius at gmail.com</a>
- */
-public class SmooksAction extends AbstractActionPipelineProcessor
-{
- public static final String EXECUTION_CONTEXT_ATTR_MAP_KEY = "SmooksExecutionContext";
-
- private Smooks smooks;
-
- private String defaultMessageProfile;
-
- private PayloadProcessor payloadProcessor;
-
- private MessagePayloadProxy payloadProxy;
-
- private boolean excludeNonSerializables;
-
- private String reportPath;
-
- // public
-
- public SmooksAction( final ConfigTree configTree ) throws ConfigurationException
- {
- final String smooksConfig = configTree.getRequiredAttribute("smooksConfig");
- try
- {
- smooks = new Smooks(smooksConfig);
- // We need to disable the resource config store's shutdown hook
- // because the ESB container lifecycle handles this through
- // calling the destroy method...
- smooks.getApplicationContext().getStore().removeShutdownHook();
- }
- catch (Exception e)
- {
- throw new ConfigurationException("Failed to create Smooks instance for config '" + smooksConfig + "'.", e);
- }
-
- // Get the default profile from the config...
- defaultMessageProfile = configTree.getAttribute(Properties.MESSAGE_PROFILE, Profile.DEFAULT_PROFILE);
-
- // Create the Smooks PayloadProcessor...
- String resultTypeConfig = configTree.getAttribute("resultType", "STRING");
- ResultType resultType;
- try {
- resultType = ResultType.valueOf(resultTypeConfig);
- } catch(IllegalArgumentException e) {
- throw new ConfigurationException("Invalid 'resultType' config value '" + resultTypeConfig + "'. Valid values are: " + Arrays.asList(ResultType.values()));
- }
- payloadProcessor = new PayloadProcessor( smooks, resultType );
- if(resultType == ResultType.JAVA) {
- String javaResultBeanId = configTree.getAttribute("javaResultBeanId");
- if(javaResultBeanId != null) {
- payloadProcessor.setJavaResultBeanId(javaResultBeanId);
- }
- }
-
- payloadProxy = new MessagePayloadProxy( configTree );
- excludeNonSerializables = Boolean.valueOf( configTree.getAttribute( "excludeNonSerializables", "true" ) );
-
- reportPath = configTree.getAttribute("reportPath");
- }
-
- /**
- * Executes the actual Smooks tranformation.
- *
- * @param message The ESB Message object
- *
- * @return The ESB Message object with the output of the transformation.
- *
- */
- public Message process( final Message message) throws ActionProcessingException
- {
- // Create Smooks ExecutionContext.
- final String messageProfofile = (String) message.getProperties().getProperty(Properties.MESSAGE_PROFILE, defaultMessageProfile);
- final ExecutionContext executionContext = smooks.createExecutionContext(messageProfofile);
-
- if(reportPath != null) {
- try {
- executionContext.setEventListener(new HtmlReportGenerator(reportPath));
- } catch (IOException e) {
- throw new ActionProcessingException("Failed to create HtmlReportGenerator instance.", e);
- }
- }
-
- // Use the Smooks PayloadProcessor to execute the transformation....
- final Object payload;
- try {
- payload = payloadProxy.getPayload(message);
- } catch (MessageDeliverException e) {
- throw new ActionProcessingException("MessgeDeliveryException while trying to retrieve the message payload:", e);
- }
- final Object newPayload = payloadProcessor.process( payload, executionContext );
-
- // Set the ExecutionContext's attributes on the message instance so other actions can access them.
- message.getBody().add( EXECUTION_CONTEXT_ATTR_MAP_KEY, getSerializableObjectsMap( executionContext.getAttributes() ) );
-
- try {
- payloadProxy.setPayload( message, newPayload );
- } catch (MessageDeliverException e) {
- throw new ActionProcessingException("MessgeDeliveryException while trying to retrieve the message payload:", e);
- }
-
- return message;
- }
-
- @Override
- public void destroy() throws ActionLifecycleException
- {
- smooks.close();
- super.destroy();
- }
-
- // protected
-
- /**
- * Will return a Map containing only the Serializable objects
- * that exist in the passed-in Map if {@link #excludeNonSerializables} is true.
- *
- * @param smooksAttribuesMap - Map containing attributes from the Smooks ExecutionContext
- * @return Map - Map containing only the Serializable objects from the passed-in map.
- */
- @SuppressWarnings( "unchecked" )
- protected Map getSerializableObjectsMap( final Map smooksAttribuesMap )
- {
- if ( !excludeNonSerializables )
- return smooksAttribuesMap;
-
- Map smooksExecutionContextMap = new HashMap();
-
- Set<Map.Entry> s = smooksAttribuesMap.entrySet();
- for (Map.Entry me : s)
- {
- Object value = me.getValue();
- if( value instanceof Serializable )
- {
- smooksExecutionContextMap.put( me.getKey(), value );
- }
- }
- return smooksExecutionContextMap;
- }
-
-}
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/SmooksAction.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/SmooksAction.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/SmooksAction.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/SmooksAction.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,252 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.smooks;
+
+import org.jboss.soa.esb.ConfigurationException;
+import org.jboss.soa.esb.actions.AbstractActionPipelineProcessor;
+import org.jboss.soa.esb.actions.ActionLifecycleException;
+import org.jboss.soa.esb.actions.ActionProcessingException;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.listeners.message.MessageDeliverException;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.MessagePayloadProxy;
+import org.jboss.soa.esb.message.Properties;
+import org.milyn.Smooks;
+import org.milyn.profile.Profile;
+import org.milyn.container.ExecutionContext;
+import org.milyn.container.plugin.PayloadProcessor;
+import org.milyn.container.plugin.ResultType;
+import org.milyn.event.report.HtmlReportGenerator;
+
+import java.io.IOException;
+import java.io.Serializable;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Set;
+
+/**
+ * <a href="http://milyn.codehaus.org/Smooks">Smooks</a> action pipeline processor.
+ * <p/>
+ * Usage:
+ * <pre>
+ * <action name="transform" class="org.jboss.soa.esb.smooks.SmooksAction">
+ * <property name="smooksConfig" value="smooks-config.xml" />
+ * </action>
+ * </pre>
+ *
+ * <u>Optional properties:</u>
+ * <pre>
+ * <property name="get-payload-location" value="input" />
+ * <property name="set-payload-location" value="ouput" />
+ * <property name="excludeNonSerializables" value="false" />
+ * <property name="resultType" value="STRING" />
+ * <property name="reportPath" value="/tmp/smooks-report.html" />
+ * <property name="messageProfile" value="fromServiceA" />
+ * </pre>
+ *
+ * Description of configuration properties:
+ * <ul>
+ * <li><i>smooksConfig</i> - the Smooks configuration file. Can be a path on the file system or on the classpath.
+ * <li><i>get-payload-location</i> - the body location which contains the object to be transformed. See {@link MessagePayloadProxy}.
+ * <li><i>set-payload-location</i> - the body location where the transformed object will be placed. See {@link MessagePayloadProxy}.
+ * <li><i>excludeNonSerializables</i> - if true, non serializable attributes from the Smooks ExecutionContext will no be included. Default is true.
+ * <li><i>resultType</i> - type of result expected from Smooks ("STRING", "BYTES", "JAVA", "NORESULT"). Default is "STRING". For more
+ * on specifying and controlling the Smooks filtering result, see <a href="#specify-result">Specifying the Source and Result Types</a>.
+ * <li><i>javaResultBeanId</i> - specifies the Smooks bean context beanId to be mapped as the result when the resultType is "JAVA". If not specified,
+ * the whole bean context bean Map is mapped as the result.
+ * <li><i>reportPath</i> - specifies the path and file name for generating a Smooks Execution Report. This is a development tool.
+ * <li><i>messageProfile</i> - specifies the default message "profile" name to be used in {@link Smooks#createExecutionContext(String) creation of the Smooks ExecutionContext}.
+ * See <a href="#profiling">Message Profiling</a>.
+ * </ul>
+ *
+ * <h3>Exposing the Smooks {@link ExecutionContext} to other ESB Actions</h3>
+ * After Smooks has performed the filtering operation on the message payload, it maps the contents of the
+ * {@link ExecutionContext} onto a Map on the the ESB message, making it available to other actions in the ESB.
+ * This Map can be accessed by using the {@link #EXECUTION_CONTEXT_ATTR_MAP_KEY} key as follows:
+ * <pre>
+ * message.getBody().get( SmooksAction.EXECUTION_CONTEXT_ATTR_MAP_KEY );
+ * </pre>
+ *
+ * <h3 id="specify-result">Specifying the Source and Result Types</h3>
+ * From the ESB Message data type, this action is able to automatically determine the type of
+ * {@link javax.xml.transform.Source} to use (via the Smooks {@link org.milyn.container.plugin.PayloadProcessor}). The
+ * {@link javax.xml.transform.Result} type to be used can be specified via the "resultType"
+ * property, as outlined above.
+ * <p/>
+ * It is expected that the above mechanism will be satisfactory for most usecase, but not all.
+ * For the other usecases, this action supports {@link org.milyn.container.plugin.SourceResult}
+ * payloads on the ESB Message. This allows you to manually specify other Source and Result
+ * types, which is of particular interest with respect to the Result type e.g. for streaming
+ * the Result to a file etc.
+ *
+ * <h3 id="profiling">Message Profiling</h3>
+ * Smooks Profiling allows you to use a single Smooks instance to transform multiple
+ * source messages. As an example, imagine a situation where messages of different formats
+ * are delivered to a Service. Before consuming the messages, the Service needs to transform
+ * these message payloads to a common format. To accomplish this, you can use profiling.
+ * <p/>
+ * The action can have the default profile name configured through the "messageProfile"
+ * property. Each incoming ESB message can specify it's profile name through the
+ * message property of the same name ("messageProfile"). For more on profiling, see
+ * the <a href="http://milyn.codehaus.org/Smooks+Example+-+profiling">profiling example</a>.
+ *
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ * @author <a href="mailto:daniel.bevenius at gmail.com">daniel.bevenius at gmail.com</a>
+ */
+public class SmooksAction extends AbstractActionPipelineProcessor
+{
+ public static final String EXECUTION_CONTEXT_ATTR_MAP_KEY = "SmooksExecutionContext";
+
+ private Smooks smooks;
+
+ private String defaultMessageProfile;
+
+ private PayloadProcessor payloadProcessor;
+
+ private MessagePayloadProxy payloadProxy;
+
+ private boolean excludeNonSerializables;
+
+ private String reportPath;
+
+ // public
+
+ public SmooksAction( final ConfigTree configTree ) throws ConfigurationException
+ {
+ final String smooksConfig = configTree.getRequiredAttribute("smooksConfig");
+ try
+ {
+ smooks = new Smooks(smooksConfig);
+ // We need to disable the resource config store's shutdown hook
+ // because the ESB container lifecycle handles this through
+ // calling the destroy method...
+ smooks.getApplicationContext().getStore().removeShutdownHook();
+ }
+ catch (Exception e)
+ {
+ throw new ConfigurationException("Failed to create Smooks instance for config '" + smooksConfig + "'.", e);
+ }
+
+ // Get the default profile from the config...
+ defaultMessageProfile = configTree.getAttribute(Properties.MESSAGE_PROFILE, Profile.DEFAULT_PROFILE);
+
+ // Create the Smooks PayloadProcessor...
+ String resultTypeConfig = configTree.getAttribute("resultType", "STRING");
+ ResultType resultType;
+ try {
+ resultType = ResultType.valueOf(resultTypeConfig);
+ } catch(IllegalArgumentException e) {
+ throw new ConfigurationException("Invalid 'resultType' config value '" + resultTypeConfig + "'. Valid values are: " + Arrays.asList(ResultType.values()));
+ }
+ payloadProcessor = new PayloadProcessor( smooks, resultType );
+ if(resultType == ResultType.JAVA) {
+ String javaResultBeanId = configTree.getAttribute("javaResultBeanId");
+ if(javaResultBeanId != null) {
+ payloadProcessor.setJavaResultBeanId(javaResultBeanId);
+ }
+ }
+
+ payloadProxy = new MessagePayloadProxy( configTree );
+ excludeNonSerializables = Boolean.valueOf( configTree.getAttribute( "excludeNonSerializables", "true" ) );
+
+ reportPath = configTree.getAttribute("reportPath");
+ }
+
+ /**
+ * Executes the actual Smooks tranformation.
+ *
+ * @param message The ESB Message object
+ *
+ * @return The ESB Message object with the output of the transformation.
+ *
+ */
+ public Message process( final Message message) throws ActionProcessingException
+ {
+ // Create Smooks ExecutionContext.
+ final String messageProfofile = (String) message.getProperties().getProperty(Properties.MESSAGE_PROFILE, defaultMessageProfile);
+ final ExecutionContext executionContext = smooks.createExecutionContext(messageProfofile);
+
+ if(reportPath != null) {
+ try {
+ executionContext.setEventListener(new HtmlReportGenerator(reportPath));
+ } catch (IOException e) {
+ throw new ActionProcessingException("Failed to create HtmlReportGenerator instance.", e);
+ }
+ }
+
+ // Use the Smooks PayloadProcessor to execute the transformation....
+ final Object payload;
+ try {
+ payload = payloadProxy.getPayload(message);
+ } catch (MessageDeliverException e) {
+ throw new ActionProcessingException("MessgeDeliveryException while trying to retrieve the message payload:", e);
+ }
+ final Object newPayload = payloadProcessor.process( payload, executionContext );
+
+ // Set the ExecutionContext's attributes on the message instance so other actions can access them.
+ message.getBody().add( EXECUTION_CONTEXT_ATTR_MAP_KEY, getSerializableObjectsMap( executionContext.getAttributes() ) );
+
+ try {
+ payloadProxy.setPayload( message, newPayload );
+ } catch (MessageDeliverException e) {
+ throw new ActionProcessingException("MessgeDeliveryException while trying to retrieve the message payload:", e);
+ }
+
+ return message;
+ }
+
+ @Override
+ public void destroy() throws ActionLifecycleException
+ {
+ smooks.close();
+ super.destroy();
+ }
+
+ // protected
+
+ /**
+ * Will return a Map containing only the Serializable objects
+ * that exist in the passed-in Map if {@link #excludeNonSerializables} is true.
+ *
+ * @param smooksAttribuesMap - Map containing attributes from the Smooks ExecutionContext
+ * @return Map - Map containing only the Serializable objects from the passed-in map.
+ */
+ @SuppressWarnings( "unchecked" )
+ protected Map getSerializableObjectsMap( final Map smooksAttribuesMap )
+ {
+ if ( !excludeNonSerializables )
+ return smooksAttribuesMap;
+
+ Map smooksExecutionContextMap = new HashMap();
+
+ Set<Map.Entry> s = smooksAttribuesMap.entrySet();
+ for (Map.Entry me : s)
+ {
+ Object value = me.getValue();
+ if( value instanceof Serializable )
+ {
+ smooksExecutionContextMap.put( me.getKey(), value );
+ }
+ }
+ return smooksExecutionContextMap;
+ }
+
+}
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/AbstractStreamSplitter.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/AbstractStreamSplitter.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/AbstractStreamSplitter.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,72 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.soa.esb.smooks.splitting;
-
-import org.jboss.soa.esb.Configurable;
-import org.jboss.soa.esb.ConfigurationException;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.milyn.Smooks;
-import org.milyn.event.report.HtmlReportGenerator;
-import org.milyn.container.ExecutionContext;
-
-import javax.xml.transform.Source;
-import javax.xml.transform.stream.StreamSource;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-
-/**
- * Abstract stream splitter.
- * <p/>
- * Uses Smooks to perform the message splitting.
- *
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
-public abstract class AbstractStreamSplitter implements Configurable {
-
- private Smooks smooks;
- private String encoding;
- private String reportPath;
-
- public void setConfiguration(ConfigTree config) throws ConfigurationException {
- String splitterConfig = config.getRequiredAttribute("splitterConfig");
-
- encoding = config.getAttribute("encoding", "UTF-8");
- reportPath = config.getAttribute("reportPath");
- try {
- smooks = new Smooks(splitterConfig);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- public void split(InputStream dataStream) throws IOException {
- Source streamSource = new StreamSource(new InputStreamReader(dataStream, encoding));
-
- if(reportPath != null) {
- ExecutionContext execContext = smooks.createExecutionContext();
-
- execContext.setEventListener(new HtmlReportGenerator(reportPath));
- smooks.filter(streamSource, null, execContext);
- } else {
- smooks.filter(streamSource, null);
- }
- }
-}
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/AbstractStreamSplitter.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/AbstractStreamSplitter.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/AbstractStreamSplitter.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/AbstractStreamSplitter.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,72 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.smooks.splitting;
+
+import org.jboss.soa.esb.Configurable;
+import org.jboss.soa.esb.ConfigurationException;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.milyn.Smooks;
+import org.milyn.event.report.HtmlReportGenerator;
+import org.milyn.container.ExecutionContext;
+
+import javax.xml.transform.Source;
+import javax.xml.transform.stream.StreamSource;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+
+/**
+ * Abstract stream splitter.
+ * <p/>
+ * Uses Smooks to perform the message splitting.
+ *
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public abstract class AbstractStreamSplitter implements Configurable {
+
+ private Smooks smooks;
+ private String encoding;
+ private String reportPath;
+
+ public void setConfiguration(ConfigTree config) throws ConfigurationException {
+ String splitterConfig = config.getRequiredAttribute("splitterConfig");
+
+ encoding = config.getAttribute("encoding", "UTF-8");
+ reportPath = config.getAttribute("reportPath");
+ try {
+ smooks = new Smooks(splitterConfig);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ public void split(InputStream dataStream) throws IOException {
+ Source streamSource = new StreamSource(new InputStreamReader(dataStream, encoding));
+
+ if(reportPath != null) {
+ ExecutionContext execContext = smooks.createExecutionContext();
+
+ execContext.setEventListener(new HtmlReportGenerator(reportPath));
+ smooks.filter(streamSource, null, execContext);
+ } else {
+ smooks.filter(streamSource, null);
+ }
+ }
+}
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/FileStreamSplitter.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/FileStreamSplitter.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/FileStreamSplitter.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,66 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.soa.esb.smooks.splitting;
-
-import org.jboss.soa.esb.listeners.message.MessageComposer;
-import org.jboss.soa.esb.listeners.message.MessageDeliverException;
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.esb.message.format.MessageFactory;
-import org.jboss.internal.soa.esb.assertion.AssertArgument;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.FileInputStream;
-
-/**
- * File stream splitting message composer.
- * <p/>
- * This composer only sets the file name as the message payload. It splits the message out,
- * so the source message is transformed into n+ messages that are consumed by other service
- * pipelines (i.e. not this service)...
- *
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
-public class FileStreamSplitter<T extends File> extends AbstractStreamSplitter implements MessageComposer<T> {
-
- public Message compose(T inputFile) throws MessageDeliverException {
- AssertArgument.isNotNull(inputFile, "inputFile");
-
- if(!inputFile.exists()) {
- throw new MessageDeliverException("Invalid File payload. File '" + inputFile.getAbsolutePath() + "' doesn't exist.");
- }
-
- // Split the file input stream...
- try {
- split(new FileInputStream(inputFile));
- } catch (IOException e) {
- throw new MessageDeliverException("Exception while splitting file input stream for file '" + inputFile.getAbsolutePath() + "'.", e);
- }
-
- Message message = MessageFactory.getInstance().getMessage();
- message.getBody().add(inputFile.getAbsolutePath());
-
- return message;
- }
-
- public Object decompose(Message message, T inputFile) throws MessageDeliverException {
- return null;
- }
-}
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/FileStreamSplitter.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/FileStreamSplitter.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/FileStreamSplitter.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/main/java/org/jboss/soa/esb/smooks/splitting/FileStreamSplitter.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,66 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.smooks.splitting;
+
+import org.jboss.soa.esb.listeners.message.MessageComposer;
+import org.jboss.soa.esb.listeners.message.MessageDeliverException;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.format.MessageFactory;
+import org.jboss.internal.soa.esb.assertion.AssertArgument;
+
+import java.io.File;
+import java.io.IOException;
+import java.io.FileInputStream;
+
+/**
+ * File stream splitting message composer.
+ * <p/>
+ * This composer only sets the file name as the message payload. It splits the message out,
+ * so the source message is transformed into n+ messages that are consumed by other service
+ * pipelines (i.e. not this service)...
+ *
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class FileStreamSplitter<T extends File> extends AbstractStreamSplitter implements MessageComposer<T> {
+
+ public Message compose(T inputFile) throws MessageDeliverException {
+ AssertArgument.isNotNull(inputFile, "inputFile");
+
+ if(!inputFile.exists()) {
+ throw new MessageDeliverException("Invalid File payload. File '" + inputFile.getAbsolutePath() + "' doesn't exist.");
+ }
+
+ // Split the file input stream...
+ try {
+ split(new FileInputStream(inputFile));
+ } catch (IOException e) {
+ throw new MessageDeliverException("Exception while splitting file input stream for file '" + inputFile.getAbsolutePath() + "'.", e);
+ }
+
+ Message message = MessageFactory.getInstance().getMessage();
+ message.getBody().add(inputFile.getAbsolutePath());
+
+ return message;
+ }
+
+ public Object decompose(Message message, T inputFile) throws MessageDeliverException {
+ return null;
+ }
+}
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/ProfilingUnitTest.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/ProfilingUnitTest.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/ProfilingUnitTest.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,71 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.soa.esb.smooks;
-
-import junit.framework.TestCase;
-import org.jboss.internal.soa.esb.util.StreamUtils;
-import org.jboss.soa.esb.client.ServiceInvoker;
-import org.jboss.soa.esb.couriers.FaultMessageException;
-import org.jboss.soa.esb.listeners.message.MessageDeliverException;
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.esb.message.Properties;
-import org.jboss.soa.esb.message.format.MessageFactory;
-import org.jboss.soa.esb.services.registry.RegistryException;
-import org.jboss.soa.esb.testutils.ESBConfigUtil;
-
-/**
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
-public class ProfilingUnitTest extends TestCase {
-
- private ESBConfigUtil esbConfig;
- private byte[] personXmlBytes = StreamUtils.readStream(SourceResultUnitTest.class.getResourceAsStream("message/person.xml"));
-
- protected void setUp() throws Exception {
- esbConfig = new ESBConfigUtil(getClass().getResourceAsStream("profiling-esb.xml"));
- esbConfig.setESBProperties(getClass().getResourceAsStream("jbossesb-properties.xml"));
- esbConfig.installRegistry();
- esbConfig.startController();
- }
-
- protected void tearDown() throws Exception {
- esbConfig.stopController();
- esbConfig.uninstallRegistry();
- esbConfig.resetESBProperties();
- }
-
- public void test() throws RegistryException, FaultMessageException, MessageDeliverException {
- test("profile1", "<someone called=\"Tom Fennelly\" is=\"21\">");
- test("profile2", "<person name=\"Tom Fennelly\" age=\"21\">");
- }
-
- private void test(String profile, String expected) throws MessageDeliverException, RegistryException, FaultMessageException {
- ServiceInvoker invoker = new ServiceInvoker("Transform", "String");
- Message message = MessageFactory.getInstance().getMessage();
-
- // Create the message and set the profile on it...
- message.getBody().add(new String(personXmlBytes));
- message.getProperties().setProperty(Properties.MESSAGE_PROFILE, profile);
-
- message = invoker.deliverSync(message, 30000);
-
- assertEquals(expected, message.getBody().get());
- }
-}
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/ProfilingUnitTest.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/ProfilingUnitTest.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/ProfilingUnitTest.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/ProfilingUnitTest.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,71 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.smooks;
+
+import junit.framework.TestCase;
+import org.jboss.internal.soa.esb.util.StreamUtils;
+import org.jboss.soa.esb.client.ServiceInvoker;
+import org.jboss.soa.esb.couriers.FaultMessageException;
+import org.jboss.soa.esb.listeners.message.MessageDeliverException;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.Properties;
+import org.jboss.soa.esb.message.format.MessageFactory;
+import org.jboss.soa.esb.services.registry.RegistryException;
+import org.jboss.soa.esb.testutils.ESBConfigUtil;
+
+/**
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class ProfilingUnitTest extends TestCase {
+
+ private ESBConfigUtil esbConfig;
+ private byte[] personXmlBytes = StreamUtils.readStream(SourceResultUnitTest.class.getResourceAsStream("message/person.xml"));
+
+ protected void setUp() throws Exception {
+ esbConfig = new ESBConfigUtil(getClass().getResourceAsStream("profiling-esb.xml"));
+ esbConfig.setESBProperties(getClass().getResourceAsStream("jbossesb-properties.xml"));
+ esbConfig.installRegistry();
+ esbConfig.startController();
+ }
+
+ protected void tearDown() throws Exception {
+ esbConfig.stopController();
+ esbConfig.uninstallRegistry();
+ esbConfig.resetESBProperties();
+ }
+
+ public void test() throws RegistryException, FaultMessageException, MessageDeliverException {
+ test("profile1", "<someone called=\"Tom Fennelly\" is=\"21\">");
+ test("profile2", "<person name=\"Tom Fennelly\" age=\"21\">");
+ }
+
+ private void test(String profile, String expected) throws MessageDeliverException, RegistryException, FaultMessageException {
+ ServiceInvoker invoker = new ServiceInvoker("Transform", "String");
+ Message message = MessageFactory.getInstance().getMessage();
+
+ // Create the message and set the profile on it...
+ message.getBody().add(new String(personXmlBytes));
+ message.getProperties().setProperty(Properties.MESSAGE_PROFILE, profile);
+
+ message = invoker.deliverSync(message, 30000);
+
+ assertEquals(expected, message.getBody().get());
+ }
+}
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SmooksActionUnitTest.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SmooksActionUnitTest.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SmooksActionUnitTest.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,181 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source Copyright 2006, JBoss Inc., and
- * individual contributors as indicated by the @authors tag. See the
- * copyright.txt in the distribution for a full listing of individual
- * contributors.
- *
- * This is free software; you can redistribute it and/or modify it under the
- * terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This software is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this software; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF
- * site: http://www.fsf.org.
- */
-package org.jboss.soa.esb.smooks;
-
-import static org.junit.Assert.*;
-
-import java.util.Hashtable;
-import java.util.Map;
-
-import org.jboss.soa.esb.ConfigurationException;
-import org.jboss.soa.esb.actions.ActionProcessingException;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.esb.message.MessagePayloadProxy;
-import org.jboss.soa.esb.message.format.MessageFactory;
-import org.junit.Before;
-import org.junit.Test;
-
-import junit.framework.JUnit4TestAdapter;
-
-/**
- * Unit test for {@link org.jboss.soa.esb.smooks.SmooksAction}
- *
- * @author <a href="mailto:daniel.bevenius at gmail.com">Daniel Bevenius</a>
- *
- */
-public class SmooksActionUnitTest
-{
- private String expectedString = "<test></test>";
- private ConfigTree config;
-
- @Test
- public void process() throws ConfigurationException, ActionProcessingException
- {
- SmooksAction action = new SmooksAction( config );
- Message message = MessageFactory.getInstance().getMessage();
- message.getBody().add( expectedString );
-
- Message process = action.process( message );
-
- String actualString = (String)process.getBody().get();
- assertEquals( expectedString, actualString );
- }
-
- @Test
- public void processWithPayloadLocation() throws ConfigurationException, ActionProcessingException
- {
- config.setAttribute( MessagePayloadProxy.GET_PAYLOAD_LOCATION, "input" );
- SmooksAction action = new SmooksAction( config );
- Message message = MessageFactory.getInstance().getMessage();
- message.getBody().add( "input", expectedString );
-
- Message process = action.process( message );
-
- String actualString = (String)process.getBody().get();
- assertEquals( expectedString, actualString );
- }
-
- @Test
- public void processWithOutLocation() throws ConfigurationException, ActionProcessingException
- {
- config.setAttribute( MessagePayloadProxy.SET_PAYLOAD_LOCATION, "output" );
- SmooksAction action = new SmooksAction( config );
- Message message = MessageFactory.getInstance().getMessage();
- message.getBody().add( expectedString );
-
- Message process = action.process( message );
-
- String actualString = (String)process.getBody().get( "output" );
- assertEquals( expectedString, actualString );
- }
-
- @Test
- public void getExecutionContextAttributes() throws ConfigurationException, ActionProcessingException
- {
- SmooksAction action = new SmooksAction( config );
- Message message = MessageFactory.getInstance().getMessage();
- message.getBody().add( expectedString );
-
- Message process = action.process( message );
-
- Object object = process.getBody().get( SmooksAction.EXECUTION_CONTEXT_ATTR_MAP_KEY );
- assertTrue( object instanceof Map );
- }
-
- @Test
- @SuppressWarnings("unchecked")
- public void getExecutionContextAttributesNonSerializable() throws ConfigurationException, ActionProcessingException
- {
- Map map = new Hashtable();
- map.put( "test1", "testing" );
- map.put( "test2", new NonSerializableClass() );
- SmooksAction action = new SmooksAction( config );
-
- Map serializableObjects = action.getSerializableObjectsMap( map );
-
- assertTrue( serializableObjects.containsKey( "test1" ));
- assertTrue( !serializableObjects.containsKey( "test2" ));
- }
-
- @Test
- @SuppressWarnings("unchecked")
- public void getExecutionContextAttributesWithSerializable() throws ConfigurationException, ActionProcessingException
- {
- Map map = new Hashtable();
- map.put( "test1", "testing" );
- map.put( "test2", new NonSerializableClass() );
- config.setAttribute( "excludeNonSerializables", "false" );
- SmooksAction action = new SmooksAction( config );
-
- Map serializableObjects = action.getSerializableObjectsMap( map );
-
- assertTrue( serializableObjects.containsKey( "test1" ));
- assertTrue( serializableObjects.containsKey( "test2" ));
- }
-
- @Test
- public void ConstructorResultType() throws ConfigurationException, ActionProcessingException
- {
- config.setAttribute( "resultType", "STRING" );
- new SmooksAction( config );
- config.setAttribute( "resultType", "BYTES" );
- new SmooksAction( config );
- config.setAttribute( "resultType", "JAVA" );
- new SmooksAction( config );
- config.setAttribute( "resultType", "NORESULT" );
- new SmooksAction( config );
-
- config.setAttribute( "resultType", "BLAHHH" );
- try {
- new SmooksAction( config );
- fail("Expected ConfigurationException");
- } catch (ConfigurationException e) {
- assertEquals("Invalid 'resultType' config value 'BLAHHH'. Valid values are: [STRING, BYTES, JAVA, NORESULT]", e.getMessage());
- }
- }
-
- @Before
- public void setup()
- {
- config = createConfigTree();
-
- }
-
- public static junit.framework.Test suite()
- {
- return new JUnit4TestAdapter( SmooksActionUnitTest.class );
- }
-
- private ConfigTree createConfigTree()
- {
- ConfigTree config = new ConfigTree( "SmooksActionTest" );
- config.setAttribute( "smooksConfig", "/org/jboss/soa/esb/smooks/smooks-config.xml");
- return config;
- }
-
- private static class NonSerializableClass
- {
-
- }
-
-}
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SmooksActionUnitTest.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SmooksActionUnitTest.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SmooksActionUnitTest.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SmooksActionUnitTest.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,181 @@
+/*
+ * JBoss, Home of Professional Open Source Copyright 2006, JBoss Inc., and
+ * individual contributors as indicated by the @authors tag. See the
+ * copyright.txt in the distribution for a full listing of individual
+ * contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it under the
+ * terms of the GNU Lesser General Public License as published by the Free
+ * Software Foundation; either version 2.1 of the License, or (at your option)
+ * any later version.
+ *
+ * This software is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this software; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF
+ * site: http://www.fsf.org.
+ */
+package org.jboss.soa.esb.smooks;
+
+import static org.junit.Assert.*;
+
+import java.util.Hashtable;
+import java.util.Map;
+
+import org.jboss.soa.esb.ConfigurationException;
+import org.jboss.soa.esb.actions.ActionProcessingException;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.MessagePayloadProxy;
+import org.jboss.soa.esb.message.format.MessageFactory;
+import org.junit.Before;
+import org.junit.Test;
+
+import junit.framework.JUnit4TestAdapter;
+
+/**
+ * Unit test for {@link org.jboss.soa.esb.smooks.SmooksAction}
+ *
+ * @author <a href="mailto:daniel.bevenius at gmail.com">Daniel Bevenius</a>
+ *
+ */
+public class SmooksActionUnitTest
+{
+ private String expectedString = "<test></test>";
+ private ConfigTree config;
+
+ @Test
+ public void process() throws ConfigurationException, ActionProcessingException
+ {
+ SmooksAction action = new SmooksAction( config );
+ Message message = MessageFactory.getInstance().getMessage();
+ message.getBody().add( expectedString );
+
+ Message process = action.process( message );
+
+ String actualString = (String)process.getBody().get();
+ assertEquals( expectedString, actualString );
+ }
+
+ @Test
+ public void processWithPayloadLocation() throws ConfigurationException, ActionProcessingException
+ {
+ config.setAttribute( MessagePayloadProxy.GET_PAYLOAD_LOCATION, "input" );
+ SmooksAction action = new SmooksAction( config );
+ Message message = MessageFactory.getInstance().getMessage();
+ message.getBody().add( "input", expectedString );
+
+ Message process = action.process( message );
+
+ String actualString = (String)process.getBody().get();
+ assertEquals( expectedString, actualString );
+ }
+
+ @Test
+ public void processWithOutLocation() throws ConfigurationException, ActionProcessingException
+ {
+ config.setAttribute( MessagePayloadProxy.SET_PAYLOAD_LOCATION, "output" );
+ SmooksAction action = new SmooksAction( config );
+ Message message = MessageFactory.getInstance().getMessage();
+ message.getBody().add( expectedString );
+
+ Message process = action.process( message );
+
+ String actualString = (String)process.getBody().get( "output" );
+ assertEquals( expectedString, actualString );
+ }
+
+ @Test
+ public void getExecutionContextAttributes() throws ConfigurationException, ActionProcessingException
+ {
+ SmooksAction action = new SmooksAction( config );
+ Message message = MessageFactory.getInstance().getMessage();
+ message.getBody().add( expectedString );
+
+ Message process = action.process( message );
+
+ Object object = process.getBody().get( SmooksAction.EXECUTION_CONTEXT_ATTR_MAP_KEY );
+ assertTrue( object instanceof Map );
+ }
+
+ @Test
+ @SuppressWarnings("unchecked")
+ public void getExecutionContextAttributesNonSerializable() throws ConfigurationException, ActionProcessingException
+ {
+ Map map = new Hashtable();
+ map.put( "test1", "testing" );
+ map.put( "test2", new NonSerializableClass() );
+ SmooksAction action = new SmooksAction( config );
+
+ Map serializableObjects = action.getSerializableObjectsMap( map );
+
+ assertTrue( serializableObjects.containsKey( "test1" ));
+ assertTrue( !serializableObjects.containsKey( "test2" ));
+ }
+
+ @Test
+ @SuppressWarnings("unchecked")
+ public void getExecutionContextAttributesWithSerializable() throws ConfigurationException, ActionProcessingException
+ {
+ Map map = new Hashtable();
+ map.put( "test1", "testing" );
+ map.put( "test2", new NonSerializableClass() );
+ config.setAttribute( "excludeNonSerializables", "false" );
+ SmooksAction action = new SmooksAction( config );
+
+ Map serializableObjects = action.getSerializableObjectsMap( map );
+
+ assertTrue( serializableObjects.containsKey( "test1" ));
+ assertTrue( serializableObjects.containsKey( "test2" ));
+ }
+
+ @Test
+ public void ConstructorResultType() throws ConfigurationException, ActionProcessingException
+ {
+ config.setAttribute( "resultType", "STRING" );
+ new SmooksAction( config );
+ config.setAttribute( "resultType", "BYTES" );
+ new SmooksAction( config );
+ config.setAttribute( "resultType", "JAVA" );
+ new SmooksAction( config );
+ config.setAttribute( "resultType", "NORESULT" );
+ new SmooksAction( config );
+
+ config.setAttribute( "resultType", "BLAHHH" );
+ try {
+ new SmooksAction( config );
+ fail("Expected ConfigurationException");
+ } catch (ConfigurationException e) {
+ assertEquals("Invalid 'resultType' config value 'BLAHHH'. Valid values are: [STRING, BYTES, JAVA, NORESULT]", e.getMessage());
+ }
+ }
+
+ @Before
+ public void setup()
+ {
+ config = createConfigTree();
+
+ }
+
+ public static junit.framework.Test suite()
+ {
+ return new JUnit4TestAdapter( SmooksActionUnitTest.class );
+ }
+
+ private ConfigTree createConfigTree()
+ {
+ ConfigTree config = new ConfigTree( "SmooksActionTest" );
+ config.setAttribute( "smooksConfig", "/org/jboss/soa/esb/smooks/smooks-config.xml");
+ return config;
+ }
+
+ private static class NonSerializableClass
+ {
+
+ }
+
+}
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SourceResultUnitTest.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SourceResultUnitTest.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SourceResultUnitTest.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,149 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.soa.esb.smooks;
-
-import junit.framework.TestCase;
-import org.jboss.internal.soa.esb.util.StreamUtils;
-import org.jboss.soa.esb.smooks.message.Person1;
-import org.jboss.soa.esb.smooks.message.Person2;
-import org.jboss.soa.esb.client.ServiceInvoker;
-import org.jboss.soa.esb.couriers.FaultMessageException;
-import org.jboss.soa.esb.listeners.message.MessageDeliverException;
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.esb.message.format.MessageFactory;
-import org.jboss.soa.esb.services.registry.RegistryException;
-import org.jboss.soa.esb.testutils.ESBConfigUtil;
-import org.milyn.container.plugin.SourceResult;
-import org.milyn.payload.ByteSource;
-import org.milyn.payload.StringResult;
-
-import java.io.ByteArrayInputStream;
-import java.io.StringReader;
-
-/**
- * More SmooksAction unit tests.
- *
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
-public class SourceResultUnitTest extends TestCase {
-
- private ESBConfigUtil esbConfig;
- private byte[] personXmlBytes = StreamUtils.readStream(SourceResultUnitTest.class.getResourceAsStream("message/person.xml"));
-
- protected void setUp() throws Exception {
- esbConfig = new ESBConfigUtil(getClass().getResourceAsStream("source-result-esb.xml"));
- esbConfig.setESBProperties(getClass().getResourceAsStream("jbossesb-properties.xml"));
- esbConfig.installRegistry();
- esbConfig.startController();
- }
-
- protected void tearDown() throws Exception {
- esbConfig.stopController();
- esbConfig.uninstallRegistry();
- esbConfig.resetESBProperties();
- }
-
- public void test_String2String() throws MessageDeliverException, RegistryException, FaultMessageException {
- ServiceInvoker invoker = new ServiceInvoker("Transform", "String");
- Message message = MessageFactory.getInstance().getMessage();
-
- message.getBody().add(new String(personXmlBytes));
- message = invoker.deliverSync(message, 30000);
-
- assertEquals("<someone called=\"Tom Fennelly\" is=\"21\">", message.getBody().get());
- }
-
- public void test_bytes2String() throws MessageDeliverException, RegistryException, FaultMessageException {
- ServiceInvoker invoker = new ServiceInvoker("Transform", "String");
- Message message = MessageFactory.getInstance().getMessage();
-
- message.getBody().add(personXmlBytes);
- message = invoker.deliverSync(message, 30000);
-
- assertEquals("<someone called=\"Tom Fennelly\" is=\"21\">", message.getBody().get());
- }
-
- public void test_InputStream2String() throws MessageDeliverException, RegistryException, FaultMessageException {
- ServiceInvoker invoker = new ServiceInvoker("Transform", "String");
- Message message = MessageFactory.getInstance().getMessage();
-
- message.getBody().add(new ByteArrayInputStream(personXmlBytes));
- message = invoker.deliverSync(message, 30000);
-
- assertEquals("<someone called=\"Tom Fennelly\" is=\"21\">", message.getBody().get());
- }
-
- public void test_Reader2String() throws MessageDeliverException, RegistryException, FaultMessageException {
- ServiceInvoker invoker = new ServiceInvoker("Transform", "String");
- Message message = MessageFactory.getInstance().getMessage();
-
- message.getBody().add(new StringReader(new String(personXmlBytes)));
- message = invoker.deliverSync(message, 30000);
-
- assertEquals("<someone called=\"Tom Fennelly\" is=\"21\">", message.getBody().get());
- }
-
- public void test_String2Bytes() throws MessageDeliverException, RegistryException, FaultMessageException {
- ServiceInvoker invoker = new ServiceInvoker("Transform", "Bytes");
- Message message = MessageFactory.getInstance().getMessage();
-
- message.getBody().add(new String(personXmlBytes));
- message = invoker.deliverSync(message, 30000);
-
- assertEquals("<someone called=\"Tom Fennelly\" is=\"21\">", new String((byte[]) message.getBody().get()));
- }
-
- public void test_Object2String() throws MessageDeliverException, RegistryException, FaultMessageException {
- ServiceInvoker invoker = new ServiceInvoker("Transform", "Person");
- Message message = MessageFactory.getInstance().getMessage();
-
- message.getBody().add(new Person1("Tom", 300));
- message = invoker.deliverSync(message, 30000);
-
- assertEquals("<someone called=\"Tom\" is=\"300\">", message.getBody().get());
- }
-
- public void test_Object2Object() throws MessageDeliverException, RegistryException, FaultMessageException {
- ServiceInvoker invoker = new ServiceInvoker("Transform", "Person2Person");
- Message message = MessageFactory.getInstance().getMessage();
-
- message.getBody().add(new Person1("Tom", 300));
- message = invoker.deliverSync(message, 30000);
-
- Person2 person2 = (Person2) message.getBody().get();
- assertEquals("Tom", person2.getName());
- assertEquals(300, person2.getAge());
- }
-
- public void test_SourceResult() throws MessageDeliverException, RegistryException, FaultMessageException {
- ServiceInvoker invoker = new ServiceInvoker("Transform", "String");
- Message message = MessageFactory.getInstance().getMessage();
- SourceResult sourceResult = new SourceResult();
- StringResult result = new StringResult();
-
- sourceResult.setSource(new ByteSource(personXmlBytes));
- sourceResult.setResult(result);
-
- message.getBody().add(sourceResult);
- message = invoker.deliverSync(message, 30000);
-
- assertEquals("<someone called=\"Tom Fennelly\" is=\"21\">", result.getResult());
- }
-}
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SourceResultUnitTest.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SourceResultUnitTest.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SourceResultUnitTest.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/SourceResultUnitTest.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,149 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.smooks;
+
+import junit.framework.TestCase;
+import org.jboss.internal.soa.esb.util.StreamUtils;
+import org.jboss.soa.esb.smooks.message.Person1;
+import org.jboss.soa.esb.smooks.message.Person2;
+import org.jboss.soa.esb.client.ServiceInvoker;
+import org.jboss.soa.esb.couriers.FaultMessageException;
+import org.jboss.soa.esb.listeners.message.MessageDeliverException;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.format.MessageFactory;
+import org.jboss.soa.esb.services.registry.RegistryException;
+import org.jboss.soa.esb.testutils.ESBConfigUtil;
+import org.milyn.container.plugin.SourceResult;
+import org.milyn.payload.ByteSource;
+import org.milyn.payload.StringResult;
+
+import java.io.ByteArrayInputStream;
+import java.io.StringReader;
+
+/**
+ * More SmooksAction unit tests.
+ *
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class SourceResultUnitTest extends TestCase {
+
+ private ESBConfigUtil esbConfig;
+ private byte[] personXmlBytes = StreamUtils.readStream(SourceResultUnitTest.class.getResourceAsStream("message/person.xml"));
+
+ protected void setUp() throws Exception {
+ esbConfig = new ESBConfigUtil(getClass().getResourceAsStream("source-result-esb.xml"));
+ esbConfig.setESBProperties(getClass().getResourceAsStream("jbossesb-properties.xml"));
+ esbConfig.installRegistry();
+ esbConfig.startController();
+ }
+
+ protected void tearDown() throws Exception {
+ esbConfig.stopController();
+ esbConfig.uninstallRegistry();
+ esbConfig.resetESBProperties();
+ }
+
+ public void test_String2String() throws MessageDeliverException, RegistryException, FaultMessageException {
+ ServiceInvoker invoker = new ServiceInvoker("Transform", "String");
+ Message message = MessageFactory.getInstance().getMessage();
+
+ message.getBody().add(new String(personXmlBytes));
+ message = invoker.deliverSync(message, 30000);
+
+ assertEquals("<someone called=\"Tom Fennelly\" is=\"21\">", message.getBody().get());
+ }
+
+ public void test_bytes2String() throws MessageDeliverException, RegistryException, FaultMessageException {
+ ServiceInvoker invoker = new ServiceInvoker("Transform", "String");
+ Message message = MessageFactory.getInstance().getMessage();
+
+ message.getBody().add(personXmlBytes);
+ message = invoker.deliverSync(message, 30000);
+
+ assertEquals("<someone called=\"Tom Fennelly\" is=\"21\">", message.getBody().get());
+ }
+
+ public void test_InputStream2String() throws MessageDeliverException, RegistryException, FaultMessageException {
+ ServiceInvoker invoker = new ServiceInvoker("Transform", "String");
+ Message message = MessageFactory.getInstance().getMessage();
+
+ message.getBody().add(new ByteArrayInputStream(personXmlBytes));
+ message = invoker.deliverSync(message, 30000);
+
+ assertEquals("<someone called=\"Tom Fennelly\" is=\"21\">", message.getBody().get());
+ }
+
+ public void test_Reader2String() throws MessageDeliverException, RegistryException, FaultMessageException {
+ ServiceInvoker invoker = new ServiceInvoker("Transform", "String");
+ Message message = MessageFactory.getInstance().getMessage();
+
+ message.getBody().add(new StringReader(new String(personXmlBytes)));
+ message = invoker.deliverSync(message, 30000);
+
+ assertEquals("<someone called=\"Tom Fennelly\" is=\"21\">", message.getBody().get());
+ }
+
+ public void test_String2Bytes() throws MessageDeliverException, RegistryException, FaultMessageException {
+ ServiceInvoker invoker = new ServiceInvoker("Transform", "Bytes");
+ Message message = MessageFactory.getInstance().getMessage();
+
+ message.getBody().add(new String(personXmlBytes));
+ message = invoker.deliverSync(message, 30000);
+
+ assertEquals("<someone called=\"Tom Fennelly\" is=\"21\">", new String((byte[]) message.getBody().get()));
+ }
+
+ public void test_Object2String() throws MessageDeliverException, RegistryException, FaultMessageException {
+ ServiceInvoker invoker = new ServiceInvoker("Transform", "Person");
+ Message message = MessageFactory.getInstance().getMessage();
+
+ message.getBody().add(new Person1("Tom", 300));
+ message = invoker.deliverSync(message, 30000);
+
+ assertEquals("<someone called=\"Tom\" is=\"300\">", message.getBody().get());
+ }
+
+ public void test_Object2Object() throws MessageDeliverException, RegistryException, FaultMessageException {
+ ServiceInvoker invoker = new ServiceInvoker("Transform", "Person2Person");
+ Message message = MessageFactory.getInstance().getMessage();
+
+ message.getBody().add(new Person1("Tom", 300));
+ message = invoker.deliverSync(message, 30000);
+
+ Person2 person2 = (Person2) message.getBody().get();
+ assertEquals("Tom", person2.getName());
+ assertEquals(300, person2.getAge());
+ }
+
+ public void test_SourceResult() throws MessageDeliverException, RegistryException, FaultMessageException {
+ ServiceInvoker invoker = new ServiceInvoker("Transform", "String");
+ Message message = MessageFactory.getInstance().getMessage();
+ SourceResult sourceResult = new SourceResult();
+ StringResult result = new StringResult();
+
+ sourceResult.setSource(new ByteSource(personXmlBytes));
+ sourceResult.setResult(result);
+
+ message.getBody().add(sourceResult);
+ message = invoker.deliverSync(message, 30000);
+
+ assertEquals("<someone called=\"Tom Fennelly\" is=\"21\">", result.getResult());
+ }
+}
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/jbossesb-properties.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/jbossesb-properties.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/jbossesb-properties.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,86 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2006, JBoss Inc., and others contributors as indicated
- by the @authors tag. All rights reserved.
- See the copyright.txt in the distribution for a
- full listing of individual contributors.
- This copyrighted material is made available to anyone wishing to use,
- modify, copy, or redistribute it subject to the terms and conditions
- of the GNU Lesser General Public License, v. 2.1.
- This program is distributed in the hope that it will be useful, but WITHOUT A
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- You should have received a copy of the GNU Lesser General Public License,
- v.2.1 along with this distribution; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- (C) 2005-2006,
- @author JBoss Inc.
--->
-<!-- $Id: jbossesb-unittest-properties.xml $ -->
-<!--
- These options are described in the JBossESB manual.
- Defaults are provided here for convenience only.
-
- Please read through this file prior to using the system, and consider
- updating the specified entries.
--->
-<esb
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="jbossesb-1_0.xsd">
- <properties name="core">
- <property name="org.jboss.soa.esb.jndi.server.url" value="localhost"/>
- <property name="org.jboss.soa.esb.jndi.server.context.factory" value="org.jnp.interfaces.NamingContextFactory"/>
- <property name="org.jboss.soa.esb.jndi.server.pkg.prefix" value=""/>
- <property name="org.jboss.soa.esb.persistence.connection.factory" value="org.jboss.internal.soa.esb.persistence.format.MessageStoreFactoryImpl"/>
- <property name="jboss.esb.invm.scope.default" value="NONE"/>
- </properties>
- <properties name="registry">
- <property name="org.jboss.soa.esb.registry.queryManagerURI" value="org.apache.juddi.registry.local.InquiryService#inquire"/>
- <property name="org.jboss.soa.esb.registry.lifeCycleManagerURI" value="org.apache.juddi.registry.local.PublishService#publish"/>
- <property name="org.jboss.soa.esb.registry.implementationClass" value="org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl"/>
- <property name="org.jboss.soa.esb.registry.factoryClass" value="org.apache.ws.scout.registry.ConnectionFactoryImpl"/>
- <property name="org.jboss.soa.esb.registry.user" value="jbossesb"/>
- <property name="org.jboss.soa.esb.registry.password" value="password"/>
- <!-- the following parameter is scout specific to set the type of communication between scout and the UDDI (embedded, rmi, soap) -->
- <property name="org.jboss.soa.esb.scout.proxy.transportClass" value="org.apache.ws.scout.transport.LocalTransport"/>
- </properties>
- <properties name="transports" depends="core">
- <property name="org.jboss.soa.esb.mail.smtp.host" value="localhost"/>
- <property name="org.jboss.soa.esb.mail.smtp.user" value="jbossesb"/>
- <property name="org.jboss.soa.esb.mail.smtp.password" value=""/>
- <property name="org.jboss.soa.esb.mail.smtp.port" value="25"/>
- </properties>
- <properties name="connection">
- <property name="min-pool-size" value="5"/>
- <property name="max-pool=size" value="10"/>
- <property name="blocking-timeout-millis" value="5000"/>
- <property name="abandoned-connection-timeout" value="10000"/>
- <property name="abandoned-connection-time-interval" value="30000"/>
- </properties>
- <properties name="dbstore">
- <!-- connection manager type -->
- <property name="org.jboss.soa.esb.persistence.db.conn.manager" value="org.jboss.internal.soa.esb.persistence.manager.StandaloneConnectionManager"/>
- <!-- property name="org.jboss.soa.esb.persistence.db.conn.manager" value="org.jboss.internal.soa.esb.persistence.manager.J2eeConnectionManager"/ -->
-
- <!-- this property is only used if using the j2ee connection manager -->
- <property name="org.jboss.soa.esb.persistence.db.datasource.name" value="java:/JBossesbDS"/>
-
- <!-- standalone connection pooling settings -->
- <property name="org.jboss.soa.esb.persistence.db.connection.url" value="jdbc:hsqldb:hsql://localhost:9001/juddi"/>
- <property name="org.jboss.soa.esb.persistence.db.jdbc.driver" value="org.hsqldb.jdbcDriver"/>
- <property name="org.jboss.soa.esb.persistence.db.user" value="sa"/>
- <property name="org.jboss.soa.esb.persistence.db.pwd" value=""/>
- <property name="org.jboss.soa.esb.persistence.db.pool.initial.size" value="2"/>
- <property name="org.jboss.soa.esb.persistence.db.pool.min.size" value="2"/>
- <property name="org.jboss.soa.esb.persistence.db.pool.max.size" value="5"/>
- <!--table managed by pool to test for valid connections - created by pool automatically -->
- <property name="org.jboss.soa.esb.persistence.db.pool.test.table" value="pooltest"/>
- <property name="org.jboss.soa.esb.persistence.db.pool.timeout.millis" value="5000"/>
- </properties>
- <properties name="messagerouting">
- <property name="org.jboss.soa.esb.routing.cbrClass" value="org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter"/>
- </properties>
-</esb>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/jbossesb-properties.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/jbossesb-properties.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/jbossesb-properties.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/jbossesb-properties.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2006, JBoss Inc., and others contributors as indicated
+ by the @authors tag. All rights reserved.
+ See the copyright.txt in the distribution for a
+ full listing of individual contributors.
+ This copyrighted material is made available to anyone wishing to use,
+ modify, copy, or redistribute it subject to the terms and conditions
+ of the GNU Lesser General Public License, v. 2.1.
+ This program is distributed in the hope that it will be useful, but WITHOUT A
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ You should have received a copy of the GNU Lesser General Public License,
+ v.2.1 along with this distribution; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ MA 02110-1301, USA.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<!-- $Id: jbossesb-unittest-properties.xml $ -->
+<!--
+ These options are described in the JBossESB manual.
+ Defaults are provided here for convenience only.
+
+ Please read through this file prior to using the system, and consider
+ updating the specified entries.
+-->
+<esb
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="jbossesb-1_0.xsd">
+ <properties name="core">
+ <property name="org.jboss.soa.esb.jndi.server.url" value="localhost"/>
+ <property name="org.jboss.soa.esb.jndi.server.context.factory" value="org.jnp.interfaces.NamingContextFactory"/>
+ <property name="org.jboss.soa.esb.jndi.server.pkg.prefix" value=""/>
+ <property name="org.jboss.soa.esb.persistence.connection.factory" value="org.jboss.internal.soa.esb.persistence.format.MessageStoreFactoryImpl"/>
+ <property name="jboss.esb.invm.scope.default" value="NONE"/>
+ </properties>
+ <properties name="registry">
+ <property name="org.jboss.soa.esb.registry.queryManagerURI" value="org.apache.juddi.registry.local.InquiryService#inquire"/>
+ <property name="org.jboss.soa.esb.registry.lifeCycleManagerURI" value="org.apache.juddi.registry.local.PublishService#publish"/>
+ <property name="org.jboss.soa.esb.registry.implementationClass" value="org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl"/>
+ <property name="org.jboss.soa.esb.registry.factoryClass" value="org.apache.ws.scout.registry.ConnectionFactoryImpl"/>
+ <property name="org.jboss.soa.esb.registry.user" value="jbossesb"/>
+ <property name="org.jboss.soa.esb.registry.password" value="password"/>
+ <!-- the following parameter is scout specific to set the type of communication between scout and the UDDI (embedded, rmi, soap) -->
+ <property name="org.jboss.soa.esb.scout.proxy.transportClass" value="org.apache.ws.scout.transport.LocalTransport"/>
+ </properties>
+ <properties name="transports" depends="core">
+ <property name="org.jboss.soa.esb.mail.smtp.host" value="localhost"/>
+ <property name="org.jboss.soa.esb.mail.smtp.user" value="jbossesb"/>
+ <property name="org.jboss.soa.esb.mail.smtp.password" value=""/>
+ <property name="org.jboss.soa.esb.mail.smtp.port" value="25"/>
+ </properties>
+ <properties name="connection">
+ <property name="min-pool-size" value="5"/>
+ <property name="max-pool=size" value="10"/>
+ <property name="blocking-timeout-millis" value="5000"/>
+ <property name="abandoned-connection-timeout" value="10000"/>
+ <property name="abandoned-connection-time-interval" value="30000"/>
+ </properties>
+ <properties name="dbstore">
+ <!-- connection manager type -->
+ <property name="org.jboss.soa.esb.persistence.db.conn.manager" value="org.jboss.internal.soa.esb.persistence.manager.StandaloneConnectionManager"/>
+ <!-- property name="org.jboss.soa.esb.persistence.db.conn.manager" value="org.jboss.internal.soa.esb.persistence.manager.J2eeConnectionManager"/ -->
+
+ <!-- this property is only used if using the j2ee connection manager -->
+ <property name="org.jboss.soa.esb.persistence.db.datasource.name" value="java:/JBossesbDS"/>
+
+ <!-- standalone connection pooling settings -->
+ <property name="org.jboss.soa.esb.persistence.db.connection.url" value="jdbc:hsqldb:hsql://localhost:9001/juddi"/>
+ <property name="org.jboss.soa.esb.persistence.db.jdbc.driver" value="org.hsqldb.jdbcDriver"/>
+ <property name="org.jboss.soa.esb.persistence.db.user" value="sa"/>
+ <property name="org.jboss.soa.esb.persistence.db.pwd" value=""/>
+ <property name="org.jboss.soa.esb.persistence.db.pool.initial.size" value="2"/>
+ <property name="org.jboss.soa.esb.persistence.db.pool.min.size" value="2"/>
+ <property name="org.jboss.soa.esb.persistence.db.pool.max.size" value="5"/>
+ <!--table managed by pool to test for valid connections - created by pool automatically -->
+ <property name="org.jboss.soa.esb.persistence.db.pool.test.table" value="pooltest"/>
+ <property name="org.jboss.soa.esb.persistence.db.pool.timeout.millis" value="5000"/>
+ </properties>
+ <properties name="messagerouting">
+ <property name="org.jboss.soa.esb.routing.cbrClass" value="org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter"/>
+ </properties>
+</esb>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person1.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person1.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person1.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,53 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.soa.esb.smooks.message;
-
-/**
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
-public class Person1 {
-
- private String name;
- private int age;
-
- public Person1() {
- }
-
- public Person1(String name, int age) {
- this.name = name;
- this.age = age;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public int getAge() {
- return age;
- }
-
- public void setAge(int age) {
- this.age = age;
- }
-}
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person1.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person1.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person1.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person1.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.smooks.message;
+
+/**
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class Person1 {
+
+ private String name;
+ private int age;
+
+ public Person1() {
+ }
+
+ public Person1(String name, int age) {
+ this.name = name;
+ this.age = age;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public int getAge() {
+ return age;
+ }
+
+ public void setAge(int age) {
+ this.age = age;
+ }
+}
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person2.java
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person2.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person2.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,53 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.soa.esb.smooks.message;
-
-/**
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
-public class Person2 {
-
- private String name;
- private int age;
-
- public Person2() {
- }
-
- public Person2(String name, int age) {
- this.name = name;
- this.age = age;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public int getAge() {
- return age;
- }
-
- public void setAge(int age) {
- this.age = age;
- }
-}
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person2.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person2.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person2.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/Person2.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.smooks.message;
+
+/**
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class Person2 {
+
+ private String name;
+ private int age;
+
+ public Person2() {
+ }
+
+ public Person2(String name, int age) {
+ this.name = name;
+ this.age = age;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public int getAge() {
+ return age;
+ }
+
+ public void setAge(int age) {
+ this.age = age;
+ }
+}
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/person.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/person.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/person.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,4 +0,0 @@
-<person>
- <name>Tom Fennelly</name>
- <age>21</age>
-</person>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/person.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/person.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/person.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/message/person.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,4 @@
+<person>
+ <name>Tom Fennelly</name>
+ <age>21</age>
+</person>
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-esb.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,14 +0,0 @@
-<?xml version = "1.0" encoding = "UTF-8"?>
-<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd">
-
- <services>
- <service category="Transform" name="String" description="StringTest" invmScope="GLOBAL">
- <actions mep="RequestResponse">
- <action name="action" class="org.jboss.soa.esb.smooks.SmooksAction">
- <property name="smooksConfig" value="/org/jboss/soa/esb/smooks/profiling-smooks-01.xml" />
- </action>
- </actions>
- </service>
- </services>
-
-</jbossesb>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-esb.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-esb.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-esb.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,14 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd">
+
+ <services>
+ <service category="Transform" name="String" description="StringTest" invmScope="GLOBAL">
+ <actions mep="RequestResponse">
+ <action name="action" class="org.jboss.soa.esb.smooks.SmooksAction">
+ <property name="smooksConfig" value="/org/jboss/soa/esb/smooks/profiling-smooks-01.xml" />
+ </action>
+ </actions>
+ </service>
+ </services>
+
+</jbossesb>
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-smooks-01.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-smooks-01.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-smooks-01.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <profiles>
- <profile base-profile="profile1" sub-profiles="common" />
- <profile base-profile="profile2" sub-profiles="common" />
- </profiles>
-
- <resource-config selector="person" target-profile="common">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">person</param>
- <param name="beanClass">org.jboss.soa.esb.smooks.message.Person1</param>
- <param name="bindings">
- <binding property="name" selector="person/name" />
- <binding property="age" type="Integer" selector="person/age" />
- </param>
- </resource-config>
-
- <resource-config selector="person" target-profile="profile1">
- <resource type="ftl"><!--<someone called="${person.name}" is="${person.age}">--></resource>
- </resource-config>
-
- <resource-config selector="person" target-profile="profile2">
- <resource type="ftl"><!--<person name="${person.name}" age="${person.age}">--></resource>
- </resource-config>
-
-</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-smooks-01.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-smooks-01.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-smooks-01.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/profiling-smooks-01.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <profiles>
+ <profile base-profile="profile1" sub-profiles="common" />
+ <profile base-profile="profile2" sub-profiles="common" />
+ </profiles>
+
+ <resource-config selector="person" target-profile="common">
+ <resource>org.milyn.javabean.BeanPopulator</resource>
+ <param name="beanId">person</param>
+ <param name="beanClass">org.jboss.soa.esb.smooks.message.Person1</param>
+ <param name="bindings">
+ <binding property="name" selector="person/name" />
+ <binding property="age" type="Integer" selector="person/age" />
+ </param>
+ </resource-config>
+
+ <resource-config selector="person" target-profile="profile1">
+ <resource type="ftl"><!--<someone called="${person.name}" is="${person.age}">--></resource>
+ </resource-config>
+
+ <resource-config selector="person" target-profile="profile2">
+ <resource type="ftl"><!--<person name="${person.name}" age="${person.age}">--></resource>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/smooks-config.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/smooks-config.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/smooks-config.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,8 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <resource-config selector="global-parameters">
- <param name="stream.filter.type">DOM</param>
- </resource-config>
-
-</smooks-resource-list>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/smooks-config.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/smooks-config.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/smooks-config.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/smooks-config.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <resource-config selector="global-parameters">
+ <param name="stream.filter.type">DOM</param>
+ </resource-config>
+
+</smooks-resource-list>
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-esb.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-esb.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,42 +0,0 @@
-<?xml version = "1.0" encoding = "UTF-8"?>
-<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd">
-
- <services>
- <service category="Transform" name="String" description="StringTest" invmScope="GLOBAL">
- <actions mep="RequestResponse">
- <action name="action" class="org.jboss.soa.esb.smooks.SmooksAction">
- <property name="smooksConfig" value="/org/jboss/soa/esb/smooks/source-result-smooks-01.xml" />
- </action>
- </actions>
- </service>
-
- <service category="Transform" name="Bytes" description="ObjectTest" invmScope="GLOBAL">
- <actions mep="RequestResponse">
- <action name="action" class="org.jboss.soa.esb.smooks.SmooksAction">
- <property name="smooksConfig" value="/org/jboss/soa/esb/smooks/source-result-smooks-01.xml" />
- <property name="resultType" value="BYTES" />
- </action>
- </actions>
- </service>
-
- <service category="Transform" name="Person" description="ObjectTest" invmScope="GLOBAL">
- <actions mep="RequestResponse">
- <action name="action" class="org.jboss.soa.esb.smooks.SmooksAction">
- <property name="smooksConfig" value="/org/jboss/soa/esb/smooks/source-result-smooks-02.xml" />
- </action>
- </actions>
- </service>
-
- <service category="Transform" name="Person2Person" description="ObjectTest" invmScope="GLOBAL">
- <actions mep="RequestResponse">
- <action name="action" class="org.jboss.soa.esb.smooks.SmooksAction">
- <property name="smooksConfig" value="/org/jboss/soa/esb/smooks/source-result-smooks-02.xml" />
- <property name="resultType" value="JAVA" />
- <property name="javaResultBeanId" value="person" />
- </action>
- </actions>
- </service>
-
- </services>
-
-</jbossesb>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-esb.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-esb.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-esb.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-esb.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,42 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd">
+
+ <services>
+ <service category="Transform" name="String" description="StringTest" invmScope="GLOBAL">
+ <actions mep="RequestResponse">
+ <action name="action" class="org.jboss.soa.esb.smooks.SmooksAction">
+ <property name="smooksConfig" value="/org/jboss/soa/esb/smooks/source-result-smooks-01.xml" />
+ </action>
+ </actions>
+ </service>
+
+ <service category="Transform" name="Bytes" description="ObjectTest" invmScope="GLOBAL">
+ <actions mep="RequestResponse">
+ <action name="action" class="org.jboss.soa.esb.smooks.SmooksAction">
+ <property name="smooksConfig" value="/org/jboss/soa/esb/smooks/source-result-smooks-01.xml" />
+ <property name="resultType" value="BYTES" />
+ </action>
+ </actions>
+ </service>
+
+ <service category="Transform" name="Person" description="ObjectTest" invmScope="GLOBAL">
+ <actions mep="RequestResponse">
+ <action name="action" class="org.jboss.soa.esb.smooks.SmooksAction">
+ <property name="smooksConfig" value="/org/jboss/soa/esb/smooks/source-result-smooks-02.xml" />
+ </action>
+ </actions>
+ </service>
+
+ <service category="Transform" name="Person2Person" description="ObjectTest" invmScope="GLOBAL">
+ <actions mep="RequestResponse">
+ <action name="action" class="org.jboss.soa.esb.smooks.SmooksAction">
+ <property name="smooksConfig" value="/org/jboss/soa/esb/smooks/source-result-smooks-02.xml" />
+ <property name="resultType" value="JAVA" />
+ <property name="javaResultBeanId" value="person" />
+ </action>
+ </actions>
+ </service>
+
+ </services>
+
+</jbossesb>
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-01.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-01.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-01.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,18 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <resource-config selector="person">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">person</param>
- <param name="beanClass">org.jboss.soa.esb.smooks.message.Person1</param>
- <param name="bindings">
- <binding property="name" selector="person/name" />
- <binding property="age" type="Integer" selector="person/age" />
- </param>
- </resource-config>
-
- <resource-config selector="person">
- <resource type="ftl"><!--<someone called="${person.name}" is="${person.age}">--></resource>
- </resource-config>
-
-</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-01.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-01.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-01.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-01.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <resource-config selector="person">
+ <resource>org.milyn.javabean.BeanPopulator</resource>
+ <param name="beanId">person</param>
+ <param name="beanClass">org.jboss.soa.esb.smooks.message.Person1</param>
+ <param name="bindings">
+ <binding property="name" selector="person/name" />
+ <binding property="age" type="Integer" selector="person/age" />
+ </param>
+ </resource-config>
+
+ <resource-config selector="person">
+ <resource type="ftl"><!--<someone called="${person.name}" is="${person.age}">--></resource>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-02.xml
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-02.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-02.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,18 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <resource-config selector="org.jboss.soa.esb.smooks.message.Person1">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">person</param>
- <param name="beanClass">org.jboss.soa.esb.smooks.message.Person2</param>
- <param name="bindings">
- <binding property="name" selector="org.jboss.soa.esb.smooks.message.Person1/name" />
- <binding property="age" type="Integer" selector="org.jboss.soa.esb.smooks.message.Person1/age" />
- </param>
- </resource-config>
-
- <resource-config selector="org.jboss.soa.esb.smooks.message.Person1">
- <resource type="ftl"><!--<someone called="${person.name}" is="${person.age}">--></resource>
- </resource-config>
-
-</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-02.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-02.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-02.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/smooks/src/test/java/org/jboss/soa/esb/smooks/source-result-smooks-02.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <resource-config selector="org.jboss.soa.esb.smooks.message.Person1">
+ <resource>org.milyn.javabean.BeanPopulator</resource>
+ <param name="beanId">person</param>
+ <param name="beanClass">org.jboss.soa.esb.smooks.message.Person2</param>
+ <param name="bindings">
+ <binding property="name" selector="org.jboss.soa.esb.smooks.message.Person1/name" />
+ <binding property="age" type="Integer" selector="org.jboss.soa.esb.smooks.message.Person1/age" />
+ </param>
+ </resource-config>
+
+ <resource-config selector="org.jboss.soa.esb.smooks.message.Person1">
+ <resource type="ftl"><!--<someone called="${person.name}" is="${person.age}">--></resource>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/SOAPClient.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/SOAPClient.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/SOAPClient.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -371,15 +371,20 @@
}
public Message process(final Message message) throws ActionProcessingException {
- Map params;
+ Object payload;
try {
- params = (Map) payloadProxy.getPayload(message);
+ payload = payloadProxy.getPayload(message);
} catch (MessageDeliverException e) {
- throw new ActionProcessingException("Could not locate SOAP message parameters from payload", e) ;
+ throw new ActionProcessingException("Error getting SOAP message parameters from payload.", e);
}
- if(params.isEmpty()) {
+ if (!(payload instanceof Map)) {
+ throw new ActionProcessingException("Invalid payload type in message body location '" + payloadProxy.getGetPayloadLocation() + "'. Expected 'java.util.Map', was '" + payload.getClass().getName() + "'.");
+ }
+
+ Map params = (Map) payload;
+ if (params.isEmpty()) {
logger.warn("Params Map found in message, but the map is empty.");
}
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/SoapUIInvoker.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/SoapUIInvoker.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/SoapUIInvoker.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -42,7 +42,7 @@
public SoapUIInvoker() {
// Lookup the MBean ObjectName for the soapUI service (in soapui-client.sar)...
try {
- mbeanServer = MBeanServerLocator.locate();
+ mbeanServer = MBeanServerLocator.locateJBoss();
serviceName = new ObjectName("jboss.esb:service=SoapUIClientService");
} catch (MalformedObjectNameException e) {
throw new IllegalStateException("Unexpected exception.", e);
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/test-in.wsdl
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/test-in.wsdl 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/test-in.wsdl 2008-07-07 16:11:35 UTC (rev 20943)
@@ -13,7 +13,7 @@
<message name="GoodbyeWorldWS_sayGoodbyeResponse">
<part name="result" type="xsd:string"/>
</message>
- <portType name="GoodbyeWorldWS">
+ <portType name="ReptilesNotifyWS">
<operation name="sayGoodbye" parameterOrder="String_1">
<input message="tns:GoodbyeWorldWS_sayGoodbye"/>
@@ -25,7 +25,7 @@
</operation>
</portType>
- <binding name="GoodbyeWorldWSBinding" type="tns:GoodbyeWorldWS">
+ <binding name="GoodbyeWorldWSBinding" type="tns:ReptilesNotifyWS">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="sayGoodbye">
<soap:operation soapAction=""/>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/test-out-expected-http-rewrite.wsdl
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/test-out-expected-http-rewrite.wsdl 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/test-out-expected-http-rewrite.wsdl 2008-07-07 16:11:35 UTC (rev 20943)
@@ -12,7 +12,7 @@
<message name="GoodbyeWorldWS_sayGoodbyeResponse">
<part name="result" type="xsd:string"/>
</message>
- <portType name="GoodbyeWorldWS">
+ <portType name="ReptilesNotifyWS">
<operation name="sayGoodbye" parameterOrder="String_1">
<input message="tns:GoodbyeWorldWS_sayGoodbye"/>
@@ -24,7 +24,7 @@
</operation>
</portType>
- <binding name="GoodbyeWorldWSBinding" type="tns:GoodbyeWorldWS">
+ <binding name="GoodbyeWorldWSBinding" type="tns:ReptilesNotifyWS">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="sayGoodbye">
<soap:operation soapAction=""/>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/test-out-expected.wsdl
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/test-out-expected.wsdl 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/test-out-expected.wsdl 2008-07-07 16:11:35 UTC (rev 20943)
@@ -12,7 +12,7 @@
<message name="GoodbyeWorldWS_sayGoodbyeResponse">
<part name="result" type="xsd:string"/>
</message>
- <portType name="GoodbyeWorldWS">
+ <portType name="ReptilesNotifyWS">
<operation name="sayGoodbye" parameterOrder="String_1">
<input message="tns:GoodbyeWorldWS_sayGoodbye"/>
@@ -24,7 +24,7 @@
</operation>
</portType>
- <binding name="GoodbyeWorldWSBinding" type="tns:GoodbyeWorldWS">
+ <binding name="GoodbyeWorldWSBinding" type="tns:ReptilesNotifyWS">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/socket"/>
<operation name="sayGoodbye">
<soap:operation soapAction=""/>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -53,8 +53,7 @@
<delete dir="${sar.dir}" />
<mkdir dir="${sar.dir}" />
<copy todir="${sar.dir}">
- <fileset dir="src" includes="lib/*.jar" excludes="lib/jboss-*.jar" />
- <fileset dir="src" includes="lib/jboss-common.jar" />
+ <fileset dir="src" includes="lib/*.jar"/>
<fileset dir="src/main/resources" />
<fileset dir="../../build/jbossesb/lib" includes="jbossesb-rosetta.jar" />
<fileset dir="../smooks/lib/ext" includes="milyn-*.jar" />
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/soapui-client.iml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/soapui-client.iml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/soapui-client.iml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,209 +1,208 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module version="4" relativePaths="false" type="JAVA_MODULE">
- <component name="ModuleRootManager" />
- <component name="NewModuleRootManager" inherit-compiler-output="false">
- <output url="file://$MODULE_DIR$/target/classes" />
- <exclude-output />
- <output-test url="file://$MODULE_DIR$/target/test-classes" />
- <content url="file://$MODULE_DIR$">
- <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
- <sourceFolder url="file://$MODULE_DIR$/src/test/resources" isTestSource="true" />
- <excludeFolder url="file://$MODULE_DIR$/target" />
- </content>
- <orderEntry type="inheritedJdk" />
- <orderEntry type="sourceFolder" forTests="false" />
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/eviware/soapui-xmlbeans/1.7/soapui-xmlbeans-1.7.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/xmlbeans/xbean/2.2.0/xbean-2.2.0.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/log4j/log4j/1.2.8/log4j-1.2.8.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/ognl/ognl/2.6.9/ognl-2.6.9.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/milyn/milyn-commons/0.9-SNAPSHOT/milyn-commons-0.9-SNAPSHOT.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/com/jgoodies/looks/2.1.2/looks-2.1.2.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/junit/junit/4.1/junit-4.1.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/eviware/soapui/1.7/soapui-1.7.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://H:/Jboss/ESB/trunk/product/build/jbossesb/lib/jbossesb-rosetta.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/xalan/xalan/2.7.0/xalan-2.7.0.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/src/lib/wsdl4j-1.6.2.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/src/lib/jboss-system.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://H:/Jboss/ESB/trunk/product/lib/ext/jbossall-client.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/src/lib/jsr173_1.0_api-xmlbeans-2.2.0.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/src/lib/jboss-system-client.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntryProperties />
- </component>
-</module>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<module relativePaths="false" type="JAVA_MODULE" version="4">
+ <component name="NewModuleRootManager" inherit-compiler-output="false">
+ <output url="file://$MODULE_DIR$/target/classes" />
+ <exclude-output />
+ <output-test url="file://$MODULE_DIR$/target/test-classes" />
+ <content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test/resources" isTestSource="true" />
+ <excludeFolder url="file://$MODULE_DIR$/target" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/eviware/soapui-xmlbeans/1.7/soapui-xmlbeans-1.7.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/xmlbeans/xbean/2.2.0/xbean-2.2.0.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/log4j/log4j/1.2.8/log4j-1.2.8.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/ognl/ognl/2.6.9/ognl-2.6.9.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/milyn/milyn-commons/0.9-SNAPSHOT/milyn-commons-0.9-SNAPSHOT.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/com/jgoodies/looks/2.1.2/looks-2.1.2.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/junit/junit/4.1/junit-4.1.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/eviware/soapui/1.7/soapui-1.7.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://H:/Jboss/ESB/trunk/product/build/jbossesb/lib/jbossesb-rosetta.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/xalan/xalan/2.7.0/xalan-2.7.0.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/src/lib/wsdl4j-1.6.2.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/src/lib/jboss-system.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://H:/Jboss/ESB/trunk/product/lib/ext/jbossall-client.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/src/lib/jsr173_1.0_api-xmlbeans-2.2.0.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://C:/Documents and Settings/Tom Fennelly/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/src/lib/jboss-system-client.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntryProperties />
+ </component>
+</module>
+
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/soapui-client.ipr
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/soapui-client.ipr 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/soapui-client.ipr 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,292 +1,338 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4" relativePaths="false">
- <component name="AntConfiguration">
- <defaultAnt bundledAnt="true" />
- </component>
- <component name="BuildJarProjectSettings">
- <option name="BUILD_JARS_ON_MAKE" value="false" />
- </component>
- <component name="CodeStyleManager">
- <option name="USE_DEFAULT_CODE_STYLE_SCHEME" value="true" />
- <option name="CODE_STYLE_SCHEME" value="" />
- </component>
- <component name="CodeStyleProjectProfileManger">
- <option name="PROJECT_PROFILE" />
- <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
- </component>
- <component name="CodeStyleSettingsManager">
- <option name="PER_PROJECT_SETTINGS" />
- <option name="USE_PER_PROJECT_SETTINGS" value="false" />
- </component>
- <component name="CompilerConfiguration">
- <option name="DEFAULT_COMPILER" value="Javac" />
- <option name="DEPLOY_AFTER_MAKE" value="0" />
- <excludeFromCompile>
- <file url="file://H:/Jboss/ESB/trunk/product/core/rosetta/tests/src/org/jboss/soa/esb/notification/NotifyQueuesUnitTest.java" />
- <file url="file://H:/Jboss/ESB/trunk/product/core/rosetta/tests/src/org/jboss/soa/esb/helpers/EmailUnitTest.java" />
- </excludeFromCompile>
- <resourceExtensions />
- <wildcardResourcePatterns>
- <entry name="!?*.java" />
- </wildcardResourcePatterns>
- </component>
- <component name="DataSourceManager" />
- <component name="DataSourceManagerImpl" />
- <component name="DependenciesAnalyzeManager">
- <option name="myForwardDirection" value="false" />
- </component>
- <component name="DependencyValidationManager" />
- <component name="EclipseCompilerSettings">
- <option name="DEBUGGING_INFO" value="true" />
- <option name="GENERATE_NO_WARNINGS" value="true" />
- <option name="DEPRECATION" value="false" />
- <option name="ADDITIONAL_OPTIONS_STRING" value="" />
- <option name="MAXIMUM_HEAP_SIZE" value="128" />
- </component>
- <component name="EclipseEmbeddedCompilerSettings">
- <option name="DEBUGGING_INFO" value="true" />
- <option name="GENERATE_NO_WARNINGS" value="true" />
- <option name="DEPRECATION" value="false" />
- <option name="ADDITIONAL_OPTIONS_STRING" value="" />
- <option name="MAXIMUM_HEAP_SIZE" value="128" />
- </component>
- <component name="EntryPointsManager">
- <entry_points />
- </component>
- <component name="ExportToHTMLSettings">
- <option name="PRINT_LINE_NUMBERS" value="false" />
- <option name="OPEN_IN_BROWSER" value="false" />
- <option name="OUTPUT_DIRECTORY" />
- </component>
- <component name="GUI Designer component loader factory" />
- <component name="IdProvider" IDEtalkID="CC00DEA8EC72CCAE06854CBE4C29A6E5" />
- <component name="ImportConfiguration">
- <option name="VENDOR" />
- <option name="RELEASE_TAG" />
- <option name="LOG_MESSAGE" />
- <option name="CHECKOUT_AFTER_IMPORT" value="true" />
- </component>
- <component name="InspectionProjectProfileManager">
- <option name="PROJECT_PROFILE" value="Project Default" />
- <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
- <scopes />
- <profiles>
- <profile version="1.0" is_locked="false">
- <option name="myName" value="Project Default" />
- <option name="myLocal" value="false" />
- <used_levels>
- <error>
- <option name="myName" value="ERROR" />
- <option name="myVal" value="400" />
- </error>
- <warning>
- <option name="myName" value="WARNING" />
- <option name="myVal" value="300" />
- </warning>
- <information>
- <option name="myName" value="INFO" />
- <option name="myVal" value="200" />
- </information>
- <server>
- <option name="myName" value="SERVER PROBLEM" />
- <option name="myVal" value="100" />
- </server>
- </used_levels>
- </profile>
- </profiles>
- </component>
- <component name="JUnitProjectSettings">
- <option name="TEST_RUNNER" value="UI" />
- </component>
- <component name="JavacSettings">
- <option name="DEBUGGING_INFO" value="true" />
- <option name="GENERATE_NO_WARNINGS" value="false" />
- <option name="DEPRECATION" value="true" />
- <option name="ADDITIONAL_OPTIONS_STRING" value="" />
- <option name="MAXIMUM_HEAP_SIZE" value="128" />
- </component>
- <component name="JavadocGenerationManager">
- <option name="OUTPUT_DIRECTORY" />
- <option name="OPTION_SCOPE" value="protected" />
- <option name="OPTION_HIERARCHY" value="false" />
- <option name="OPTION_NAVIGATOR" value="false" />
- <option name="OPTION_INDEX" value="false" />
- <option name="OPTION_SEPARATE_INDEX" value="false" />
- <option name="OPTION_DOCUMENT_TAG_USE" value="false" />
- <option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" />
- <option name="OPTION_DOCUMENT_TAG_VERSION" value="false" />
- <option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="false" />
- <option name="OPTION_DEPRECATED_LIST" value="false" />
- <option name="OTHER_OPTIONS" />
- <option name="HEAP_SIZE" />
- <option name="LOCALE" />
- <option name="OPEN_IN_BROWSER" value="false" />
- </component>
- <component name="JikesSettings">
- <option name="JIKES_PATH" value="" />
- <option name="DEBUGGING_INFO" value="true" />
- <option name="DEPRECATION" value="true" />
- <option name="GENERATE_NO_WARNINGS" value="false" />
- <option name="IS_EMACS_ERRORS_MODE" value="true" />
- <option name="ADDITIONAL_OPTIONS_STRING" value="" />
- </component>
- <component name="LogConsolePreferences">
- <option name="FILTER_ERRORS" value="false" />
- <option name="FILTER_WARNINGS" value="false" />
- <option name="FILTER_INFO" value="true" />
- <option name="CUSTOM_FILTER" />
- </component>
- <component name="Palette2">
- <group name="Swing">
- <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
- <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
- </item>
- <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
- <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
- </item>
- <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
- <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
- </item>
- <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
- <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
- </item>
- <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
- <initial-values>
- <property name="text" value="Button" />
- </initial-values>
- </item>
- <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
- <initial-values>
- <property name="text" value="RadioButton" />
- </initial-values>
- </item>
- <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
- <initial-values>
- <property name="text" value="CheckBox" />
- </initial-values>
- </item>
- <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
- <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
- <initial-values>
- <property name="text" value="Label" />
- </initial-values>
- </item>
- <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
- <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
- <preferred-size width="150" height="-1" />
- </default-constraints>
- </item>
- <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
- <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
- <preferred-size width="150" height="-1" />
- </default-constraints>
- </item>
- <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
- <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
- <preferred-size width="150" height="-1" />
- </default-constraints>
- </item>
- <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
- <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
- <preferred-size width="150" height="50" />
- </default-constraints>
- </item>
- <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
- <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
- <preferred-size width="150" height="50" />
- </default-constraints>
- </item>
- <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
- <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
- <preferred-size width="150" height="50" />
- </default-constraints>
- </item>
- <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
- <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
- </item>
- <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
- <preferred-size width="150" height="50" />
- </default-constraints>
- </item>
- <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
- <preferred-size width="150" height="50" />
- </default-constraints>
- </item>
- <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
- <preferred-size width="150" height="50" />
- </default-constraints>
- </item>
- <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
- <preferred-size width="200" height="200" />
- </default-constraints>
- </item>
- <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
- <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
- <preferred-size width="200" height="200" />
- </default-constraints>
- </item>
- <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
- <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
- </item>
- <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
- </item>
- <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
- <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
- </item>
- <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
- </item>
- <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
- <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
- <preferred-size width="-1" height="20" />
- </default-constraints>
- </item>
- <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
- <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
- </item>
- <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
- </item>
- </group>
- </component>
- <component name="ProjectModuleManager">
- <modules>
- <module fileurl="file://H:/Jboss/ESB/trunk/product/product.iml" filepath="H:/Jboss/ESB/trunk/product/product.iml" />
- <module fileurl="file://$PROJECT_DIR$/soapui-client.iml" filepath="$PROJECT_DIR$/soapui-client.iml" />
- </modules>
- </component>
- <component name="ProjectRootManager" version="2" assert-keyword="true" jdk-15="true" project-jdk-name="1.5" />
- <component name="ProjectRunConfigurationManager" />
- <component name="RmicSettings">
- <option name="IS_EANABLED" value="false" />
- <option name="DEBUGGING_INFO" value="true" />
- <option name="GENERATE_NO_WARNINGS" value="false" />
- <option name="GENERATE_IIOP_STUBS" value="false" />
- <option name="ADDITIONAL_OPTIONS_STRING" value="" />
- </component>
- <component name="StarteamVcsAdapter" />
- <component name="VssVcs" />
- <component name="com.intellij.jsf.UserDefinedFacesConfigs">
- <option name="USER_DEFINED_CONFIGS">
- <value>
- <list size="0" />
- </value>
- </option>
- </component>
- <component name="libraryTable" />
- <component name="uidesigner-configuration">
- <option name="INSTRUMENT_CLASSES" value="true" />
- <option name="COPY_FORMS_RUNTIME_TO_OUTPUT" value="true" />
- <option name="DEFAULT_LAYOUT_MANAGER" value="GridLayoutManager" />
- </component>
- <UsedPathMacros />
-</project>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<project relativePaths="false" version="4">
+ <component name="AntConfiguration">
+ <defaultAnt bundledAnt="true" />
+ </component>
+ <component name="BuildJarProjectSettings">
+ <option name="BUILD_JARS_ON_MAKE" value="false" />
+ </component>
+ <component name="CodeStyleManager">
+ <option name="USE_DEFAULT_CODE_STYLE_SCHEME" value="true" />
+ <option name="CODE_STYLE_SCHEME" value="" />
+ </component>
+ <component name="CodeStyleProjectProfileManger">
+ <option name="PROJECT_PROFILE" />
+ <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
+ </component>
+ <component name="CodeStyleSettingsManager">
+ <option name="PER_PROJECT_SETTINGS" />
+ <option name="USE_PER_PROJECT_SETTINGS" value="false" />
+ </component>
+ <component name="CompilerConfiguration">
+ <option name="DEFAULT_COMPILER" value="Javac" />
+ <option name="DEPLOY_AFTER_MAKE" value="0" />
+ <excludeFromCompile>
+ <file url="file://H:/Jboss/ESB/trunk/product/core/rosetta/tests/src/org/jboss/soa/esb/notification/NotifyQueuesUnitTest.java" />
+ <file url="file://H:/Jboss/ESB/trunk/product/core/rosetta/tests/src/org/jboss/soa/esb/helpers/EmailUnitTest.java" />
+ </excludeFromCompile>
+ <resourceExtensions />
+ <wildcardResourcePatterns>
+ <entry name="!?*.java" />
+ </wildcardResourcePatterns>
+ </component>
+ <component name="DependenciesAnalyzeManager">
+ <option name="myForwardDirection" value="false" />
+ </component>
+ <component name="DependencyValidationManager">
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
+ </component>
+ <component name="EclipseCompilerSettings">
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="true" />
+ <option name="DEPRECATION" value="false" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ <option name="MAXIMUM_HEAP_SIZE" value="128" />
+ </component>
+ <component name="EclipseEmbeddedCompilerSettings">
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="true" />
+ <option name="DEPRECATION" value="false" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ <option name="MAXIMUM_HEAP_SIZE" value="128" />
+ </component>
+ <component name="EntryPointsManager">
+ <entry_points version="2.0" />
+ </component>
+ <component name="ExportToHTMLSettings">
+ <option name="PRINT_LINE_NUMBERS" value="false" />
+ <option name="OPEN_IN_BROWSER" value="false" />
+ <option name="OUTPUT_DIRECTORY" />
+ </component>
+ <component name="IdProvider" IDEtalkID="CC00DEA8EC72CCAE06854CBE4C29A6E5" />
+ <component name="ImportConfiguration">
+ <option name="VENDOR" />
+ <option name="RELEASE_TAG" />
+ <option name="LOG_MESSAGE" />
+ <option name="CHECKOUT_AFTER_IMPORT" value="true" />
+ </component>
+ <component name="InspectionProjectProfileManager">
+ <option name="PROJECT_PROFILE" value="Project Default" />
+ <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
+ <scopes />
+ <profiles>
+ <profile version="1.0" is_locked="false">
+ <option name="myName" value="Project Default" />
+ <option name="myLocal" value="false" />
+ </profile>
+ </profiles>
+ <list size="0" />
+ </component>
+ <component name="IntelliJadProjectConfigComponent">
+ <config>
+ <a type="boolean">false</a>
+ <af type="boolean">false</af>
+ <always-exclude-recursively type="boolean" />
+ <b type="boolean">false</b>
+ <clear type="boolean">false</clear>
+ <clear-and-close-console-on-success type="boolean" />
+ <create-output-directory type="boolean" />
+ <d type="string" />
+ <dead type="boolean">false</dead>
+ <decompile-on-navigation type="string">Always</decompile-on-navigation>
+ <decompile-to-memory type="boolean">true</decompile-to-memory>
+ <dis type="boolean">false</dis>
+ <exclusion-table-model type="table-model" model-class="net.stevechaloner.intellijad.config.ExclusionTableModel" content-types="string,boolean,boolean" />
+ <f type="boolean">false</f>
+ <ff type="boolean">false</ff>
+ <i type="boolean">false</i>
+ <indentation type="integer">4</indentation>
+ <jad-path type="string" />
+ <l type="integer">64</l>
+ <lnc type="boolean">false</lnc>
+ <lradix type="integer">10</lradix>
+ <nl type="boolean">false</nl>
+ <nocast type="boolean">false</nocast>
+ <noclass type="boolean">false</noclass>
+ <nocode type="boolean">false</nocode>
+ <noconv type="boolean">false</noconv>
+ <noctor type="boolean">false</noctor>
+ <nodos type="boolean">false</nodos>
+ <nofd type="boolean">false</nofd>
+ <noinner type="boolean">false</noinner>
+ <nolvt type="boolean">false</nolvt>
+ <nonlb type="boolean">false</nonlb>
+ <o type="boolean">false</o>
+ <pa type="string" />
+ <pc type="string">_cls</pc>
+ <pe type="string">_ex</pe>
+ <pf type="string">_fld</pf>
+ <pl type="string">_lcl</pl>
+ <pm type="string">_mth</pm>
+ <pp type="string">_prm</pp>
+ <pv type="integer">3</pv>
+ <r type="boolean">false</r>
+ <radix type="integer">10</radix>
+ <read-only type="boolean" />
+ <reformat-style type="string">Preferred-Style</reformat-style>
+ <s type="string">java</s>
+ <safe type="boolean">false</safe>
+ <sort type="boolean" />
+ <space type="boolean">false</space>
+ <stat type="boolean">false</stat>
+ <t type="boolean">false</t>
+ <use-project-specific-settings type="boolean" />
+ <v type="boolean">false</v>
+ </config>
+ </component>
+ <component name="JUnitProjectSettings">
+ <option name="TEST_RUNNER" value="UI" />
+ </component>
+ <component name="JavacSettings">
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="false" />
+ <option name="DEPRECATION" value="true" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ <option name="MAXIMUM_HEAP_SIZE" value="128" />
+ </component>
+ <component name="JavadocGenerationManager">
+ <option name="OUTPUT_DIRECTORY" />
+ <option name="OPTION_SCOPE" value="protected" />
+ <option name="OPTION_HIERARCHY" value="false" />
+ <option name="OPTION_NAVIGATOR" value="false" />
+ <option name="OPTION_INDEX" value="false" />
+ <option name="OPTION_SEPARATE_INDEX" value="false" />
+ <option name="OPTION_DOCUMENT_TAG_USE" value="false" />
+ <option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" />
+ <option name="OPTION_DOCUMENT_TAG_VERSION" value="false" />
+ <option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="false" />
+ <option name="OPTION_DEPRECATED_LIST" value="false" />
+ <option name="OTHER_OPTIONS" />
+ <option name="HEAP_SIZE" />
+ <option name="LOCALE" />
+ <option name="OPEN_IN_BROWSER" value="false" />
+ </component>
+ <component name="JikesSettings">
+ <option name="JIKES_PATH" value="" />
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="DEPRECATION" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="false" />
+ <option name="IS_EMACS_ERRORS_MODE" value="true" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ </component>
+ <component name="LogConsolePreferences">
+ <option name="FILTER_ERRORS" value="false" />
+ <option name="FILTER_WARNINGS" value="false" />
+ <option name="FILTER_INFO" value="true" />
+ <option name="CUSTOM_FILTER" />
+ </component>
+ <component name="Palette2">
+ <group name="Swing">
+ <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
+ </item>
+ <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
+ </item>
+ <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
+ </item>
+ <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
+ <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
+ </item>
+ <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
+ <initial-values>
+ <property name="text" value="Button" />
+ </initial-values>
+ </item>
+ <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
+ <initial-values>
+ <property name="text" value="RadioButton" />
+ </initial-values>
+ </item>
+ <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
+ <initial-values>
+ <property name="text" value="CheckBox" />
+ </initial-values>
+ </item>
+ <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
+ <initial-values>
+ <property name="text" value="Label" />
+ </initial-values>
+ </item>
+ <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+ <preferred-size width="150" height="-1" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+ <preferred-size width="150" height="-1" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+ <preferred-size width="150" height="-1" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
+ </item>
+ <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
+ <preferred-size width="200" height="200" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
+ <preferred-size width="200" height="200" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
+ </item>
+ <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
+ </item>
+ <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
+ </item>
+ <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
+ </item>
+ <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
+ <preferred-size width="-1" height="20" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
+ </item>
+ <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
+ </item>
+ </group>
+ </component>
+ <component name="ProjectFileVersion" converted="true" />
+ <component name="ProjectModuleManager">
+ <modules>
+ <module fileurl="file://H:/Jboss/ESB/trunk/product/product.iml" filepath="H:/Jboss/ESB/trunk/product/product.iml" />
+ <module fileurl="file://$PROJECT_DIR$/soapui-client.iml" filepath="$PROJECT_DIR$/soapui-client.iml" />
+ </modules>
+ </component>
+ <component name="ProjectRootManager" version="2" assert-keyword="true" jdk-15="true" project-jdk-name="1.5" />
+ <component name="ResourceManagerContainer">
+ <option name="myResourceBundles">
+ <value>
+ <list size="0" />
+ </value>
+ </option>
+ </component>
+ <component name="RmicSettings">
+ <option name="IS_EANABLED" value="false" />
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="false" />
+ <option name="GENERATE_IIOP_STUBS" value="false" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ </component>
+ <component name="VcsDirectoryMappings">
+ <mapping directory="" vcs="svn" />
+ </component>
+ <component name="WebServicesPlugin" addRequiredLibraries="true" />
+ <component name="com.intellij.jsf.UserDefinedFacesConfigs">
+ <option name="USER_DEFINED_CONFIGS">
+ <value>
+ <list size="0" />
+ </value>
+ </option>
+ </component>
+ <component name="uidesigner-configuration">
+ <option name="INSTRUMENT_CLASSES" value="true" />
+ <option name="COPY_FORMS_RUNTIME_TO_OUTPUT" value="true" />
+ <option name="DEFAULT_LAYOUT_MANAGER" value="GridLayoutManager" />
+ </component>
+</project>
+
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/soapui-client.iws
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/soapui-client.iws 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/soapui-client.iws 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,1139 +1,883 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4" relativePaths="false">
- <component name="AppServerRunManager" />
- <component name="AspectsView" />
- <component name="BookmarkManager" />
- <component name="ChangeBrowserSettings">
- <option name="MAIN_SPLITTER_PROPORTION" value="0.3" />
- <option name="MESSAGES_SPLITTER_PROPORTION" value="0.8" />
- <option name="USE_DATE_BEFORE_FILTER" value="false" />
- <option name="USE_DATE_AFTER_FILTER" value="false" />
- <option name="USE_CHANGE_BEFORE_FILTER" value="false" />
- <option name="USE_CHANGE_AFTER_FILTER" value="false" />
- <option name="DATE_BEFORE" value="" />
- <option name="DATE_AFTER" value="" />
- <option name="CHANGE_BEFORE" value="" />
- <option name="CHANGE_AFTER" value="" />
- <option name="USE_USER_FILTER" value="false" />
- <option name="USER" value="" />
- </component>
- <component name="ChangeListManager">
- <list default="true" name="Default" comment="" />
- </component>
- <component name="ChangeListSynchronizer" />
- <component name="ChangesViewManager" flattened_view="true" />
- <component name="CheckinPanelState" />
- <component name="Commander">
- <leftPanel />
- <rightPanel />
- <splitter proportion="0.5" />
- </component>
- <component name="CompilerWorkspaceConfiguration">
- <option name="COMPILE_IN_BACKGROUND" value="false" />
- <option name="AUTO_SHOW_ERRORS_IN_EDITOR" value="true" />
- <option name="CLOSE_MESSAGE_VIEW_IF_SUCCESS" value="true" />
- <option name="COMPILE_DEPENDENT_FILES" value="false" />
- <option name="CLEAR_OUTPUT_DIRECTORY" value="false" />
- <option name="ASSERT_NOT_NULL" value="true" />
- </component>
- <component name="CoverageDataManager" />
- <component name="Cvs2Configuration">
- <option name="PRUNE_EMPTY_DIRECTORIES" value="true" />
- <option name="MERGING_MODE" value="0" />
- <option name="MERGE_WITH_BRANCH1_NAME" value="HEAD" />
- <option name="MERGE_WITH_BRANCH2_NAME" value="HEAD" />
- <option name="RESET_STICKY" value="false" />
- <option name="CREATE_NEW_DIRECTORIES" value="true" />
- <option name="DEFAULT_TEXT_FILE_SUBSTITUTION" value="kv" />
- <option name="PROCESS_UNKNOWN_FILES" value="false" />
- <option name="PROCESS_DELETED_FILES" value="false" />
- <option name="PROCESS_IGNORED_FILES" value="false" />
- <option name="RESERVED_EDIT" value="false" />
- <option name="CHECKOUT_DATE_OR_REVISION_SETTINGS">
- <value>
- <option name="BRANCH" value="" />
- <option name="DATE" value="" />
- <option name="USE_BRANCH" value="false" />
- <option name="USE_DATE" value="false" />
- </value>
- </option>
- <option name="UPDATE_DATE_OR_REVISION_SETTINGS">
- <value>
- <option name="BRANCH" value="" />
- <option name="DATE" value="" />
- <option name="USE_BRANCH" value="false" />
- <option name="USE_DATE" value="false" />
- </value>
- </option>
- <option name="SHOW_CHANGES_REVISION_SETTINGS">
- <value>
- <option name="BRANCH" value="" />
- <option name="DATE" value="" />
- <option name="USE_BRANCH" value="false" />
- <option name="USE_DATE" value="false" />
- </value>
- </option>
- <option name="SHOW_OUTPUT" value="false" />
- <option name="ADD_WATCH_INDEX" value="0" />
- <option name="REMOVE_WATCH_INDEX" value="0" />
- <option name="UPDATE_KEYWORD_SUBSTITUTION" />
- <option name="MAKE_NEW_FILES_READONLY" value="false" />
- <option name="SHOW_CORRUPTED_PROJECT_FILES" value="0" />
- <option name="TAG_AFTER_PROJECT_COMMIT" value="false" />
- <option name="OVERRIDE_EXISTING_TAG_FOR_PROJECT" value="true" />
- <option name="TAG_AFTER_PROJECT_COMMIT_NAME" value="" />
- <option name="CLEAN_COPY" value="false" />
- </component>
- <component name="CvsTabbedWindow" />
- <component name="DaemonCodeAnalyzer">
- <disable_hints />
- </component>
- <component name="DebuggerManager">
- <breakpoint_any>
- <breakpoint>
- <option name="NOTIFY_CAUGHT" value="true" />
- <option name="NOTIFY_UNCAUGHT" value="true" />
- <option name="ENABLED" value="false" />
- <option name="SUSPEND_POLICY" value="SuspendAll" />
- <option name="LOG_ENABLED" value="false" />
- <option name="LOG_EXPRESSION_ENABLED" value="false" />
- <option name="COUNT_FILTER_ENABLED" value="false" />
- <option name="COUNT_FILTER" value="0" />
- <option name="CONDITION_ENABLED" value="false" />
- <option name="CLASS_FILTERS_ENABLED" value="false" />
- <option name="INSTANCE_FILTERS_ENABLED" value="false" />
- <option name="CONDITION" value="" />
- <option name="LOG_MESSAGE" value="" />
- </breakpoint>
- <breakpoint>
- <option name="NOTIFY_CAUGHT" value="true" />
- <option name="NOTIFY_UNCAUGHT" value="true" />
- <option name="ENABLED" value="false" />
- <option name="SUSPEND_POLICY" value="SuspendAll" />
- <option name="LOG_ENABLED" value="false" />
- <option name="LOG_EXPRESSION_ENABLED" value="false" />
- <option name="COUNT_FILTER_ENABLED" value="false" />
- <option name="COUNT_FILTER" value="0" />
- <option name="CONDITION_ENABLED" value="false" />
- <option name="CLASS_FILTERS_ENABLED" value="false" />
- <option name="INSTANCE_FILTERS_ENABLED" value="false" />
- <option name="CONDITION" value="" />
- <option name="LOG_MESSAGE" value="" />
- </breakpoint>
- </breakpoint_any>
- <breakpoint_rules />
- <ui_properties />
- </component>
- <component name="DebuggerSettings">
- <option name="TRACING_FILTERS_ENABLED" value="true" />
- <option name="TOSTRING_CLASSES_ENABLED" value="false" />
- <option name="VALUE_LOOKUP_DELAY" value="700" />
- <option name="DEBUGGER_TRANSPORT" value="0" />
- <option name="FORCE_CLASSIC_VM" value="true" />
- <option name="HIDE_DEBUGGER_ON_PROCESS_TERMINATION" value="false" />
- <option name="SKIP_SYNTHETIC_METHODS" value="true" />
- <option name="SKIP_CONSTRUCTORS" value="false" />
- <option name="STEP_THREAD_SUSPEND_POLICY" value="SuspendThread" />
- <default_breakpoint_settings>
- <option name="NOTIFY_CAUGHT" value="true" />
- <option name="NOTIFY_UNCAUGHT" value="true" />
- <option name="WATCH_MODIFICATION" value="true" />
- <option name="WATCH_ACCESS" value="true" />
- <option name="WATCH_ENTRY" value="true" />
- <option name="WATCH_EXIT" value="true" />
- <option name="ENABLED" value="true" />
- <option name="SUSPEND_VM" value="true" />
- <option name="COUNT_FILTER_ENABLED" value="false" />
- <option name="COUNT_FILTER" value="0" />
- <option name="CONDITION_ENABLED" value="false" />
- <option name="CONDITION" />
- <option name="LOG_ENABLED" value="false" />
- <option name="LOG_EXPRESSION_ENABLED" value="false" />
- <option name="LOG_MESSAGE" />
- <option name="CLASS_FILTERS_ENABLED" value="false" />
- <option name="INVERSE_CLASS_FILLTERS" value="false" />
- <option name="SUSPEND_POLICY" value="SuspendAll" />
- </default_breakpoint_settings>
- <filter>
- <option name="PATTERN" value="com.sun.*" />
- <option name="ENABLED" value="true" />
- </filter>
- <filter>
- <option name="PATTERN" value="java.*" />
- <option name="ENABLED" value="true" />
- </filter>
- <filter>
- <option name="PATTERN" value="javax.*" />
- <option name="ENABLED" value="true" />
- </filter>
- <filter>
- <option name="PATTERN" value="org.omg.*" />
- <option name="ENABLED" value="true" />
- </filter>
- <filter>
- <option name="PATTERN" value="sun.*" />
- <option name="ENABLED" value="true" />
- </filter>
- <filter>
- <option name="PATTERN" value="junit.*" />
- <option name="ENABLED" value="true" />
- </filter>
- </component>
- <component name="EjbViewSettings">
- <EjbView showMembers="false" autoscrollToSource="false" />
- </component>
- <component name="ErrorTreeViewConfiguration">
- <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
- <option name="HIDE_WARNINGS" value="false" />
- </component>
- <component name="FavoritesManager">
- <favorites_list name="soapui-client" />
- </component>
- <component name="FavoritesProjectViewPane">
- <subPane subId="soapui-client">
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" />
- <option name="myItemType" value="com.intellij.ide.favoritesTreeView.FavoritesTreeNodeDescriptor" />
- </PATH_ELEMENT>
- </PATH>
- </subPane>
- </component>
- <component name="FileEditorManager">
- <leaf />
- </component>
- <component name="FindManager">
- <FindUsagesManager>
- <setting name="OPEN_NEW_TAB" value="false" />
- </FindUsagesManager>
- </component>
- <component name="HierarchyBrowserManager">
- <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
- <option name="SORT_ALPHABETICALLY" value="false" />
- <option name="HIDE_CLASSES_WHERE_METHOD_NOT_IMPLEMENTED" value="false" />
- </component>
- <component name="InspectionManager">
- <option name="AUTOSCROLL_TO_SOURCE" value="false" />
- <option name="SPLITTER_PROPORTION" value="0.5" />
- <option name="GROUP_BY_SEVERITY" value="false" />
- <option name="FILTER_RESOLVED_ITEMS" value="true" />
- <option name="ANALYZE_TEST_SOURCES" value="true" />
- <option name="SHOW_DIFF_WITH_PREVIOUS_RUN" value="false" />
- <option name="SCOPE_TYPE" value="1" />
- <option name="CUSTOM_SCOPE_NAME" value="" />
- <option name="SHOW_ONLY_DIFF" value="false" />
- <option name="myCurrentProfileName" value="Default" />
- </component>
- <component name="J2EEProjectPane" />
- <component name="JspContextManager" />
- <component name="LvcsProjectConfiguration">
- <option name="ADD_LABEL_ON_PROJECT_OPEN" value="true" />
- <option name="ADD_LABEL_ON_PROJECT_COMPILATION" value="true" />
- <option name="ADD_LABEL_ON_FILE_PACKAGE_COMPILATION" value="true" />
- <option name="ADD_LABEL_ON_PROJECT_MAKE" value="true" />
- <option name="ADD_LABEL_ON_RUNNING" value="true" />
- <option name="ADD_LABEL_ON_DEBUGGING" value="true" />
- <option name="ADD_LABEL_ON_UNIT_TEST_PASSED" value="true" />
- <option name="ADD_LABEL_ON_UNIT_TEST_FAILED" value="true" />
- </component>
- <component name="ModuleEditorState">
- <option name="LAST_EDITED_MODULE_NAME" />
- <option name="LAST_EDITED_TAB_NAME" />
- </component>
- <component name="NamedScopeManager" />
- <component name="PackagesPane">
- <subPane>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
- </PATH_ELEMENT>
- </PATH>
- </subPane>
- </component>
- <component name="PerforceChangeBrowserSettings">
- <option name="USE_CLIENT_FILTER" value="true" />
- <option name="CLIENT" value="" />
- </component>
- <component name="PerforceConfiguration">
- <option name="PORT" value="magic:1666" />
- <option name="USER" value="" />
- <option name="PASSWORD" value="" />
- <option name="CLIENT" value="" />
- <option name="TRACE" value="false" />
- <option name="PERFORCE_STATUS" value="true" />
- <option name="CHANGELIST_OPTION" value="false" />
- <option name="SYSTEMROOT" value="" />
- <option name="P4_EXECUTABLE" value="p4" />
- <option name="SHOW_BRANCH_HISTORY" value="false" />
- <option name="GENERATE_COMMENT" value="false" />
- <option name="SYNC_OPTION" value="Sync" />
- <option name="PUT_FOCUS_INTO_COMMENT" value="false" />
- <option name="SHOW_CHECKIN_OPTIONS" value="true" />
- <option name="FORCE_NON_EMPTY_COMMENT" value="true" />
- <option name="LAST_COMMIT_MESSAGE" value="" />
- <option name="SAVE_LAST_COMMIT_MESSAGE" value="true" />
- <option name="CHECKIN_DIALOG_SPLITTER_PROPORTION" value="0.8" />
- <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
- <option name="OPTIMIZE_IMPORTS_BEFORE_FILE_COMMIT" value="false" />
- <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
- <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
- <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
- <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
- </component>
- <component name="PerforceDirect.Settings">
- <option name="useP4CONFIG" value="true" />
- <option name="port" value="<perforce_server>:1666" />
- <option name="client" value="" />
- <option name="user" value="" />
- <option name="passwd" value="" />
- <option name="showCmds" value="false" />
- <option name="useNativeApi" value="true" />
- <option name="pathToExec" value="p4" />
- <option name="useCustomPathToExec" value="false" />
- <option name="SYNC_FORCE" value="false" />
- <option name="SYNC_RUN_RESOLVE" value="true" />
- <option name="REVERT_UNCHANGED_FILES" value="true" />
- <option name="CHARSET" value="none" />
- <option name="SHOW_BRANCHES_HISTORY" value="true" />
- <option name="ENABLED" value="true" />
- <option name="USE_LOGIN" value="false" />
- <option name="LOGIN_SILENTLY" value="false" />
- <option name="INTEGRATE_RUN_RESOLVE" value="true" />
- <option name="INTEGRATE_REVERT_UNCHANGED" value="true" />
- <option name="SERVER_TIMEOUT" value="20000" />
- </component>
- <component name="ProjectLevelVcsManager">
- <OptionsSetting value="true" id="Add" />
- <OptionsSetting value="true" id="Remove" />
- <OptionsSetting value="true" id="Checkin" />
- <OptionsSetting value="true" id="Checkout" />
- <OptionsSetting value="true" id="Update" />
- <OptionsSetting value="true" id="Status" />
- <OptionsSetting value="true" id="Edit" />
- <OptionsSetting value="true" id="Undo Check Out" />
- <OptionsSetting value="true" id="Compare with SourceSafe Version" />
- <OptionsSetting value="true" id="Get Latest Version" />
- <ConfirmationsSetting value="0" id="Add" />
- <ConfirmationsSetting value="0" id="Remove" />
- </component>
- <component name="ProjectPane">
- <subPane>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="Libraries" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.LibraryGroupNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="< 1.5 >" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="Libraries" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.LibraryGroupNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client\src" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client\src\test" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client\src" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client\src\test" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client\src\test\java" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client\src\test\java\org\jboss\soa\esb\services\soapui" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client\src" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client\src\main" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client\src" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client\src\main" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client\src\main\java" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client\src\main\java\org\jboss\soa\esb\services\soapui" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\services\soapui-client\src" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="product" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="product" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="product" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="product" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core\rosetta" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="product" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core\rosetta" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core\rosetta\src" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core\rosetta\src\org\jboss" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="product" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core\rosetta" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core\rosetta\src" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core\rosetta\src\org\jboss" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core\rosetta\src\org\jboss\internal\soa\esb" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- <PATH>
- <PATH_ELEMENT>
- <option name="myItemId" value="soapui-client.ipr" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="product" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core\rosetta" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core\rosetta\src" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core\rosetta\src\org\jboss" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core\rosetta\src\org\jboss\internal\soa\esb" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\trunk\product\core\rosetta\src\org\jboss\internal\soa\esb\soap" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- </PATH>
- </subPane>
- </component>
- <component name="ProjectReloadState">
- <option name="STATE" value="0" />
- </component>
- <component name="ProjectView">
- <navigator currentView="ProjectPane" proportions="0.16666667" version="1" splitterProportion="0.5">
- <flattenPackages />
- <showMembers />
- <showModules />
- <showLibraryContents />
- <hideEmptyPackages />
- <abbreviatePackageNames />
- <showStructure ProjectPane="false" PackagesPane="false" Favorites="false" />
- <autoscrollToSource />
- <autoscrollFromSource />
- <sortByType />
- </navigator>
- </component>
- <component name="ProjectViewSettings">
- <navigator currentView="ProjectPane" flattenPackages="false" showMembers="false" showStructure="false" autoscrollToSource="false" splitterProportion="0.5" />
- <view id="ProjectPane">
- <expanded_node type="directory" url="file://$PROJECT_DIR$" />
- </view>
- <view id="SourcepathPane" />
- <view id="ClasspathPane" />
- </component>
- <component name="PropertiesComponent">
- <property name="MemberChooser.copyJavadoc" value="false" />
- <property name="GoToClass.includeLibraries" value="false" />
- <property name="MemberChooser.showClasses" value="true" />
- <property name="MemberChooser.sorted" value="false" />
- <property name="RunManagerConfig.compileBeforeRunning" value="true" />
- <property name="GoToFile.includeJavaFiles" value="false" />
- <property name="GoToClass.toSaveIncludeLibraries" value="false" />
- <property name="RunManagerConfig.showSettingsBeforeRunnig" value="true" />
- </component>
- <component name="ReadonlyStatusHandler">
- <option name="SHOW_DIALOG" value="true" />
- </component>
- <component name="RecentsManager">
- <key name="CopyClassDialog.RECENTS_KEY">
- <recent name="org.jboss.soa.esb.services.soapui" />
- </key>
- </component>
- <component name="RestoreUpdateTree" />
- <component name="RunManager" selected="JUnit.SoapUIClientServiceMBeanUnitTest.test_has_collections">
- <tempConfiguration default="false" name="SoapUIClientServiceMBeanUnitTest.test_has_collections" type="JUnit" factoryName="JUnit" enabled="false" merge="false">
- <pattern value="org.jboss.soa.esb.services.soapui.*" />
- <module name="soapui-client" />
- <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
- <option name="ALTERNATIVE_JRE_PATH" value="" />
- <option name="PACKAGE_NAME" value="org.jboss.soa.esb.services.soapui" />
- <option name="MAIN_CLASS_NAME" value="org.jboss.soa.esb.services.soapui.SoapUIClientServiceMBeanUnitTest" />
- <option name="METHOD_NAME" value="test_has_collections" />
- <option name="TEST_OBJECT" value="method" />
- <option name="VM_PARAMETERS" value="" />
- <option name="PARAMETERS" value="" />
- <option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
- <option name="ADDITIONAL_CLASS_PATH" />
- <option name="TEST_SEARCH_SCOPE">
- <value defaultName="wholeProject" />
- </option>
- <RunnerSettings RunnerId="Debug">
- <option name="DEBUG_PORT" value="4078" />
- <option name="TRANSPORT" value="0" />
- <option name="LOCAL" value="true" />
- </RunnerSettings>
- <RunnerSettings RunnerId="Profile ">
- <option name="myExternalizedOptions" value=" snapshots-dir= " />
- </RunnerSettings>
- <RunnerSettings RunnerId="Run" />
- <ConfigurationWrapper RunnerId="Debug" />
- <ConfigurationWrapper RunnerId="Run" />
- <method>
- <option name="Make" value="true" />
- </method>
- </tempConfiguration>
- <configuration default="true" type="Remote" factoryName="Remote">
- <option name="USE_SOCKET_TRANSPORT" value="true" />
- <option name="SERVER_MODE" value="false" />
- <option name="SHMEM_ADDRESS" value="javadebug" />
- <option name="HOST" value="localhost" />
- <option name="PORT" value="5005" />
- </configuration>
- <configuration default="true" type="Applet" factoryName="Applet">
- <module name="" />
- <option name="MAIN_CLASS_NAME" />
- <option name="HTML_FILE_NAME" />
- <option name="HTML_USED" value="false" />
- <option name="WIDTH" value="400" />
- <option name="HEIGHT" value="300" />
- <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
- <option name="VM_PARAMETERS" />
- <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
- <option name="ALTERNATIVE_JRE_PATH" />
- </configuration>
- <configuration default="true" type="Application" factoryName="Application" enabled="false" merge="false">
- <option name="MAIN_CLASS_NAME" />
- <option name="VM_PARAMETERS" />
- <option name="PROGRAM_PARAMETERS" />
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
- <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
- <option name="ALTERNATIVE_JRE_PATH" />
- <option name="ENABLE_SWING_INSPECTOR" value="false" />
- <module name="" />
- </configuration>
- <configuration default="true" type="JUnit" factoryName="JUnit" enabled="false" merge="false">
- <module name="" />
- <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
- <option name="ALTERNATIVE_JRE_PATH" />
- <option name="PACKAGE_NAME" />
- <option name="MAIN_CLASS_NAME" />
- <option name="METHOD_NAME" />
- <option name="TEST_OBJECT" value="class" />
- <option name="VM_PARAMETERS" />
- <option name="PARAMETERS" />
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
- <option name="ADDITIONAL_CLASS_PATH" />
- <option name="TEST_SEARCH_SCOPE">
- <value defaultName="wholeProject" />
- </option>
- <method>
- <option name="Make" value="true" />
- </method>
- </configuration>
- </component>
- <component name="ScopeViewComponent" />
- <component name="SelectInManager" />
- <component name="StarteamConfiguration">
- <option name="SERVER" value="" />
- <option name="PORT" value="49201" />
- <option name="USER" value="" />
- <option name="PASSWORD" value="" />
- <option name="PROJECT" value="" />
- <option name="VIEW" value="" />
- <option name="ALTERNATIVE_WORKING_PATH" value="" />
- <option name="LOCK_ON_CHECKOUT" value="false" />
- <option name="UNLOCK_ON_CHECKIN" value="false" />
- </component>
- <component name="StructuralSearchPlugin" />
- <component name="StructureViewFactory">
- <option name="AUTOSCROLL_MODE" value="true" />
- <option name="AUTOSCROLL_FROM_SOURCE" value="false" />
- <option name="ACTIVE_ACTIONS" value="" />
- </component>
- <component name="Struts Assistant">
- <option name="showInputs" value="true" />
- <option name="resources">
- <value>
- <option name="strutsPath" />
- <option name="strutsHelp" />
- </value>
- </option>
- <option name="selectedTaglibs" />
- <option name="selectedTaglibs" />
- <option name="myStrutsValidationEnabled" value="true" />
- <option name="myTilesValidationEnabled" value="true" />
- <option name="myValidatorValidationEnabled" value="true" />
- <option name="myReportErrorsAsWarnings" value="true" />
- </component>
- <component name="SvnChangesBrowserSettings">
- <option name="USE_AUTHOR_FIELD" value="true" />
- <option name="AUTHOR" value="" />
- <option name="LOCATION" value="" />
- <option name="USE_PROJECT_SETTINGS" value="true" />
- <option name="USE_ALTERNATE_LOCATION" value="false" />
- </component>
- <component name="SvnConfiguration">
- <option name="USER" value="" />
- <option name="PASSWORD" value="" />
- <option name="PROCESS_UNRESOLVED" value="false" />
- <option name="LAST_MERGED_REVISION" />
- <option name="UPDATE_RUN_STATUS" value="false" />
- <option name="UPDATE_RECURSIVELY" value="true" />
- <option name="MERGE_DRY_RUN" value="false" />
- </component>
- <component name="TodoView" selected-index="0">
- <todo-panel id="selected-file">
- <are-packages-shown value="false" />
- <are-modules-shown value="false" />
- <flatten-packages value="false" />
- <is-autoscroll-to-source value="true" />
- </todo-panel>
- <todo-panel id="all">
- <are-packages-shown value="true" />
- <are-modules-shown value="false" />
- <flatten-packages value="false" />
- <is-autoscroll-to-source value="true" />
- </todo-panel>
- </component>
- <component name="ToolWindowManager">
- <frame x="-4" y="-4" width="1288" height="998" extended-state="6" />
- <editor active="true" />
- <layout>
- <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
- <window_info id="CVS" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
- <window_info id="IDEtalk" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
- <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="7" />
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.31925264" order="0" />
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="1" />
- <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="1" />
- <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32983682" order="8" />
- <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" order="6" />
- <window_info id="Profile" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
- <window_info id="Module Dependencies" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
- <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
- <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
- <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="1" />
- <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.46853146" order="2" />
- <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="2" />
- <window_info id="File View" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
- <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3997669" order="4" />
- <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" order="0" />
- <window_info id="IDEtalk Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
- <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
- <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="0" />
- <window_info id="Aspects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
- <window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="2" />
- <window_info id="EJB" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="3" />
- <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="5" />
- </layout>
- </component>
- <component name="VCS.FileViewConfiguration">
- <option name="SELECTED_STATUSES" value="DEFAULT" />
- <option name="SELECTED_COLUMNS" value="DEFAULT" />
- <option name="SHOW_FILTERS" value="true" />
- <option name="CUSTOMIZE_VIEW" value="true" />
- <option name="SHOW_FILE_HISTORY_AS_TREE" value="true" />
- </component>
- <component name="VcsManagerConfiguration">
- <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
- <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
- <option name="PERFORM_UPDATE_IN_BACKGROUND" value="false" />
- <option name="PERFORM_COMMIT_IN_BACKGROUND" value="false" />
- <option name="PUT_FOCUS_INTO_COMMENT" value="false" />
- <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
- <option name="LAST_COMMIT_MESSAGE" />
- <option name="SAVE_LAST_COMMIT_MESSAGE" value="true" />
- <option name="CHECKIN_DIALOG_SPLITTER_PROPORTION" value="0.8" />
- <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
- <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
- <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
- <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
- <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
- <option name="ERROR_OCCURED" value="false" />
- <option name="ACTIVE_VCS_NAME" value="" />
- <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
- <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
- <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
- </component>
- <component name="VssConfiguration">
- <option name="CLIENT_PATH" value="" />
- <option name="SRCSAFEINI_PATH" value="" />
- <option name="USER_NAME" value="" />
- <option name="PWD" value="" />
- <option name="VSS_IS_INITIALIZED" value="true" />
- <CheckoutOptions>
- <option name="COMMENT" value="" />
- <option name="DO_NOT_GET_LATEST_VERSION" value="false" />
- <option name="REPLACE_WRITABLE" value="false" />
- <option name="RECURSIVE" value="false" />
- </CheckoutOptions>
- <CheckinOptions>
- <option name="COMMENT" value="" />
- <option name="KEEP_CHECKED_OUT" value="false" />
- <option name="RECURSIVE" value="false" />
- </CheckinOptions>
- <AddOptions>
- <option name="COMMENT" value="" />
- <option name="STORE_ONLY_LATEST_VERSION" value="false" />
- <option name="CHECK_OUT_IMMEDIATELY" value="false" />
- <option name="FILE_TYPE" value="0" />
- </AddOptions>
- <UndocheckoutOptions>
- <option name="MAKE_WRITABLE" value="false" />
- <option name="REPLACE_LOCAL_COPY" value="0" />
- <option name="RECURSIVE" value="false" />
- </UndocheckoutOptions>
- <GetOptions>
- <option name="REPLACE_WRITABLE" value="0" />
- <option name="MAKE_WRITABLE" value="false" />
- <option name="ANSWER_NEGATIVELY" value="false" />
- <option name="ANSWER_POSITIVELY" value="false" />
- <option name="RECURSIVE" value="false" />
- <option name="VERSION" />
- </GetOptions>
- <VssConfigurableExcludedFilesTag />
- </component>
- <component name="WebViewSettings">
- <webview flattenPackages="false" showMembers="false" autoscrollToSource="false" />
- </component>
- <component name="antWorkspaceConfiguration">
- <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
- <option name="FILTER_TARGETS" value="false" />
- </component>
- <component name="com.intellij.ide.util.scopeChooser.ScopeChooserConfigurable" proportions="" version="1">
- <option name="myLastEditedConfigurable" />
- </component>
- <component name="com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectRootMasterDetailsConfigurable" proportions="0.16666667,0.5" version="1">
- <option name="myPlainMode" value="false" />
- <option name="myLastEditedConfigurable" value="soapui-client" />
- </component>
- <component name="com.intellij.profile.ui.ErrorOptionsConfigurable" proportions="" version="1">
- <option name="myLastEditedConfigurable" />
- </component>
- <component name="editorHistoryManager">
- <entry file="jar://H:/Jboss/ESB/trunk/product/build/jbossesb/lib/jbossesb-rosetta.jar!/org/jboss/internal/soa/esb/soap/OGNLUtils.class">
- <provider selected="true" editor-type-id="text-editor">
- <state line="18" column="0" selection-start="861" selection-end="861" vertical-scroll-proportion="0.5952381">
- <folding />
- </state>
- </provider>
- </entry>
- <entry file="file://H:/Jboss/ESB/trunk/product/core/rosetta/src/org/jboss/soa/esb/helpers/Email.java">
- <provider selected="true" editor-type-id="text-editor">
- <state line="46" column="49" selection-start="1817" selection-end="1817" vertical-scroll-proportion="0.1302682">
- <folding>
- <marker date="1175621365359" expanded="false" signature="0:1013" placeholder="/.../" />
- <marker date="1175621365359" expanded="true" signature="1819:2805" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="2830:2856" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="2921:3024" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="3070:3140" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="3190:3265" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="3313:3419" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="3471:3575" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="3629:3758" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="3817:3899" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="3937:3990" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="4030:4088" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="4128:4216" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="4257:4321" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="4372:4455" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="4497:4580" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="4624:4666" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="4707:5216" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="5277:5614" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="5655:5824" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="5878:5923" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="5927:6067" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="6131:6277" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="6284:6335" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="6373:6413" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="6419:6480" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="6534:6581" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="6587:6633" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="6664:6699" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="6705:6756" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="6798:6835" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="6841:6885" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="6914:6947" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="6953:7000" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="7038:7071" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="7077:7123" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="7154:7189" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="7195:7246" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="7288:7325" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="7331:7378" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="7410:7446" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="7452:7505" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="7549:7588" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="7594:7641" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="7673:7709" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="7715:7768" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="7812:7851" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="7858:8178" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="8281:8544" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="8547:8785" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="8887:9414" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="9417:9611" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="9692:9770" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="9773:10026" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="10107:10758" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="10761:10895" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="10937:11922" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="11932:12226" placeholder="/**...*/" />
- <marker date="1175621365359" expanded="true" signature="12317:12773" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="12819:13105" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="12899:12941" placeholder="{...}" />
- <marker date="1175621365359" expanded="true" signature="13006:13066" placeholder="{...}" />
- </folding>
- </state>
- </provider>
- </entry>
- <entry file="file://H:/Jboss/ESB/trunk/product/core/rosetta/tests/src/org/jboss/internal/soa/esb/util/embedded/ftp/NoConfigFileFtpServer.java">
- <provider selected="true" editor-type-id="text-editor">
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
- </state>
- </provider>
- </entry>
- <entry file="file://$PROJECT_DIR$/src/test/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBeanUnitTest.java">
- <provider selected="true" editor-type-id="text-editor">
- <state line="54" column="22" selection-start="2561" selection-end="2561" vertical-scroll-proportion="0.9280397">
- <folding />
- </state>
- </provider>
- </entry>
- <entry file="file://$PROJECT_DIR$/pom.xml">
- <provider selected="true" editor-type-id="text-editor">
- <state line="96" column="21" selection-start="3557" selection-end="3557" vertical-scroll-proportion="0.040669855">
- <folding />
- </state>
- </provider>
- </entry>
- <entry file="file://$PROJECT_DIR$/build.xml">
- <provider selected="true" editor-type-id="text-editor">
- <state line="11" column="70" selection-start="513" selection-end="531" vertical-scroll-proportion="0.042183623">
- <folding />
- </state>
- </provider>
- </entry>
- <entry file="file://H:/Jboss/ESB/trunk/product/core/rosetta/src/org/jboss/internal/soa/esb/soap/OGNLUtils.java">
- <provider selected="true" editor-type-id="text-editor">
- <state line="91" column="0" selection-start="3132" selection-end="3132" vertical-scroll-proportion="0.37965262">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
- </state>
- </provider>
- </entry>
- <entry file="file://$PROJECT_DIR$/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java">
- <provider selected="true" editor-type-id="text-editor">
- <state line="147" column="41" selection-start="5776" selection-end="5776" vertical-scroll-proportion="0.84367245">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
- </state>
- </provider>
- </entry>
- </component>
- <component name="editorManager" />
- <component name="ideajad">
- <property name="annotate" value="false" />
- <property name="annotateFully" value="false" />
- <property name="braces" value="false" />
- <property name="clear" value="false" />
- <property name="confirmNavigationTriggeredDecompile" value="true" />
- <property name="dead" value="true" />
- <property name="defaultInitializers" value="false" />
- <property name="dissassemblerOnly" value="false" />
- <property name="fieldsFirst" value="true" />
- <property name="fileExtension" value="java" />
- <property name="fullyQualifiedNames" value="false" />
- <property name="indentation" value="4" />
- <property name="intRadix" value="10" />
- <property name="lineNumbersAsComments" value="true" />
- <property name="longRadix" value="10" />
- <property name="maxStringLength" value="64" />
- <property name="nocast" value="false" />
- <property name="noclass" value="false" />
- <property name="nocode" value="false" />
- <property name="noconv" value="false" />
- <property name="noctor" value="false" />
- <property name="nodos" value="false" />
- <property name="nofd" value="false" />
- <property name="noinner" value="false" />
- <property name="nolvt" value="false" />
- <property name="nonlb" value="false" />
- <property name="outputDirectory" value="" />
- <property name="packFields" value="3" />
- <property name="packImports" value="7" />
- <property name="prefixNumericalClasses" value="_cls" />
- <property name="prefixNumericalFields" value="_fld" />
- <property name="prefixNumericalLocals" value="_lcl" />
- <property name="prefixNumericalMethods" value="_mth" />
- <property name="prefixNumericalParameters" value="_prm" />
- <property name="prefixUnusedExceptions" value="_ex" />
- <property name="readonly" value="false" />
- <property name="safe" value="false" />
- <property name="sort" value="false" />
- <property name="spaceAfterKeyword" value="false" />
- <property name="splitStringsAtNewline" value="false" />
- <property name="useTabs" value="false" />
- </component>
-</project>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<project relativePaths="false" version="4">
+ <component name="CCaseConfig">
+ <option name="checkoutReserved" value="false" />
+ <option name="markExternalChangeAsUpToDate" value="true" />
+ <option name="checkInUseHijack" value="true" />
+ <option name="useUcmModel" value="true" />
+ <option name="isOffline" value="false" />
+ <option name="synchOutside" value="false" />
+ <option name="isHistoryResticted" value="true" />
+ <option name="useIdenticalSwitch" value="true" />
+ <option name="lastScr" value="" />
+ <option name="scrTextFileName" value="" />
+ <option name="lastViewType" />
+ <option name="historyRevisionsNumber" value="4" />
+ </component>
+ <component name="ChangeBrowserSettings">
+ <option name="MAIN_SPLITTER_PROPORTION" value="0.3" />
+ <option name="MESSAGES_SPLITTER_PROPORTION" value="0.8" />
+ <option name="USE_DATE_BEFORE_FILTER" value="false" />
+ <option name="USE_DATE_AFTER_FILTER" value="false" />
+ <option name="USE_CHANGE_BEFORE_FILTER" value="false" />
+ <option name="USE_CHANGE_AFTER_FILTER" value="false" />
+ <option name="DATE_BEFORE" value="" />
+ <option name="DATE_AFTER" value="" />
+ <option name="CHANGE_BEFORE" value="" />
+ <option name="CHANGE_AFTER" value="" />
+ <option name="USE_USER_FILTER" value="false" />
+ <option name="USER" value="" />
+ </component>
+ <component name="ChangeListManager">
+ <list default="true" name="Default" comment="">
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/soapui-client.iml" afterPath="$PROJECT_DIR$/soapui-client.iml" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/soapui-client.iws" afterPath="$PROJECT_DIR$/soapui-client.iws" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/soapui-client.ipr" afterPath="$PROJECT_DIR$/soapui-client.ipr" />
+ <change type="MODIFICATION" beforePath="H:/Jboss/ESB/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" afterPath="H:/Jboss/ESB/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" />
+ </list>
+ </component>
+ <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
+ <component name="Commander">
+ <leftPanel />
+ <rightPanel />
+ <splitter proportion="0.5" />
+ </component>
+ <component name="CompilerWorkspaceConfiguration">
+ <option name="COMPILE_IN_BACKGROUND" value="false" />
+ <option name="AUTO_SHOW_ERRORS_IN_EDITOR" value="true" />
+ <option name="CLOSE_MESSAGE_VIEW_IF_SUCCESS" value="true" />
+ <option name="COMPILE_DEPENDENT_FILES" value="false" />
+ <option name="CLEAR_OUTPUT_DIRECTORY" value="false" />
+ <option name="ASSERT_NOT_NULL" value="true" />
+ </component>
+ <component name="CreatePatchCommitExecutor">
+ <option name="PATCH_PATH" value="" />
+ <option name="REVERSE_PATCH" value="false" />
+ </component>
+ <component name="Cvs2Configuration">
+ <option name="PRUNE_EMPTY_DIRECTORIES" value="true" />
+ <option name="MERGING_MODE" value="0" />
+ <option name="MERGE_WITH_BRANCH1_NAME" value="HEAD" />
+ <option name="MERGE_WITH_BRANCH2_NAME" value="HEAD" />
+ <option name="RESET_STICKY" value="false" />
+ <option name="CREATE_NEW_DIRECTORIES" value="true" />
+ <option name="DEFAULT_TEXT_FILE_SUBSTITUTION" value="kv" />
+ <option name="PROCESS_UNKNOWN_FILES" value="false" />
+ <option name="PROCESS_DELETED_FILES" value="false" />
+ <option name="PROCESS_IGNORED_FILES" value="false" />
+ <option name="RESERVED_EDIT" value="false" />
+ <option name="CHECKOUT_DATE_OR_REVISION_SETTINGS">
+ <value>
+ <option name="BRANCH" value="" />
+ <option name="DATE" value="" />
+ <option name="USE_BRANCH" value="false" />
+ <option name="USE_DATE" value="false" />
+ </value>
+ </option>
+ <option name="UPDATE_DATE_OR_REVISION_SETTINGS">
+ <value>
+ <option name="BRANCH" value="" />
+ <option name="DATE" value="" />
+ <option name="USE_BRANCH" value="false" />
+ <option name="USE_DATE" value="false" />
+ </value>
+ </option>
+ <option name="SHOW_CHANGES_REVISION_SETTINGS">
+ <value>
+ <option name="BRANCH" value="" />
+ <option name="DATE" value="" />
+ <option name="USE_BRANCH" value="false" />
+ <option name="USE_DATE" value="false" />
+ </value>
+ </option>
+ <option name="SHOW_OUTPUT" value="false" />
+ <option name="ADD_WATCH_INDEX" value="0" />
+ <option name="REMOVE_WATCH_INDEX" value="0" />
+ <option name="UPDATE_KEYWORD_SUBSTITUTION" />
+ <option name="MAKE_NEW_FILES_READONLY" value="false" />
+ <option name="SHOW_CORRUPTED_PROJECT_FILES" value="0" />
+ <option name="TAG_AFTER_PROJECT_COMMIT" value="false" />
+ <option name="OVERRIDE_EXISTING_TAG_FOR_PROJECT" value="true" />
+ <option name="TAG_AFTER_PROJECT_COMMIT_NAME" value="" />
+ <option name="CLEAN_COPY" value="false" />
+ </component>
+ <component name="DaemonCodeAnalyzer">
+ <disable_hints />
+ </component>
+ <component name="DebuggerManager">
+ <breakpoint_any>
+ <breakpoint>
+ <option name="NOTIFY_CAUGHT" value="true" />
+ <option name="NOTIFY_UNCAUGHT" value="true" />
+ <option name="ENABLED" value="false" />
+ <option name="LOG_ENABLED" value="false" />
+ <option name="LOG_EXPRESSION_ENABLED" value="false" />
+ <option name="SUSPEND_POLICY" value="SuspendAll" />
+ <option name="COUNT_FILTER_ENABLED" value="false" />
+ <option name="COUNT_FILTER" value="0" />
+ <option name="CONDITION_ENABLED" value="false" />
+ <option name="CLASS_FILTERS_ENABLED" value="false" />
+ <option name="INSTANCE_FILTERS_ENABLED" value="false" />
+ <option name="CONDITION" value="" />
+ <option name="LOG_MESSAGE" value="" />
+ </breakpoint>
+ <breakpoint>
+ <option name="NOTIFY_CAUGHT" value="true" />
+ <option name="NOTIFY_UNCAUGHT" value="true" />
+ <option name="ENABLED" value="false" />
+ <option name="LOG_ENABLED" value="false" />
+ <option name="LOG_EXPRESSION_ENABLED" value="false" />
+ <option name="SUSPEND_POLICY" value="SuspendAll" />
+ <option name="COUNT_FILTER_ENABLED" value="false" />
+ <option name="COUNT_FILTER" value="0" />
+ <option name="CONDITION_ENABLED" value="false" />
+ <option name="CLASS_FILTERS_ENABLED" value="false" />
+ <option name="INSTANCE_FILTERS_ENABLED" value="false" />
+ <option name="CONDITION" value="" />
+ <option name="LOG_MESSAGE" value="" />
+ </breakpoint>
+ </breakpoint_any>
+ <breakpoint_rules />
+ <ui_properties />
+ </component>
+ <component name="DebuggerSettings">
+ <option name="TRACING_FILTERS_ENABLED" value="true" />
+ <option name="TOSTRING_CLASSES_ENABLED" value="false" />
+ <option name="VALUE_LOOKUP_DELAY" value="700" />
+ <option name="DEBUGGER_TRANSPORT" value="0" />
+ <option name="FORCE_CLASSIC_VM" value="true" />
+ <option name="HIDE_DEBUGGER_ON_PROCESS_TERMINATION" value="false" />
+ <option name="SKIP_SYNTHETIC_METHODS" value="true" />
+ <option name="SKIP_CONSTRUCTORS" value="false" />
+ <option name="STEP_THREAD_SUSPEND_POLICY" value="SuspendThread" />
+ <default_breakpoint_settings>
+ <option name="NOTIFY_CAUGHT" value="true" />
+ <option name="NOTIFY_UNCAUGHT" value="true" />
+ <option name="WATCH_MODIFICATION" value="true" />
+ <option name="WATCH_ACCESS" value="true" />
+ <option name="WATCH_ENTRY" value="true" />
+ <option name="WATCH_EXIT" value="true" />
+ <option name="ENABLED" value="true" />
+ <option name="SUSPEND_VM" value="true" />
+ <option name="COUNT_FILTER_ENABLED" value="false" />
+ <option name="COUNT_FILTER" value="0" />
+ <option name="CONDITION_ENABLED" value="false" />
+ <option name="CONDITION" />
+ <option name="LOG_ENABLED" value="false" />
+ <option name="LOG_EXPRESSION_ENABLED" value="false" />
+ <option name="LOG_MESSAGE" />
+ <option name="CLASS_FILTERS_ENABLED" value="false" />
+ <option name="INVERSE_CLASS_FILLTERS" value="false" />
+ <option name="SUSPEND_POLICY" value="SuspendAll" />
+ </default_breakpoint_settings>
+ <filter>
+ <option name="PATTERN" value="com.sun.*" />
+ <option name="ENABLED" value="true" />
+ </filter>
+ <filter>
+ <option name="PATTERN" value="java.*" />
+ <option name="ENABLED" value="true" />
+ </filter>
+ <filter>
+ <option name="PATTERN" value="javax.*" />
+ <option name="ENABLED" value="true" />
+ </filter>
+ <filter>
+ <option name="PATTERN" value="org.omg.*" />
+ <option name="ENABLED" value="true" />
+ </filter>
+ <filter>
+ <option name="PATTERN" value="sun.*" />
+ <option name="ENABLED" value="true" />
+ </filter>
+ <filter>
+ <option name="PATTERN" value="junit.*" />
+ <option name="ENABLED" value="true" />
+ </filter>
+ </component>
+ <component name="EjbViewSettings">
+ <EjbView showMembers="false" autoscrollToSource="false" />
+ </component>
+ <component name="ErrorTreeViewConfiguration">
+ <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
+ <option name="HIDE_WARNINGS" value="false" />
+ </component>
+ <component name="FavoritesManager">
+ <favorites_list name="soapui-client" />
+ </component>
+ <component name="FavoritesProjectViewPane">
+ <subPane subId="soapui-client">
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" />
+ <option name="myItemType" value="com.intellij.ide.favoritesTreeView.FavoritesTreeNodeDescriptor" />
+ </PATH_ELEMENT>
+ </PATH>
+ </subPane>
+ </component>
+ <component name="FileEditorManager">
+ <leaf>
+ <file leaf-file-name="SoapUIClientServiceMBean.java" pinned="false" current="true" current-in-tab="true">
+ <entry file="file://$PROJECT_DIR$/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBean.java">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="36" column="17" selection-start="1489" selection-end="1489" vertical-scroll-proportion="0.27116564">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ </file>
+ <file leaf-file-name="jboss-service.xml" pinned="false" current="false" current-in-tab="false">
+ <entry file="file://$PROJECT_DIR$/src/main/resources/META-INF/jboss-service.xml">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ </file>
+ <file leaf-file-name="SoapUIClientService.java" pinned="false" current="false" current-in-tab="false">
+ <entry file="file://$PROJECT_DIR$/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="56" column="79" selection-start="2325" selection-end="2325" vertical-scroll-proportion="0.20858896">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ </file>
+ </leaf>
+ </component>
+ <component name="FindManager">
+ <FindUsagesManager>
+ <setting name="OPEN_NEW_TAB" value="false" />
+ </FindUsagesManager>
+ </component>
+ <component name="HierarchyBrowserManager">
+ <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
+ <option name="SORT_ALPHABETICALLY" value="false" />
+ <option name="HIDE_CLASSES_WHERE_METHOD_NOT_IMPLEMENTED" value="false" />
+ </component>
+ <component name="LvcsProjectConfiguration">
+ <option name="ADD_LABEL_ON_PROJECT_OPEN" value="true" />
+ <option name="ADD_LABEL_ON_PROJECT_COMPILATION" value="true" />
+ <option name="ADD_LABEL_ON_FILE_PACKAGE_COMPILATION" value="true" />
+ <option name="ADD_LABEL_ON_PROJECT_MAKE" value="true" />
+ <option name="ADD_LABEL_ON_RUNNING" value="true" />
+ <option name="ADD_LABEL_ON_DEBUGGING" value="true" />
+ <option name="ADD_LABEL_ON_UNIT_TEST_PASSED" value="true" />
+ <option name="ADD_LABEL_ON_UNIT_TEST_FAILED" value="true" />
+ </component>
+ <component name="ModuleEditorState">
+ <option name="LAST_EDITED_MODULE_NAME" />
+ <option name="LAST_EDITED_TAB_NAME" />
+ </component>
+ <component name="PackagesPane">
+ <subPane>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="soapui-client.ipr" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ </subPane>
+ </component>
+ <component name="PerforceChangeBrowserSettings">
+ <option name="USE_CLIENT_FILTER" value="true" />
+ <option name="CLIENT" value="" />
+ </component>
+ <component name="PerforceConfiguration">
+ <option name="PORT" value="magic:1666" />
+ <option name="USER" value="" />
+ <option name="PASSWORD" value="" />
+ <option name="CLIENT" value="" />
+ <option name="TRACE" value="false" />
+ <option name="PERFORCE_STATUS" value="true" />
+ <option name="CHANGELIST_OPTION" value="false" />
+ <option name="SYSTEMROOT" value="" />
+ <option name="P4_EXECUTABLE" value="p4" />
+ <option name="SHOW_BRANCH_HISTORY" value="false" />
+ <option name="GENERATE_COMMENT" value="false" />
+ <option name="SYNC_OPTION" value="Sync" />
+ <option name="PUT_FOCUS_INTO_COMMENT" value="false" />
+ <option name="SHOW_CHECKIN_OPTIONS" value="true" />
+ <option name="FORCE_NON_EMPTY_COMMENT" value="true" />
+ <option name="LAST_COMMIT_MESSAGE" value="" />
+ <option name="SAVE_LAST_COMMIT_MESSAGE" value="true" />
+ <option name="CHECKIN_DIALOG_SPLITTER_PROPORTION" value="0.8" />
+ <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
+ <option name="OPTIMIZE_IMPORTS_BEFORE_FILE_COMMIT" value="false" />
+ <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
+ <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
+ <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
+ <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
+ </component>
+ <component name="PerforceDirect.Settings">
+ <option name="useNativeApi" value="true" />
+ </component>
+ <component name="ProjectLevelVcsManager">
+ <OptionsSetting value="true" id="Add" />
+ <OptionsSetting value="true" id="Remove" />
+ <OptionsSetting value="true" id="Checkin" />
+ <OptionsSetting value="true" id="Checkout" />
+ <OptionsSetting value="true" id="Update" />
+ <OptionsSetting value="true" id="Status" />
+ <OptionsSetting value="true" id="Edit" />
+ <OptionsSetting value="true" id="Undo Check Out" />
+ <OptionsSetting value="true" id="Compare with SourceSafe Version" />
+ <OptionsSetting value="true" id="Get Latest Version" />
+ <ConfirmationsSetting value="0" id="Add" />
+ <ConfirmationsSetting value="0" id="Remove" />
+ </component>
+ <component name="ProjectPane">
+ <subPane>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client\src" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client\src" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client\src\main" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client\src\main\resources" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client\src" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client\src\main" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client\src\main\resources" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client\src\main\resources\META-INF" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client\src" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client\src\main" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client\src\main\java" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:H:\Jboss\ESB\JBESB_4_2_1_GA_CP_1\product\services\soapui-client\src\main\java\org\jboss\soa\esb\services\soapui" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="soapui-client" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ </subPane>
+ </component>
+ <component name="ProjectReloadState">
+ <option name="STATE" value="0" />
+ </component>
+ <component name="ProjectView">
+ <navigator currentView="ProjectPane" proportions="0.16666667" version="1" splitterProportion="0.5">
+ <flattenPackages />
+ <showMembers />
+ <showModules />
+ <showLibraryContents />
+ <hideEmptyPackages />
+ <abbreviatePackageNames />
+ <showStructure Favorites="false" PackagesPane="false" ProjectPane="false" />
+ <autoscrollToSource />
+ <autoscrollFromSource />
+ <sortByType />
+ </navigator>
+ </component>
+ <component name="ProjectViewSettings">
+ <navigator currentView="ProjectPane" flattenPackages="false" showMembers="false" showStructure="false" autoscrollToSource="false" splitterProportion="0.5" />
+ <view id="ProjectPane">
+ <expanded_node type="directory" url="file://$PROJECT_DIR$" />
+ </view>
+ <view id="SourcepathPane" />
+ <view id="ClasspathPane" />
+ </component>
+ <component name="PropertiesComponent">
+ <property name="GoToFile.includeJavaFiles" value="false" />
+ <property name="GoToClass.toSaveIncludeLibraries" value="false" />
+ <property name="RunManagerConfig.showSettingsBeforeRunnig" value="true" />
+ <property name="RunManagerConfig.compileBeforeRunning" value="true" />
+ <property name="TEMP_MODULE_EXPLODED_DIR_FOR_product/web/Web2" value="C:\Documents and Settings\Tom Fennelly\Local Settings\Temp\webExplodedDir25239tmp" />
+ <property name="TEMP_MODULE_EXPLODED_DIR_FOR_product/web/Web" value="C:\Documents and Settings\Tom Fennelly\Local Settings\Temp\webExplodedDir25238tmp" />
+ <property name="MemberChooser.sorted" value="false" />
+ <property name="MemberChooser.showClasses" value="true" />
+ <property name="GoToClass.includeLibraries" value="false" />
+ <property name="TEMP_MODULE_EXPLODED_DIR_FOR_product/web/Web9" value="C:\Documents and Settings\Tom Fennelly\Local Settings\Temp\webExplodedDir25240tmp" />
+ <property name="MemberChooser.copyJavadoc" value="false" />
+ </component>
+ <component name="ReadonlyStatusHandler">
+ <option name="SHOW_DIALOG" value="true" />
+ </component>
+ <component name="RecentsManager">
+ <key name="CopyClassDialog.RECENTS_KEY">
+ <recent name="org.jboss.soa.esb.services.soapui" />
+ </key>
+ </component>
+ <component name="RunManager" selected="JUnit.SoapUIClientServiceMBeanUnitTest.test_has_collections">
+ <tempConfiguration default="false" name="SoapUIClientServiceMBeanUnitTest.test_has_collections" type="JUnit" factoryName="JUnit" enabled="false" merge="false">
+ <pattern value="org.jboss.soa.esb.services.soapui.*" />
+ <module name="soapui-client" />
+ <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+ <option name="ALTERNATIVE_JRE_PATH" value="" />
+ <option name="PACKAGE_NAME" value="org.jboss.soa.esb.services.soapui" />
+ <option name="MAIN_CLASS_NAME" value="org.jboss.soa.esb.services.soapui.SoapUIClientServiceMBeanUnitTest" />
+ <option name="METHOD_NAME" value="test_has_collections" />
+ <option name="TEST_OBJECT" value="method" />
+ <option name="VM_PARAMETERS" value="" />
+ <option name="PARAMETERS" value="" />
+ <option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
+ <option name="ENV_VARIABLES" />
+ <option name="PASS_PARENT_ENVS" value="true" />
+ <option name="ADDITIONAL_CLASS_PATH" />
+ <option name="TEST_SEARCH_SCOPE">
+ <value defaultName="wholeProject" />
+ </option>
+ <RunnerSettings RunnerId="Debug">
+ <option name="DEBUG_PORT" value="4078" />
+ <option name="TRANSPORT" value="0" />
+ <option name="LOCAL" value="true" />
+ </RunnerSettings>
+ <RunnerSettings RunnerId="Profile ">
+ <option name="myExternalizedOptions" value=" snapshots-dir= " />
+ </RunnerSettings>
+ <RunnerSettings RunnerId="Run" />
+ <ConfigurationWrapper RunnerId="Debug" />
+ <ConfigurationWrapper RunnerId="Run" />
+ <method>
+ <option name="Make" value="true" />
+ </method>
+ </tempConfiguration>
+ <configuration default="true" type="Remote" factoryName="Remote">
+ <option name="USE_SOCKET_TRANSPORT" value="true" />
+ <option name="SERVER_MODE" value="false" />
+ <option name="SHMEM_ADDRESS" value="javadebug" />
+ <option name="HOST" value="localhost" />
+ <option name="PORT" value="5005" />
+ </configuration>
+ <configuration default="true" type="Applet" factoryName="Applet">
+ <module name="" />
+ <option name="MAIN_CLASS_NAME" />
+ <option name="HTML_FILE_NAME" />
+ <option name="HTML_USED" value="false" />
+ <option name="WIDTH" value="400" />
+ <option name="HEIGHT" value="300" />
+ <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
+ <option name="VM_PARAMETERS" />
+ <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+ <option name="ALTERNATIVE_JRE_PATH" />
+ </configuration>
+ <configuration default="true" type="JUnit" factoryName="JUnit" enabled="false" merge="false">
+ <module name="" />
+ <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+ <option name="ALTERNATIVE_JRE_PATH" />
+ <option name="PACKAGE_NAME" />
+ <option name="MAIN_CLASS_NAME" />
+ <option name="METHOD_NAME" />
+ <option name="TEST_OBJECT" value="class" />
+ <option name="VM_PARAMETERS" />
+ <option name="PARAMETERS" />
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
+ <option name="ENV_VARIABLES" />
+ <option name="PASS_PARENT_ENVS" value="true" />
+ <option name="ADDITIONAL_CLASS_PATH" />
+ <option name="TEST_SEARCH_SCOPE">
+ <value defaultName="wholeProject" />
+ </option>
+ <method>
+ <option name="Make" value="true" />
+ </method>
+ </configuration>
+ <configuration default="true" type="Application" factoryName="Application" enabled="false" merge="false">
+ <option name="MAIN_CLASS_NAME" />
+ <option name="VM_PARAMETERS" />
+ <option name="PROGRAM_PARAMETERS" />
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
+ <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+ <option name="ALTERNATIVE_JRE_PATH" />
+ <option name="ENABLE_SWING_INSPECTOR" value="false" />
+ <option name="ENV_VARIABLES" />
+ <option name="PASS_PARENT_ENVS" value="true" />
+ <module name="" />
+ </configuration>
+ <list size="1">
+ <item index="0" class="java.lang.String" itemvalue="JUnit.SoapUIClientServiceMBeanUnitTest.test_has_collections" />
+ </list>
+ </component>
+ <component name="StarteamConfiguration">
+ <option name="SERVER" value="" />
+ <option name="PORT" value="49201" />
+ <option name="USER" value="" />
+ <option name="PASSWORD" value="" />
+ <option name="PROJECT" value="" />
+ <option name="VIEW" value="" />
+ <option name="ALTERNATIVE_WORKING_PATH" value="" />
+ <option name="LOCK_ON_CHECKOUT" value="false" />
+ <option name="UNLOCK_ON_CHECKIN" value="false" />
+ </component>
+ <component name="StructureViewFactory">
+ <option name="AUTOSCROLL_MODE" value="true" />
+ <option name="AUTOSCROLL_FROM_SOURCE" value="false" />
+ <option name="ACTIVE_ACTIONS" value="" />
+ </component>
+ <component name="Struts Assistant">
+ <option name="showInputs" value="true" />
+ <option name="resources">
+ <value>
+ <option name="strutsPath" />
+ <option name="strutsHelp" />
+ </value>
+ </option>
+ <option name="selectedTaglibs" />
+ <option name="selectedTaglibs" />
+ <option name="myStrutsValidationEnabled" value="true" />
+ <option name="myTilesValidationEnabled" value="true" />
+ <option name="myValidatorValidationEnabled" value="true" />
+ <option name="myReportErrorsAsWarnings" value="true" />
+ </component>
+ <component name="SvnChangesBrowserSettings">
+ <option name="USE_AUTHOR_FIELD" value="true" />
+ <option name="AUTHOR" value="" />
+ <option name="LOCATION" value="" />
+ <option name="USE_PROJECT_SETTINGS" value="true" />
+ <option name="USE_ALTERNATE_LOCATION" value="false" />
+ </component>
+ <component name="SvnConfiguration">
+ <option name="USER" value="" />
+ <option name="PASSWORD" value="" />
+ <option name="LAST_MERGED_REVISION" />
+ <option name="UPDATE_RUN_STATUS" value="false" />
+ <option name="UPDATE_RECURSIVELY" value="true" />
+ <option name="MERGE_DRY_RUN" value="false" />
+ <configuration useDefault="true">C:\Documents and Settings\Tom Fennelly\Application Data\Subversion</configuration>
+ </component>
+ <component name="TodoView" selected-index="0">
+ <todo-panel id="selected-file">
+ <are-packages-shown value="false" />
+ <are-modules-shown value="false" />
+ <flatten-packages value="false" />
+ <is-autoscroll-to-source value="true" />
+ </todo-panel>
+ <todo-panel id="all">
+ <are-packages-shown value="true" />
+ <are-modules-shown value="false" />
+ <flatten-packages value="false" />
+ <is-autoscroll-to-source value="true" />
+ </todo-panel>
+ <todo-panel id="default-changelist">
+ <are-packages-shown value="false" />
+ <are-modules-shown value="false" />
+ <flatten-packages value="false" />
+ <is-autoscroll-to-source value="false" />
+ </todo-panel>
+ </component>
+ <component name="ToolWindowManager">
+ <frame x="0" y="0" width="1280" height="998" extended-state="0" />
+ <editor active="true" />
+ <layout>
+ <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
+ <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
+ <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="1" />
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="1" />
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3997669" order="4" />
+ <window_info id="IDEtalk Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="IDEtalk" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32983682" order="8" />
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="7" />
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="1" />
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" order="0" />
+ <window_info id="Maven projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="-1" />
+ <window_info id="Module Dependencies" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32134098" order="0" />
+ <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="2" />
+ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" order="6" />
+ <window_info id="Duplicates" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="-1" />
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.46853146" order="2" />
+ <window_info id="Aspects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
+ <window_info id="File View" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
+ <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="5" />
+ <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="0" />
+ <window_info id="Profile" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="2" />
+ <window_info id="EJB" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="3" />
+ <window_info id="CVS" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ </layout>
+ </component>
+ <component name="VCS.FileViewConfiguration">
+ <option name="SELECTED_STATUSES" value="DEFAULT" />
+ <option name="SELECTED_COLUMNS" value="DEFAULT" />
+ <option name="SHOW_FILTERS" value="true" />
+ <option name="CUSTOMIZE_VIEW" value="true" />
+ <option name="SHOW_FILE_HISTORY_AS_TREE" value="true" />
+ </component>
+ <component name="VcsManagerConfiguration">
+ <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
+ <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
+ <option name="PERFORM_UPDATE_IN_BACKGROUND" value="false" />
+ <option name="PERFORM_COMMIT_IN_BACKGROUND" value="false" />
+ <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
+ <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
+ <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
+ <option name="LAST_COMMIT_MESSAGE" />
+ <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
+ <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
+ <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
+ <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
+ <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
+ <option name="ACTIVE_VCS_NAME" value="" />
+ <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
+ <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
+ <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
+ <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
+ </component>
+ <component name="VssConfiguration">
+ <option name="CLIENT_PATH" value="" />
+ <option name="SRCSAFEINI_PATH" value="" />
+ <option name="USER_NAME" value="" />
+ <option name="PWD" value="" />
+ <CheckoutOptions>
+ <option name="COMMENT" value="" />
+ <option name="DO_NOT_GET_LATEST_VERSION" value="false" />
+ <option name="REPLACE_WRITABLE" value="false" />
+ <option name="RECURSIVE" value="false" />
+ </CheckoutOptions>
+ <CheckinOptions>
+ <option name="COMMENT" value="" />
+ <option name="KEEP_CHECKED_OUT" value="false" />
+ <option name="RECURSIVE" value="false" />
+ </CheckinOptions>
+ <AddOptions>
+ <option name="STORE_ONLY_LATEST_VERSION" value="false" />
+ <option name="CHECK_OUT_IMMEDIATELY" value="false" />
+ </AddOptions>
+ <UndocheckoutOptions>
+ <option name="MAKE_WRITABLE" value="false" />
+ <option name="REPLACE_LOCAL_COPY" value="0" />
+ <option name="RECURSIVE" value="false" />
+ </UndocheckoutOptions>
+ <GetOptions>
+ <option name="REPLACE_WRITABLE" value="0" />
+ <option name="MAKE_WRITABLE" value="false" />
+ <option name="ANSWER_NEGATIVELY" value="false" />
+ <option name="ANSWER_POSITIVELY" value="false" />
+ <option name="RECURSIVE" value="false" />
+ <option name="VERSION" />
+ </GetOptions>
+ </component>
+ <component name="WebViewSettings">
+ <webview flattenPackages="false" showMembers="false" autoscrollToSource="false" />
+ </component>
+ <component name="antWorkspaceConfiguration">
+ <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
+ <option name="FILTER_TARGETS" value="false" />
+ </component>
+ <component name="com.intellij.ide.util.scopeChooser.ScopeChooserConfigurable" proportions="" version="1">
+ <option name="myLastEditedConfigurable" />
+ </component>
+ <component name="com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectRootMasterDetailsConfigurable" proportions="0.16666667,0.5" version="1">
+ <option name="myPlainMode" value="false" />
+ <option name="myLastEditedConfigurable" value="soapui-client" />
+ </component>
+ <component name="com.intellij.profile.ui.ErrorOptionsConfigurable" proportions="" version="1">
+ <option name="myLastEditedConfigurable" />
+ </component>
+ <component name="editorHistoryManager">
+ <entry file="jar://H:/Jboss/ESB/trunk/product/build/jbossesb/lib/jbossesb-rosetta.jar!/org/jboss/internal/soa/esb/soap/OGNLUtils.class">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="18" column="0" selection-start="861" selection-end="861" vertical-scroll-proportion="0.5952381">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry file="file://$PROJECT_DIR$/src/test/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBeanUnitTest.java">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="54" column="22" selection-start="2561" selection-end="2561" vertical-scroll-proportion="0.9280397">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry file="file://$PROJECT_DIR$/build.xml">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="11" column="70" selection-start="513" selection-end="531" vertical-scroll-proportion="0.042183623">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry file="file://$PROJECT_DIR$/pom.xml">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="46" column="18" selection-start="1628" selection-end="1628" vertical-scroll-proportion="0.26576018">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry file="file://$PROJECT_DIR$/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="56" column="79" selection-start="2325" selection-end="2325" vertical-scroll-proportion="0.20858896">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry file="file://$PROJECT_DIR$/src/main/resources/META-INF/jboss-service.xml">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry file="file://$PROJECT_DIR$/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBean.java">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="36" column="17" selection-start="1489" selection-end="1489" vertical-scroll-proportion="0.27116564">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ </component>
+ <component name="ideajad">
+ <property name="annotate" value="false" />
+ <property name="annotateFully" value="false" />
+ <property name="braces" value="false" />
+ <property name="clear" value="false" />
+ <property name="confirmNavigationTriggeredDecompile" value="true" />
+ <property name="dead" value="true" />
+ <property name="defaultInitializers" value="false" />
+ <property name="dissassemblerOnly" value="false" />
+ <property name="fieldsFirst" value="true" />
+ <property name="fileExtension" value="java" />
+ <property name="fullyQualifiedNames" value="false" />
+ <property name="indentation" value="4" />
+ <property name="intRadix" value="10" />
+ <property name="lineNumbersAsComments" value="true" />
+ <property name="longRadix" value="10" />
+ <property name="maxStringLength" value="64" />
+ <property name="nocast" value="false" />
+ <property name="noclass" value="false" />
+ <property name="nocode" value="false" />
+ <property name="noconv" value="false" />
+ <property name="noctor" value="false" />
+ <property name="nodos" value="false" />
+ <property name="nofd" value="false" />
+ <property name="noinner" value="false" />
+ <property name="nolvt" value="false" />
+ <property name="nonlb" value="false" />
+ <property name="outputDirectory" value="" />
+ <property name="packFields" value="3" />
+ <property name="packImports" value="7" />
+ <property name="prefixNumericalClasses" value="_cls" />
+ <property name="prefixNumericalFields" value="_fld" />
+ <property name="prefixNumericalLocals" value="_lcl" />
+ <property name="prefixNumericalMethods" value="_mth" />
+ <property name="prefixNumericalParameters" value="_prm" />
+ <property name="prefixUnusedExceptions" value="_ex" />
+ <property name="readonly" value="false" />
+ <property name="safe" value="false" />
+ <property name="sort" value="false" />
+ <property name="spaceAfterKeyword" value="false" />
+ <property name="splitStringsAtNewline" value="false" />
+ <property name="useTabs" value="false" />
+ </component>
+</project>
+
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/lib/jboss-common.jar
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/lib/jboss-system-client.jar
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/lib/jboss-system.jar
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/lib/jsr173_1.0_api-xmlbeans-2.2.0.jar
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/lib/log4j.jar
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/lib/ognl-2.6.9.jar
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/lib/wsdl4j-1.6.2.jar
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/lib/xbean-2.2.0.jar
===================================================================
(Binary files differ)
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -20,7 +20,13 @@
package org.jboss.soa.esb.services.soapui;
import java.io.ByteArrayInputStream;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
import java.io.IOException;
+import java.io.InputStream;
+import java.io.StringReader;
+import java.net.URL;
import java.util.*;
import javax.xml.parsers.DocumentBuilder;
@@ -28,22 +34,28 @@
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.stream.StreamResult;
import org.apache.log4j.Logger;
import org.apache.commons.httpclient.HttpClient;
import org.jboss.internal.soa.esb.soap.OGNLUtils;
import org.jboss.internal.soa.esb.util.LRUCache;
import org.jboss.internal.soa.esb.util.ESBProperties;
+import org.jboss.internal.soa.esb.util.XMLHelper;
import org.jboss.soa.esb.dom.YADOMUtil;
import org.jboss.soa.esb.http.HttpClientFactory;
import org.jboss.soa.esb.ConfigurationException;
import org.jboss.system.ServiceMBeanSupport;
+import org.jboss.system.server.ServerConfig;
+import org.jboss.system.server.ServerConfigLocator;
import org.milyn.xml.XmlUtil;
import org.milyn.Smooks;
import org.milyn.resource.URIResourceLocator;
import org.w3c.dom.*;
import org.xml.sax.SAXException;
+import org.xml.sax.InputSource;
+import com.eviware.soapui.SoapUI;
import com.eviware.soapui.impl.wsdl.WsdlInterface;
import com.eviware.soapui.impl.wsdl.WsdlProject;
import com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader;
@@ -65,6 +77,26 @@
private Map<String, Smooks> smooksCache;
private ESBProperties properties;
private static final String CLONED_POSTFIX = " - cloned";
+ /**
+ * The SoapUI property file.
+ */
+ private String propertyFile ;
+ /**
+ * The name of the generated property file.
+ */
+ private static final String SOAP_UI_PROPERTY_FILE = "soapui-settings.xml" ;
+ /**
+ * The additional schema resources.
+ */
+ private String schemas ;
+ /**
+ * The name of the SoapUI schema directory.
+ */
+ private static final String SOAP_UI_SCHEMA_DIRECTORY = "soapui-schemas" ;
+ /**
+ * The name of the property specifying the created SoapUI schema directory.
+ */
+ private static final String PROPERTY_ESB_SCHEMA_DIRECTORY = "jboss.esb.soapui.schema" ;
/**
* Public default constructor.
@@ -78,7 +110,166 @@
smooksCache = new LRUCache<String, Smooks>(smooksLRUCacheSize);
}
+ protected void startService() throws Exception {
+ super.startService();
+
+ if (propertyFile != null) {
+ final ServerConfig serverConfig = ServerConfigLocator.locate() ;
+ final File dataDir = serverConfig.getServerDataDir() ;
+
+ if (schemas != null)
+ {
+ initialiseSchemas(dataDir) ;
+ }
+
+ final File soapUIPropertyFile = new File(dataDir, SOAP_UI_PROPERTY_FILE) ;
+
+ final File baseFile = new File(propertyFile) ;
+ final InputStream xmlPropertyIS = getInputStream(baseFile);
+
+
+ try {
+ final FileOutputStream fos = new FileOutputStream(soapUIPropertyFile) ;
+ XMLHelper.replaceSystemProperties(XMLHelper.getXMLStreamReader(xmlPropertyIS),
+ XMLHelper.getXMLStreamWriter(fos)) ;
+ } finally {
+ xmlPropertyIS.close() ;
+ }
+
+ SoapUI.initSettings(soapUIPropertyFile.getAbsolutePath()) ;
+ }
+ }
+
+ @Override
+ protected void stopService() throws Exception
+ {
+ if (propertyFile != null)
+ {
+ final ServerConfig serverConfig = ServerConfigLocator.locate() ;
+ final File dataDir = serverConfig.getServerDataDir() ;
+ final File schemaDir = new File(dataDir, SOAP_UI_SCHEMA_DIRECTORY) ;
+ if (schemaDir.exists())
+ {
+ deleteFiles(schemaDir) ;
+ }
+ }
+
+ // TODO Auto-generated method stub
+ super.stopService();
+ }
+
+ private void initialiseSchemas(final File dataDir)
+ throws IOException
+ {
+ final String[] schemaResources = schemas.split("[, ]") ;
+ if (schemaResources != null)
+ {
+ final File schemaDir = new File(dataDir, SOAP_UI_SCHEMA_DIRECTORY) ;
+ schemaDir.mkdir();
+
+ for(String schema: schemaResources)
+ {
+ final File schemaFile = new File(schema) ;
+ final InputStream is = getInputStream(schemaFile) ;
+ try
+ {
+ writeToFile(is, schemaDir, schemaFile.getName()) ;
+ }
+ finally
+ {
+ is.close() ;
+ }
+ }
+ System.setProperty(PROPERTY_ESB_SCHEMA_DIRECTORY, schemaDir.getAbsolutePath()) ;
+ }
+ }
+
+ private void deleteFiles(final File file)
+ {
+ if (file.isDirectory())
+ {
+ final File[] files = file.listFiles() ;
+ for(File child: files)
+ {
+ deleteFiles(child) ;
+ }
+ }
+ file.delete() ;
+ }
+
+ private void writeToFile(final InputStream is, final File dir, final String name)
+ throws IOException
+ {
+ final File output = new File(dir, name) ;
+ final byte[] buffer = new byte[256] ;
+ final FileOutputStream fos = new FileOutputStream(output) ;
+ try
+ {
+ for(;;)
+ {
+ final int count = is.read(buffer) ;
+ if (count <= 0)
+ {
+ break ;
+ }
+ fos.write(buffer, 0, count) ;
+ }
+ }
+ finally
+ {
+ fos.close() ;
+ }
+ }
+
+ private InputStream getInputStream(final File file)
+ throws IOException
+ {
+ if (!file.isAbsolute()) {
+ final URL resourceURL = Thread.currentThread().getContextClassLoader().getResource(file.getPath()) ;
+ return resourceURL.openStream() ;
+ } else {
+ return new FileInputStream(file) ;
+ }
+ }
+
/**
+ * Get the property file.
+ * @return The name of the property file being used.
+ */
+ public String getPropertyFile()
+ {
+ return propertyFile ;
+ }
+ /**
+ * Set the property file.
+ * @param propertyFile The name of the property file being used.
+ */
+ public void setPropertyFile(final String propertyFile)
+ {
+ this.propertyFile = propertyFile ;
+ }
+
+ /**
+ * Get the additional schema resources.
+ * @return The additional schema resources.
+ */
+ public String getSchemas()
+ {
+ return schemas ;
+ }
+
+ /**
+ * Set the additional schemes.
+ * @param schemas The additional schema resources to setup for SoapUI.
+ * This needs support through the soapui-settings.xml file
+ * @see setPropertyFile
+ */
+ public void setSchemas(final String schemas)
+ {
+ this.schemas = schemas ;
+ }
+
+ /**
* Build a SOAP request for the specified operation on the specified WSDL.
*
* @param wsdl WSDL URL.
@@ -162,20 +353,49 @@
return new EsbWsdlLoader(wsdl, httpClient);
}
- private String buildRequest(String soapMessage, Map params, String smooksResource, String soapNs) throws IOException, SAXException {
- Document messageDoc = getDocBuilder().parse(new ByteArrayInputStream(soapMessage.getBytes()));
+ private String buildRequest(String soapMessageTemplate, Map params, String smooksResource, String soapNs) throws IOException, SAXException {
+ Document messageDoc = getDocBuilder().parse(new InputSource(new StringReader(soapMessageTemplate)));
Element docRoot = messageDoc.getDocumentElement();
+ // Purposely not using log levels to output because I want to make
+ // it as easy as possible for the developer to dump the SOAP during dev. They
+ // just need to set "dumpSOAP" in the param Map....
+ boolean dumpSOAP = params.containsKey("dumpSOAP");
+ if(dumpSOAP) {
+ dumpSOAP("SOAP Template (Unexpanded):", docRoot);
+ }
+
expandMessage(docRoot, params);
+
+ if(dumpSOAP) {
+ dumpSOAP("SOAP Template (Expanded):", docRoot);
+ }
+
injectParameters(docRoot, params, soapNs);
+
if(smooksResource != null) {
applySmooksTransform(smooksResource, messageDoc);
}
+ if(dumpSOAP) {
+ dumpSOAP("SOAP Message (Populated Template):", docRoot);
+ }
+
return XmlUtil.serialize(messageDoc.getChildNodes());
}
+ private void dumpSOAP(String message, Element docRoot) {
+ System.out.println("------------------------------------------------------------------------------------------------------------------------------------------");
+ System.out.println(message + "\n");
+ try {
+ YADOMUtil.serialize(docRoot, new StreamResult(System.out));
+ } catch (ConfigurationException e) {
+ logger.error("Unable to dump SOAP.", e);
+ }
+ System.out.println("------------------------------------------------------------------------------------------------------------------------------------------");
+ }
+
private void applySmooksTransform(String smooksResource, Document messageDoc) throws IOException, SAXException {
if(smooksResource != null) {
Smooks smooks = smooksCache.get(smooksResource);
@@ -228,6 +448,10 @@
} else if(collectionSize == 1) {
// It's a collection, but no need to clone coz we
// already have an entry for it...
+ if(clonePoint == element) {
+ // If the element itself is the clone point, add the OGNL expression attribute...
+ element.setAttributeNS(OGNLUtils.JBOSSESB_SOAP_NS, OGNLUtils.JBOSSESB_SOAP_NS_PREFIX + OGNLUtils.OGNL_ATTRIB, ognl + "[0]");
+ }
} else {
// It's a collection and we need to do some cloning
if(clonePoint != null) {
@@ -376,7 +600,7 @@
return;
}
- Element nextSibling = YADOMUtil.getNextSiblingElement(element);
+ Node insertPoint = element.getNextSibling();
Node parent = element.getParentNode();
element.setAttributeNS(OGNLUtils.JBOSSESB_SOAP_NS, OGNLUtils.JBOSSESB_SOAP_NS_PREFIX + OGNLUtils.OGNL_ATTRIB, ognl + "[0]");
@@ -385,12 +609,11 @@
clone.setAttributeNS(OGNLUtils.JBOSSESB_SOAP_NS, OGNLUtils.JBOSSESB_SOAP_NS_PREFIX + IS_CLONE_ATTRIB, "true");
clone.setAttributeNS(OGNLUtils.JBOSSESB_SOAP_NS, OGNLUtils.JBOSSESB_SOAP_NS_PREFIX + OGNLUtils.OGNL_ATTRIB, ognl + "[" + Integer.toString(i + 1) + "]");
- if (nextSibling == null) {
+ if (insertPoint == null) {
parent.appendChild(clone);
} else {
- parent.insertBefore(clone, nextSibling);
+ parent.insertBefore(clone, insertPoint);
}
- nextSibling = YADOMUtil.getNextSiblingElement(clone);
}
}
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBean.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBean.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBean.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -63,4 +63,29 @@
* @throws IOException Failed to load WSDL.
*/
public abstract String getEndpoint(String wsdl, Properties httpClientProps) throws IOException;
+
+ /**
+ * Get the property file.
+ * @return The name of the property file being used.
+ */
+ public String getPropertyFile() ;
+ /**
+ * Set the property file.
+ * @param propertyFile The name of the property file being used.
+ */
+ public void setPropertyFile(final String propertyFile) ;
+
+ /**
+ * Get the additional schema resources.
+ * @return The additional schema resources.
+ */
+ public String getSchemas() ;
+
+ /**
+ * Set the additional schemes.
+ * @param schemas The additional schema resources to setup for SoapUI.
+ * This needs support through the soapui-settings.xml file
+ * @see setPropertyFile
+ */
+ public void setSchemas(final String schemas) ;
}
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/META-INF/jboss-service.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/META-INF/jboss-service.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/META-INF/jboss-service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -2,8 +2,11 @@
<service>
<mbean code="org.jboss.soa.esb.services.soapui.SoapUIClientService"
name="jboss.esb:service=SoapUIClientService">
+ <attribute name="PropertyFile">soapui-settings.xml</attribute>
+ <attribute name="Schemas">schemas/XMLSchema1999.xsd</attribute>
+ <depends>jboss.esb:service=ESBDeployer</depends>
</mbean>
<loader-repository>
jboss.esb:loader=soapui-client.sar
</loader-repository>
-</service>
\ No newline at end of file
+</service>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/schemas (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/soapui-client/src/main/resources/schemas)
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/schemas/XMLSchema1999.xsd
===================================================================
--- labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/soapui-client/src/main/resources/schemas/XMLSchema1999.xsd 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/schemas/XMLSchema1999.xsd 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- XML Schema schema for XML Schemas: Part 1: Structures -->
-<!-- This schema attempts to redefine some XMLSchema1999 definitions as
- XMLSchema2001. This allows SoapUI to parse webservices using the older schema.
-
- This definition is not comprehensive, at present only simple string types are supported.
- -->
-<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" [
-
-<!-- provide ID type information even for parsers which only read the
- internal subset -->
-<!ATTLIST xs:schema id ID #IMPLIED>
-<!ATTLIST xs:complexType id ID #IMPLIED>
-<!ATTLIST xs:complexContent id ID #IMPLIED>
-<!ATTLIST xs:simpleContent id ID #IMPLIED>
-<!ATTLIST xs:extension id ID #IMPLIED>
-<!ATTLIST xs:element id ID #IMPLIED>
-<!ATTLIST xs:group id ID #IMPLIED>
-<!ATTLIST xs:all id ID #IMPLIED>
-<!ATTLIST xs:choice id ID #IMPLIED>
-<!ATTLIST xs:sequence id ID #IMPLIED>
-<!ATTLIST xs:any id ID #IMPLIED>
-<!ATTLIST xs:anyAttribute id ID #IMPLIED>
-<!ATTLIST xs:attribute id ID #IMPLIED>
-<!ATTLIST xs:attributeGroup id ID #IMPLIED>
-<!ATTLIST xs:unique id ID #IMPLIED>
-<!ATTLIST xs:key id ID #IMPLIED>
-<!ATTLIST xs:keyref id ID #IMPLIED>
-<!ATTLIST xs:selector id ID #IMPLIED>
-<!ATTLIST xs:field id ID #IMPLIED>
-<!ATTLIST xs:include id ID #IMPLIED>
-<!ATTLIST xs:import id ID #IMPLIED>
-<!ATTLIST xs:redefine id ID #IMPLIED>
-<!ATTLIST xs:notation id ID #IMPLIED>
-<!--
- keep this schema XML1.0 DTD valid
- -->
- <!ENTITY % schemaAttrs 'xmlns:hfp CDATA #IMPLIED'>
-
- <!ELEMENT hfp:hasFacet EMPTY>
- <!ATTLIST hfp:hasFacet
- name NMTOKEN #REQUIRED>
-
- <!ELEMENT hfp:hasProperty EMPTY>
- <!ATTLIST hfp:hasProperty
- name NMTOKEN #REQUIRED
- value CDATA #REQUIRED>
-<!--
- Make sure that processors that do not read the external
- subset will know about the various IDs we declare
- -->
- <!ATTLIST xs:simpleType id ID #IMPLIED>
- <!ATTLIST xs:maxExclusive id ID #IMPLIED>
- <!ATTLIST xs:minExclusive id ID #IMPLIED>
- <!ATTLIST xs:maxInclusive id ID #IMPLIED>
- <!ATTLIST xs:minInclusive id ID #IMPLIED>
- <!ATTLIST xs:totalDigits id ID #IMPLIED>
- <!ATTLIST xs:fractionDigits id ID #IMPLIED>
- <!ATTLIST xs:length id ID #IMPLIED>
- <!ATTLIST xs:minLength id ID #IMPLIED>
- <!ATTLIST xs:maxLength id ID #IMPLIED>
- <!ATTLIST xs:enumeration id ID #IMPLIED>
- <!ATTLIST xs:pattern id ID #IMPLIED>
- <!ATTLIST xs:appinfo id ID #IMPLIED>
- <!ATTLIST xs:documentation id ID #IMPLIED>
- <!ATTLIST xs:list id ID #IMPLIED>
- <!ATTLIST xs:union id ID #IMPLIED>
- ]>
-<xs:schema xmlns="http://www.w3.org/1999/XMLSchema" xmlns:tns="http://www.w3.org/1999/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/1999/XMLSchema" blockDefault="#all" elementFormDefault="qualified" version="$Id: XMLSchema.xsd,v 1.5 2000/04/28 13:53:45 ht Exp $" xml:lang="EN">
-<xs:simpleType name="string" id="string">
- <xs:restriction base="xs:string"/>
- </xs:simpleType>
-</xs:schema>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/schemas/XMLSchema1999.xsd (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/soapui-client/src/main/resources/schemas/XMLSchema1999.xsd)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/schemas/XMLSchema1999.xsd (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/schemas/XMLSchema1999.xsd 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- XML Schema schema for XML Schemas: Part 1: Structures -->
+<!-- This schema attempts to redefine some XMLSchema1999 definitions as
+ XMLSchema2001. This allows SoapUI to parse webservices using the older schema.
+
+ This definition is not comprehensive, at present only simple string types are supported.
+ -->
+<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" [
+
+<!-- provide ID type information even for parsers which only read the
+ internal subset -->
+<!ATTLIST xs:schema id ID #IMPLIED>
+<!ATTLIST xs:complexType id ID #IMPLIED>
+<!ATTLIST xs:complexContent id ID #IMPLIED>
+<!ATTLIST xs:simpleContent id ID #IMPLIED>
+<!ATTLIST xs:extension id ID #IMPLIED>
+<!ATTLIST xs:element id ID #IMPLIED>
+<!ATTLIST xs:group id ID #IMPLIED>
+<!ATTLIST xs:all id ID #IMPLIED>
+<!ATTLIST xs:choice id ID #IMPLIED>
+<!ATTLIST xs:sequence id ID #IMPLIED>
+<!ATTLIST xs:any id ID #IMPLIED>
+<!ATTLIST xs:anyAttribute id ID #IMPLIED>
+<!ATTLIST xs:attribute id ID #IMPLIED>
+<!ATTLIST xs:attributeGroup id ID #IMPLIED>
+<!ATTLIST xs:unique id ID #IMPLIED>
+<!ATTLIST xs:key id ID #IMPLIED>
+<!ATTLIST xs:keyref id ID #IMPLIED>
+<!ATTLIST xs:selector id ID #IMPLIED>
+<!ATTLIST xs:field id ID #IMPLIED>
+<!ATTLIST xs:include id ID #IMPLIED>
+<!ATTLIST xs:import id ID #IMPLIED>
+<!ATTLIST xs:redefine id ID #IMPLIED>
+<!ATTLIST xs:notation id ID #IMPLIED>
+<!--
+ keep this schema XML1.0 DTD valid
+ -->
+ <!ENTITY % schemaAttrs 'xmlns:hfp CDATA #IMPLIED'>
+
+ <!ELEMENT hfp:hasFacet EMPTY>
+ <!ATTLIST hfp:hasFacet
+ name NMTOKEN #REQUIRED>
+
+ <!ELEMENT hfp:hasProperty EMPTY>
+ <!ATTLIST hfp:hasProperty
+ name NMTOKEN #REQUIRED
+ value CDATA #REQUIRED>
+<!--
+ Make sure that processors that do not read the external
+ subset will know about the various IDs we declare
+ -->
+ <!ATTLIST xs:simpleType id ID #IMPLIED>
+ <!ATTLIST xs:maxExclusive id ID #IMPLIED>
+ <!ATTLIST xs:minExclusive id ID #IMPLIED>
+ <!ATTLIST xs:maxInclusive id ID #IMPLIED>
+ <!ATTLIST xs:minInclusive id ID #IMPLIED>
+ <!ATTLIST xs:totalDigits id ID #IMPLIED>
+ <!ATTLIST xs:fractionDigits id ID #IMPLIED>
+ <!ATTLIST xs:length id ID #IMPLIED>
+ <!ATTLIST xs:minLength id ID #IMPLIED>
+ <!ATTLIST xs:maxLength id ID #IMPLIED>
+ <!ATTLIST xs:enumeration id ID #IMPLIED>
+ <!ATTLIST xs:pattern id ID #IMPLIED>
+ <!ATTLIST xs:appinfo id ID #IMPLIED>
+ <!ATTLIST xs:documentation id ID #IMPLIED>
+ <!ATTLIST xs:list id ID #IMPLIED>
+ <!ATTLIST xs:union id ID #IMPLIED>
+ ]>
+<xs:schema xmlns="http://www.w3.org/1999/XMLSchema" xmlns:tns="http://www.w3.org/1999/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/1999/XMLSchema" blockDefault="#all" elementFormDefault="qualified" version="$Id: XMLSchema.xsd,v 1.5 2000/04/28 13:53:45 ht Exp $" xml:lang="EN">
+<xs:simpleType name="string" id="string">
+ <xs:restriction base="xs:string"/>
+ </xs:simpleType>
+</xs:schema>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/soapui-settings.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/soapui-client/src/main/resources/soapui-settings.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/soapui-settings.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/main/resources/soapui-settings.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<con:soapui-settings xmlns:con="http://eviware.com/soapui/config">
+ <con:setting id="WsdlSettings at schema-directory">${jboss.esb.soapui.schema}</con:setting>
+
+ <con:setting id="WsdlSettings at cache-wsdls">true</con:setting>
+ <con:setting id="WsdlSettings at pretty-print-response-xml">true</con:setting>
+ <con:setting id="HttpSettings at include_request_in_time_taken">true</con:setting>
+ <con:setting id="HttpSettings at include_response_in_time_taken">true</con:setting>
+ <con:setting id="WsdlSettings at excluded-types"><![CDATA[
+ <con:entry xmlns:con="http://eviware.com/soapui/config">schema at http://www.w3.org/2001/XMLSchema</con:entry>
+ ]]>
+ </con:setting>
+ <con:setting id="WsdlSettings at name-with-binding">true</con:setting>
+</con:soapui-settings>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/JBESB_1713_SoapUIClientServiceMBeanUnitTest.java (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/JBESB_1713_SoapUIClientServiceMBeanUnitTest.java)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/JBESB_1713_SoapUIClientServiceMBeanUnitTest.java (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/JBESB_1713_SoapUIClientServiceMBeanUnitTest.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.services.soapui;
+
+import java.io.BufferedReader;
+import java.io.ByteArrayInputStream;
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.StringWriter;
+import java.util.*;
+
+import javax.xml.transform.stream.StreamResult;
+
+import junit.framework.TestCase;
+
+import org.jboss.soa.esb.ConfigurationException;
+import org.jboss.soa.esb.http.HttpClientFactory;
+import org.jboss.soa.esb.dom.YADOMUtil;
+import org.w3c.dom.Document;
+import org.xml.sax.SAXException;
+
+public class JBESB_1713_SoapUIClientServiceMBeanUnitTest extends TestCase {
+
+ private class PostBlahMessage1 {
+ public String arg0 = "argument 0";
+ public List<String> arg1;
+ public List<String> arg2;
+ public boolean arg3 = true;
+ public String arg4 = "argument 4";
+ public long arg5 = 1;
+ public long arg6 = 2;
+ }
+
+ private class PostBlahMessage2 {
+ public String arg0 = "argument 0";
+ public String[] arg1;
+ public String[] arg2;
+ public boolean arg3 = true;
+ public String arg4 = "argument 4";
+ public long arg5 = 1;
+ public long arg6 = 2;
+ }
+
+ private void addBlahs(List<String> trains, int num) {
+ for(int i = 0; i < num; i++) {
+ trains.add(String.valueOf(i + 1));
+ }
+ }
+
+ private void addRoles(List<String> roles, int num) {
+ for(int i = 0; i < num; i++) {
+ roles.add(new String("Role " + (i + 1)));
+ }
+ }
+
+ private static final String WSDL_LOCATAION = "src/test/java/org/jboss/soa/esb/services/soapui";
+ private Properties properties;
+
+ protected void setUp() throws Exception {
+ properties = new Properties();
+ }
+
+ public void test_JBESB_1713_single() throws IOException, SAXException, ConfigurationException {
+ test_JBESB_1713(1, "expected_JBESB_1713_01.xml");
+ }
+
+ public void test_JBESB_1713_multiple() throws IOException, SAXException, ConfigurationException {
+ test_JBESB_1713(4, "expected_JBESB_1713_02.xml");
+ }
+
+ public void test_JBESB_1713(int num, String expected) throws IOException, SAXException, ConfigurationException {
+ File wsdlFile = new File(WSDL_LOCATAION + "/handdator.wsdl");
+ SoapUIClientService mbean = new SoapUIClientService();
+ Map params = new HashMap();
+
+ params.put("dumpSOAP", null);
+
+ PostBlahMessage1 postBlahMessage1 = new PostBlahMessage1();
+ PostBlahMessage2 postBlahMessage2 = new PostBlahMessage2();
+
+ List<String> blahs1 = new ArrayList<String>();
+ List<String> roles1 = new ArrayList<String>();
+ String[] blahs2 = new String[num];
+ String[] roles2 = new String[num];
+
+ properties.setProperty(HttpClientFactory.TARGET_HOST_URL, wsdlFile.toURI().toString());
+
+ addBlahs(blahs1, num);
+ addRoles(roles1, num);
+ postBlahMessage1.arg1 = blahs1;
+ postBlahMessage1.arg2 = roles1;
+ blahs1.toArray(blahs2);
+ roles1.toArray(roles2);
+ postBlahMessage2.arg1 = blahs2;
+ postBlahMessage2.arg2 = roles2;
+
+ params.put("postBlahMessage", postBlahMessage1);
+
+ String message = mbean.buildRequest(wsdlFile.toURI().toString(), "postBlahMessage", params, properties, null, null);
+ assertTrue("Generated SOAP message not as expected. See " + expected + ". Generated message: \n" + message, compareCharStreams(getClass().getResourceAsStream(expected), new ByteArrayInputStream(message.getBytes())));
+
+ params.put("postBlahMessage", postBlahMessage2);
+
+ message = mbean.buildRequest(wsdlFile.toURI().toString(), "postBlahMessage", params, properties, null, null);
+
+ assertTrue("Generated SOAP message not as expected. See " + expected + ". Generated message: \n" + message, compareCharStreams(getClass().getResourceAsStream(expected), new ByteArrayInputStream(message.getBytes())));
+ }
+
+ // Lifted from milyn commons
+ public static boolean compareCharStreams(InputStream s1, InputStream s2) {
+ try {
+ final String xml1 = trimLines(s1).toString() ;
+ final String xml2 = trimLines(s2).toString() ;
+
+ final Document doc1 = YADOMUtil.parse(xml1) ;
+ final Document doc2 = YADOMUtil.parse(xml2) ;
+
+ final StringWriter writer1 = new StringWriter() ;
+ final StringWriter writer2 = new StringWriter() ;
+ YADOMUtil.serialize(doc1, new StreamResult(writer1)) ;
+ YADOMUtil.serialize(doc2, new StreamResult(writer2)) ;
+ return (writer1.toString().equals(writer2.toString())) ;
+ } catch (IOException e) {
+ // fail the comparison
+ } catch (SAXException e) {
+ // fail the comparison
+ } catch (ConfigurationException e) {
+ // fail the comparison
+ }
+
+ return false;
+ }
+ public static StringBuffer trimLines(InputStream charStream) throws IOException {
+ StringBuffer stringBuf = new StringBuffer();
+ BufferedReader reader = new BufferedReader(new InputStreamReader(charStream));
+ String line;
+
+ while((line = reader.readLine()) != null) {
+ stringBuf.append(line.trim());
+ }
+
+ return stringBuf;
+ }
+}
\ No newline at end of file
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBeanUnitTest.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBeanUnitTest.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/SoapUIClientServiceMBeanUnitTest.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -77,6 +77,8 @@
List<OrderItem> items1 = new ArrayList<OrderItem>();
OrderItem[] items2 = new OrderItem[4];
+ params.put("dumpSOAP", null);
+
properties.setProperty(HttpClientFactory.TARGET_HOST_URL, wsdlFile.toURI().toString());
addOrderItems(items1);
@@ -118,6 +120,8 @@
Map params = new HashMap();
ArrayList<LineItem> lineItems = new ArrayList<LineItem>();
+ params.put("dumpSOAP", null);
+
properties.setProperty(HttpClientFactory.TARGET_HOST_URL, wsdlFile.toURI().toString());
Order order = new Order();
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_1713_01.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_1713_01.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_1713_01.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_1713_01.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:x="http://x.y.x/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <x:postBlahMessage>
+ <!--Optional:-->
+ <arg0>argument 0</arg0>
+ <!--Zero or more repetitions: - cloned-->
+ <arg1>1</arg1>
+ <!--Zero or more repetitions: - cloned-->
+ <arg2>Role 1</arg2>
+ <arg3>true</arg3>
+ <!--Optional:-->
+ <arg4>argument 4</arg4>
+ <arg5>1</arg5>
+ <arg6>2</arg6>
+ </x:postBlahMessage>
+ </soapenv:Body>
+</soapenv:Envelope>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_1713_02.xml (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_1713_02.xml)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_1713_02.xml (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_1713_02.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:x="http://x.y.x/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <x:postBlahMessage>
+ <!--Optional:-->
+ <arg0>argument 0</arg0>
+ <!--Zero or more repetitions: - cloned-->
+ <arg1>1</arg1>
+<arg1>2</arg1>
+<arg1>3</arg1>
+<arg1>4</arg1>
+ <!--Zero or more repetitions: - cloned-->
+ <arg2>Role 1</arg2>
+<arg2>Role 2</arg2>
+<arg2>Role 3</arg2>
+<arg2>Role 4</arg2>
+ <arg3>true</arg3>
+ <!--Optional:-->
+ <arg4>argument 4</arg4>
+ <arg5>1</arg5>
+ <arg6>2</arg6>
+ </x:postBlahMessage>
+ </soapenv:Body>
+</soapenv:Envelope>
Copied: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/handdator.wsdl (from rev 20942, labs/jbossesb/tags/JBESB_4_2_1_GA_FP2/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/handdator.wsdl)
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/handdator.wsdl (rev 0)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/handdator.wsdl 2008-07-07 16:11:35 UTC (rev 20943)
@@ -0,0 +1,51 @@
+<definitions name='DummyHanddatorWSBeanService' targetNamespace='http://x.y.x/' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://x.y.x/' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <xs:schema targetNamespace='http://x.y.x/' version='1.0' xmlns:tns='http://x.y.x/' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:element name='postBlahMessage' type='tns:postBlahMessage'/>
+ <xs:element name='postBlahMessageResponse' type='tns:postBlahMessageResponse'/>
+ <xs:complexType name='postBlahMessage'>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='arg0' type='xs:string'/>
+ <xs:element maxOccurs='unbounded' minOccurs='0' name='arg1' type='xs:string'/>
+ <xs:element maxOccurs='unbounded' minOccurs='0' name='arg2' type='xs:string'/>
+ <xs:element name='arg3' type='xs:boolean'/>
+ <xs:element minOccurs='0' name='arg4' type='xs:string'/>
+ <xs:element name='arg5' type='xs:long'/>
+ <xs:element name='arg6' type='xs:long'/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name='postBlahMessageResponse'>
+ <xs:sequence/>
+ </xs:complexType>
+ </xs:schema>
+ </types>
+ <message name='DummyHanddatorWSBean_postBlahMessageResponse'>
+ <part element='tns:postBlahMessageResponse' name='postBlahMessageResponse'></part>
+ </message>
+ <message name='DummyHanddatorWSBean_postBlahMessage'>
+ <part element='tns:postBlahMessage' name='postBlahMessage'></part>
+ </message>
+ <portType name='DummyHanddatorWSBean'>
+ <operation name='postBlahMessage' parameterOrder='postBlahMessage'>
+ <input message='tns:DummyHanddatorWSBean_postBlahMessage'></input>
+ <output message='tns:DummyHanddatorWSBean_postBlahMessageResponse'></output>
+ </operation>
+ </portType>
+ <binding name='DummyHanddatorWSBeanBinding' type='tns:DummyHanddatorWSBean'>
+ <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='postBlahMessage'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='DummyHanddatorWSBeanService'>
+ <port binding='tns:DummyHanddatorWSBeanBinding' name='DummyHanddatorWSBeanPort'>
+ <soap:address location='http://localhost:8380/HanddatorDummyWS/DummyHanddatorWSBean'/>
+ </port>
+ </service>
+</definitions>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/orderprocessing/expected_01.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/orderprocessing/expected_01.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/orderprocessing/expected_01.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -14,9 +14,7 @@
<name>item1</name>
<!--Optional:-->
<price>10.99</price>
- </lineItems>
- <!--Optional:-->
- <lineItems>
+ </lineItems><lineItems>
<!--Optional:-->
<id>890</id>
<!--Optional:-->
@@ -30,8 +28,10 @@
<name>item3</name>
<!--Optional:-->
<price>76.34</price>
- </lineItems><shipTo>Skeagh Bridge</shipTo>
+ </lineItems>
+ <!--Optional:-->
+ <shipTo>Skeagh Bridge</shipTo>
</order>
</end:processOrder>
</soapenv:Body>
-</soapenv:Envelope>
\ No newline at end of file
+</soapenv:Envelope>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/orderprocessing/expected_01_JBESB-1329.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/orderprocessing/expected_01_JBESB-1329.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/orderprocessing/expected_01_JBESB-1329.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -12,9 +12,7 @@
<name>item1</name>
<!--Optional:-->
<price>10.99</price>
- </lineItems>
- <!--Optional:-->
- <lineItems>
+ </lineItems><lineItems>
<!--Optional:-->
<id>890</id>
<!--Optional:-->
@@ -28,10 +26,12 @@
<name>item3</name>
<!--Optional:-->
<price>76.34</price>
- </lineItems><id>123</id>
+ </lineItems>
<!--Optional:-->
+ <id>123</id>
+ <!--Optional:-->
<shipTo>Skeagh Bridge</shipTo>
</order>
</end:processOrder>
</soapenv:Body>
-</soapenv:Envelope>
\ No newline at end of file
+</soapenv:Envelope>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/contract-web/src/main/webapp/contract.jsp
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/contract-web/src/main/webapp/contract.jsp 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/contract-web/src/main/webapp/contract.jsp 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,66 +1,86 @@
-<%@ page import="java.util.List" %>
-<%@ page import="org.jboss.soa.esb.listeners.config.ServicePublisher" %>
-<%@ page import="org.jboss.soa.esb.services.registry.RegistryFactory" %>
-<%@ page import="org.jboss.soa.esb.services.registry.Registry" %>
-<%@ page import="org.jboss.soa.esb.services.registry.RegistryException" %>
-<%@ page import="java.util.ArrayList" %>
-<%@ page import="org.jboss.soa.esb.addressing.EPR" %>
-<%@ page import="java.net.URI" %>
-<%@ page import="org.jboss.internal.soa.esb.publish.ContractInfo" %>
-<%@ page import="org.jboss.soa.esb.actions.soap.WebserviceContractPublisher" %>
-<%@ page import="org.jboss.internal.soa.esb.publish.ContractPublisher" %>
-<%
- List publishers = ServicePublisher.getServicePublishers();
- Registry registry = RegistryFactory.getRegistry();
- String targetServiceCat = request.getParameter("serviceCat");
- String targetServiceName = request.getParameter("serviceName");
- String targetProtocol = request.getParameter("protocol");
- ContractInfo contractInfo = null;
- String contractData = null;
-
- for (int i = 0; i < publishers.size() && contractInfo == null; i++) {
- ServicePublisher publisher = (ServicePublisher) publishers.get(i);
- String serviceCategory = publisher.getCategory();
- String serviceName = publisher.getServiceName();
- List eprs;
-
- if (publisher.getContractPublisher() == null) {
- continue;
- } else if (!serviceCategory.equalsIgnoreCase(targetServiceCat) ||
- !serviceName.equalsIgnoreCase(targetServiceName)) {
- continue;
- }
-
- try {
- eprs = (List) registry.findEPRs(serviceCategory, serviceName);
- } catch (RegistryException e) {
- // ignore for now - just return an empty list
- eprs = new ArrayList();
- }
-
- for (int ii = 0; ii < eprs.size(); ii++) {
- EPR epr = (EPR) eprs.get(ii);
- URI eprURI = URI.create(epr.getAddr().getAddress());
- String protocol = eprURI.getScheme();
-
- if (protocol.equalsIgnoreCase(targetProtocol)) {
- ContractPublisher contractPublisher = publisher.getContractPublisher();
-
- if(contractPublisher instanceof WebserviceContractPublisher) {
- contractInfo = ((WebserviceContractPublisher)contractPublisher).getContractInfo(epr, request);
- } else {
- contractInfo = contractPublisher.getContractInfo(epr);
- }
- break;
- }
- }
-
- if (contractInfo != null) {
- contractData = contractInfo.getData();
- response.setContentType(contractInfo.getMimeType());
- } else {
- contractData = "<Unavailable/>";
- response.setContentType("text/xml");
- }
- }
-%><%=contractData%>
\ No newline at end of file
+<%@ page import="java.util.List" %>
+<%@ page import="org.jboss.soa.esb.listeners.config.ServicePublisher" %>
+<%@ page import="org.jboss.soa.esb.services.registry.RegistryFactory" %>
+<%@ page import="org.jboss.soa.esb.services.registry.Registry" %>
+<%@ page import="org.jboss.soa.esb.services.registry.RegistryException" %>
+<%@ page import="org.jboss.soa.esb.services.registry.ServiceNotFoundException" %>
+<%@ page import="java.util.ArrayList" %>
+<%@ page import="org.jboss.soa.esb.addressing.EPR" %>
+<%@ page import="java.net.URI" %>
+<%@ page import="org.jboss.internal.soa.esb.publish.ContractInfo" %>
+<%@ page import="org.jboss.soa.esb.actions.soap.WebserviceContractPublisher" %>
+<%@ page import="org.jboss.internal.soa.esb.publish.ContractPublisher" %>
+<%
+ List publishers = ServicePublisher.getServicePublishers();
+ Registry registry = RegistryFactory.getRegistry();
+ String targetServiceCat = request.getParameter("serviceCat");
+ String targetServiceName = request.getParameter("serviceName");
+ String targetProtocol = request.getParameter("protocol");
+ ContractInfo contractInfo = null;
+ String contractData = null;
+ List eprs;
+
+ try {
+ List allEprs = (List) registry.findEPRs(targetServiceCat, targetServiceName);
+ eprs = new ArrayList(allEprs.size());
+
+ for (int i = 0; i < allEprs.size(); i++) {
+ EPR epr = (EPR) allEprs.get(i);
+ URI eprURI = URI.create(epr.getAddr().getAddress());
+ String protocol = eprURI.getScheme();
+
+ if (protocol.equalsIgnoreCase(targetProtocol)) {
+ eprs.add(epr);
+ }
+
+ }
+ } catch (ServiceNotFoundException e) {
+ // ignore for now - just return an empty list
+ eprs = new ArrayList();
+ } catch (RegistryException e) {
+ // ignore for now - just return an empty list
+ eprs = new ArrayList();
+ }
+
+ // JBESB-1547 - Contract console should generate HTTP 404 when asking for non-deployed service WSDL
+ if (eprs == null || eprs.isEmpty()) {
+ response.sendError(HttpServletResponse.SC_NOT_FOUND);
+ return;
+ }
+
+ for (int i = 0; i < publishers.size() && contractInfo == null; i++) {
+ ServicePublisher publisher = (ServicePublisher) publishers.get(i);
+ String serviceCategory = publisher.getCategory();
+ String serviceName = publisher.getServiceName();
+
+ if (publisher.getContractPublisher() == null) {
+ continue;
+ } else if (!serviceCategory.equalsIgnoreCase(targetServiceCat) ||
+ !serviceName.equalsIgnoreCase(targetServiceName)) {
+ continue;
+ }
+
+ for (int ii = 0; ii < eprs.size(); ii++) {
+ EPR epr = (EPR) eprs.get(ii);
+
+ ContractPublisher contractPublisher = publisher.getContractPublisher();
+
+ if(contractPublisher instanceof WebserviceContractPublisher) {
+ contractInfo = ((WebserviceContractPublisher)contractPublisher).getContractInfo(epr, request);
+ } else {
+ contractInfo = contractPublisher.getContractInfo(epr);
+ }
+ break;
+ }
+
+ if (contractInfo != null && contractInfo.getData() != null) {
+ contractData = contractInfo.getData();
+ response.setContentType(contractInfo.getMimeType());
+ }
+ }
+
+ if (contractData == null) {
+ contractData = "<Unavailable/>";
+ response.setContentType("text/xml");
+ }
+%><%= contractData %>
\ No newline at end of file
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management/build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management/build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -21,6 +21,10 @@
value="${esb.root.dir}/server/default/deploy/jbossesb.sar/lib">
<available type="dir" file="${esb.root.dir}/server/default/deploy/jbossesb.sar/lib"/>
</condition>
+ <condition property="esb.lib.dir"
+ value="${esb.root.dir}/server/all/deploy/jbossesb.sar/lib">
+ <available type="dir" file="${esb.root.dir}/server/all/deploy/jbossesb.sar/lib"/>
+ </condition>
<condition property="esb.lib.dir"
value="${esb.root.dir}/server/all/deploy/jbossesb.sar/lib">
<available type="dir" file="${esb.root.dir}/server/all/deploy/jbossesb.sar/lib"/>
Deleted: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management/src/main/java/org/jboss/soa/esb/monitoring/server/BeanRegistrationServlet.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management/src/main/java/org/jboss/soa/esb/monitoring/server/BeanRegistrationServlet.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management/src/main/java/org/jboss/soa/esb/monitoring/server/BeanRegistrationServlet.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -1,100 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.soa.esb.monitoring.server;
-
-import javax.management.InstanceAlreadyExistsException;
-import javax.management.InstanceNotFoundException;
-import javax.management.MBeanRegistrationException;
-import javax.management.MBeanServer;
-import javax.management.MalformedObjectNameException;
-import javax.management.NotCompliantMBeanException;
-import javax.management.ObjectName;
-import javax.servlet.ServletConfig;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServlet;
-
-import org.apache.log4j.Logger;
-import org.jboss.mx.util.MBeanServerLocator;
-
-/**
- * BeanRegistrationServlet registers the DataFilerSchedulerMBean. The
- * DataFilerSchedulerMBean contains information as to the frequency to
- * which to collect data, and on update, it reschedules a Quartz job
- * which fires it off at the selected interval.
- *
- * @author <a href="mailto:tcunning at redhat.com">Tom Cunningham</a>
- * @since Version 4.2
- */
-public class BeanRegistrationServlet extends HttpServlet {
- private static final long serialVersionUID = 5501281194727672262L;
-
- Logger logger = Logger.getLogger(BeanRegistrationServlet.class);
-
- public void init(ServletConfig config) throws ServletException {
- MBeanServer mbeanServer = null;
- ObjectName dataSchedulerName = null;
- try {
- mbeanServer = MBeanServerLocator.locateJBoss();
- } catch (IllegalStateException ise) {
- logger.error("", ise);
- return;
- }
-
- try {
- dataSchedulerName = new ObjectName("jboss.esb:service=DataFilerScheduler");
- } catch (MalformedObjectNameException e) {
- logger.error("", e);
- } catch (NullPointerException e) {
- logger.error("", e);
- }
-
- if (mbeanServer.isRegistered(dataSchedulerName)) {
- try {
- mbeanServer.unregisterMBean(dataSchedulerName);
- } catch (InstanceNotFoundException e) {
- logger.error("", e);
- } catch (MBeanRegistrationException e) {
- logger.error("", e);
- }
- }
-
- // Grab initial poll minute frequency from web.xml
- String pollString = config.getInitParameter("pollMinuteFrequency");
- int pollMinuteFrequency = Integer.parseInt(pollString);
-
- try {
- DataFilerScheduler dfs = new DataFilerScheduler();
- dfs.start();
- dfs.setPollMinuteFrequency(pollMinuteFrequency);
- mbeanServer.registerMBean(dfs, dataSchedulerName);
- } catch (InstanceAlreadyExistsException e) {
- logger.error("", e);
- } catch (MBeanRegistrationException e) {
- logger.error("", e);
- } catch (NotCompliantMBeanException e) {
- logger.error("", e);
- } catch (Exception e) {
- logger.error("", e);
- }
-
- }
-}
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management/src/main/java/org/jboss/soa/esb/monitoring/server/DataFilerScheduler.java
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management/src/main/java/org/jboss/soa/esb/monitoring/server/DataFilerScheduler.java 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management/src/main/java/org/jboss/soa/esb/monitoring/server/DataFilerScheduler.java 2008-07-07 16:11:35 UTC (rev 20943)
@@ -53,25 +53,32 @@
return pollMinuteFrequency;
}
- public void create() throws Exception {
- super.create();
+ public void start() throws Exception {
+ super.start();
SchedulerFactory schedulerFactory = new StdSchedulerFactory();
scheduler = schedulerFactory.getScheduler();
+ schedule() ;
}
- public void destroy() {
- super.destroy();
+ public void stop() {
try {
scheduler.shutdown();
scheduler.deleteJob(DataFilerJob.JOB_GROUP, DataFilerJob.JOB_NAME);
} catch (SchedulerException e) {
logger.error("", e);
}
+ super.stop();
}
public void setPollMinuteFrequency(int f_pollMinuteFrequency) {
pollMinuteFrequency = f_pollMinuteFrequency;
+ if (scheduler != null) {
+ schedule() ;
+ }
+ }
+
+ private void schedule() {
long ctime = System.currentTimeMillis();
try {
@@ -80,7 +87,7 @@
JobDetail jobDetail = new JobDetail(DataFilerJob.JOB_GROUP, DataFilerJob.JOB_NAME, DataFilerJob.class);
final JobDataMap datamap = new JobDataMap() ;
- datamap.put(ClassLoader.class.getName(), Thread.currentThread().getContextClassLoader()) ;
+ datamap.put(ClassLoader.class.getName(), Thread.currentThread().getContextClassLoader()) ;
jobDetail.setJobDataMap(datamap) ;
SimpleTrigger simpleTrigger = new SimpleTrigger(DataFilerJob.JOB_GROUP, DataFilerJob.JOB_NAME);
@@ -96,7 +103,4 @@
logger.error("", e);
}
}
-
-
-
}
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management/src/main/resources/oracle/monitoring-mappings.hbm.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management/src/main/resources/oracle/monitoring-mappings.hbm.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management/src/main/resources/oracle/monitoring-mappings.hbm.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -53,7 +53,7 @@
</generator>
</id>
<property name="objectname" type="java.lang.String" column="objectname"/>
- <property name="operation" type="java.lang.String" column="attribute"/>
+ <property name="operation" type="java.lang.String" column="operation"/>
<property name="description" type="java.lang.String" column="description"/>
<property name="returntype" type="java.lang.String" column="returntype"/>
<property name="servername" type="java.lang.String" column="servername"/>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-esb/build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-esb/build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-esb/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -81,6 +81,7 @@
<filter token="database.depends" value="${database.depends}"/>
<filter token="db.datasource" value="${db.datasource}"/>
<filter token="connection.datasource" value="${connection.datasource}"/>
+ <filter token="pollMinuteFrequency" value="${pollMinuteFrequency}"/>
</filterset>
</copy>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-esb/src/main/resources/jbossesbmanagement-service.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-esb/src/main/resources/jbossesbmanagement-service.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-esb/src/main/resources/jbossesbmanagement-service.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -3,6 +3,11 @@
<server>
<classpath codebase="deploy" archives="management.esb"/>
<classpath codebase="deploy/jbossesb.sar/lib" archives="jbossesb-rosetta.jar"/>
+ <mbean code="org.jboss.soa.esb.monitoring.server.DataFilerScheduler"
+ name="jboss.esb:service=DataFilerScheduler">
+ <attribute name="PollMinuteFrequency">@pollMinuteFrequency@</attribute>
+ </mbean>
+
<mbean code="org.jboss.internal.soa.esb.dependencies.DatabaseInitializer"
name="jboss.esb:service=ManagementDatabaseInitializer">
<attribute name="Datasource">@connection.datasource@</attribute>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-esb/src/main/resources/oracle/create_database.sql
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-esb/src/main/resources/oracle/create_database.sql 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-esb/src/main/resources/oracle/create_database.sql 2008-07-07 16:11:35 UTC (rev 20943)
@@ -8,8 +8,8 @@
create table JMXATTRIBUTE (
statid number(19,0),
- objectname varchar2(255 char),
- attribute varchar2(255 char),
+ objectname varchar2(2000 char),
+ attribute varchar2(2000 char),
primary key (statid)
);
@@ -20,32 +20,32 @@
STATDATE timestamp,
timevalue float,
countvalue number(10,0),
- textvalue varchar2(255 char),
+ textvalue varchar2(2000 char),
primary key (id)
);
- CREATE TABLE JMXOPERATION (
- OPID number(19,0),
- OBJECTNAME VARCHAR2(255 char) NOT NULL,
- OPERATION VARCHAR2(255 char) NOT NULL,
- DESCRIPTION VARCHAR2(255) NOT NULL,
- RETURNTYPE VARCHAR2(255 char) NOT NULL,
- SERVERNAME VARCHAR2(255 char) NOT NULL,
- ACTIVEFLAG NUMBER(1) NOT NULL,
- primary key (opid)
- );
+ CREATE TABLE JMXOPERATION (
+ OPID number(19,0),
+ OBJECTNAME VARCHAR2(2000 char) NOT NULL,
+ OPERATION VARCHAR2(255 char) NOT NULL,
+ DESCRIPTION VARCHAR2(2000) NOT NULL,
+ RETURNTYPE VARCHAR2(255 char) NOT NULL,
+ SERVERNAME VARCHAR2(255 char) NOT NULL,
+ ACTIVEFLAG NUMBER(1) NOT NULL,
+ primary key (opid)
+ );
- CREATE TABLE JMXOPERATIONRESULT (
- ID number(19,0),
- OPID number(19,0),
- SERVER VARCHAR(255),
- STATDATE TIMESTAMP,
- RESULT VARCHAR(255),
- primary key(id)
- );
+ CREATE TABLE JMXOPERATIONRESULT (
+ ID number(19,0),
+ OPID number(19,0),
+ SERVER VARCHAR(255),
+ STATDATE TIMESTAMP,
+ RESULT VARCHAR(255),
+ primary key(id)
+ );
CREATE SEQUENCE SEQ_JMX_ATTRIBUTE START WITH 1 MINVALUE 1 INCREMENT BY 1 NOCYCLE;
CREATE SEQUENCE SEQ_JMX_DATA START WITH 1 MINVALUE 1 INCREMENT BY 1 NOCYCLE;
CREATE SEQUENCE SEQ_JMX_PATTERN START WITH 1 MINVALUE 1 INCREMENT BY 1 NOCYCLE;
- CREATE SEQUENCE SEQ_JMX_OPERATION START WITH 1 MINVALUE 1 INCREMENT BY 1 NOCYCLE;
- CREATE SEQUENCE SEQ_JMX_OPERATION_RESULT START WITH 1 MINVALUE 1 INCREMENT BY 1 NOCYCLE;
+ CREATE SEQUENCE SEQ_JMX_OPERATION START WITH 1 MINVALUE 1 INCREMENT BY 1 NOCYCLE;
+ CREATE SEQUENCE SEQ_JMX_OPERATION_RESULT START WITH 1 MINVALUE 1 INCREMENT BY 1 NOCYCLE;
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-esb/src/main/resources/oracle/management-ds.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-esb/src/main/resources/oracle/management-ds.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-esb/src/main/resources/oracle/management-ds.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -14,8 +14,8 @@
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<!-- The login and password -->
- <user-name>vfafacility</user-name>
- <password>vfa</password>
+ <user-name>oracle</user-name>
+ <password>oracle</password>
<!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
<min-pool-size>5</min-pool-size>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-web/build.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-web/build.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-web/build.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -23,12 +23,7 @@
<mkdir dir="${mgmt.web.dir}/build"/>
<copy file="${mgmt.web.dir}/web.xml"
todir="${mgmt.web.dir}/build"
- overwrite="true">
- <filterset>
- <filter token="pollMinuteFrequency"
- value="${pollMinuteFrequency}"/>
- </filterset>
- </copy>
+ overwrite="true"/>
</target>
<target name="war" depends="create-webxml,build-jar"
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-web/src/main/webapp/WEB-INF/jboss-web.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-web/src/main/webapp/WEB-INF/jboss-web.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-web/src/main/webapp/WEB-INF/jboss-web.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -4,4 +4,5 @@
<jboss-web>
<depends>jboss.esb:service=ManagementDatabaseInitializer</depends>
+ <depends>jboss.esb:service=DataFilerScheduler</depends>
</jboss-web>
Modified: labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-web/web.xml
===================================================================
--- labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-web/web.xml 2008-07-07 15:23:46 UTC (rev 20942)
+++ labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2_FP/product/tools/console/management-web/web.xml 2008-07-07 16:11:35 UTC (rev 20943)
@@ -4,20 +4,4 @@
<web-app>
<display-name>Archetype Created Web Application</display-name>
-
- <servlet>
- <servlet-name>BeanRegistration</servlet-name>
- <servlet-class>org.jboss.soa.esb.monitoring.server.BeanRegistrationServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- <init-param>
- <param-name>pollMinuteFrequency</param-name>
- <param-value>@pollMinuteFrequency@</param-value>
- </init-param>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>BeanRegistration</servlet-name>
- <url-pattern>/beanregistrationservlet</url-pattern>
- </servlet-mapping>
-
</web-app>
More information about the jboss-svn-commits
mailing list