[jboss-svn-commits] JBL Code SVN: r21223 - in labs/jbossesb/workspace/dbevenius/security: product and 190 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Jul 25 09:51:07 EDT 2008
Author: beve
Date: 2008-07-25 09:51:04 -0400 (Fri, 25 Jul 2008)
New Revision: 21223
Added:
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration1/jbm-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration1/jbmq-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/.ant-targets-build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/deployment.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbm-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbmq-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbossesb-properties.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jndi.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/juddi.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/listener.log
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/log4j.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/readme.txt
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyRequestAction.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyResponseAction.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendEsbMessage.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendJMSMessage.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/lib/ext/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/lib/ext/jbossws-client.jar
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/classes/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/web.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/view/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/view/index.jsp
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/wise-core.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/.ant-targets-build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/deployment.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbm-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbmq-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbossesb-properties.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jndi.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/juddi.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/listener.log
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/log4j.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/readme.txt
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/smooks-config-XMLGregorianCalendar.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/smooks-response-config.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ExternalObject.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/InternalObject.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyRequestAction.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyResponseAction.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendEsbMessage.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendJMSMessage.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/lib/ext/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/lib/ext/jbossws-client.jar
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/classes/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/web.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ComplexObject.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/PingWS.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/view/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/view/index.jsp
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/wise-core.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/.ant-targets-build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/deployment.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbm-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbmq-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbossesb-properties.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jndi.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/juddi.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/listener.log
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/log4j.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/readme.txt
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/smooks-handler.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyRequestAction.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyResponseAction.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendEsbMessage.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendJMSMessage.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/lib/ext/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/lib/ext/jbossws-client.jar
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/classes/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/web.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/view/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/view/index.jsp
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/wise-core.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/.ant-targets-build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/deployment.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbm-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbmq-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbossesb-properties.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jndi.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/juddi.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/listener.log
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/log4j.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/readme.txt
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/smooks-handler.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyRequestAction.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyResponseAction.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler2.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendEsbMessage.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendJMSMessage.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/lib/ext/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/lib/ext/jbossws-client.jar
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/classes/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/web.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/view/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/view/index.jsp
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/wise-core.properties
labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/resources/jbpm-sql/import.sql
labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/Wise-core.jar
labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jaxb-xjc.jar
labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jaxws-rt.jar
labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jaxws-tools.jar
labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jboss-jaxws.jar
labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jboss-saaj.jar
labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jboss-system.jar
labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jbossall-client.jar
labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jbossws-common.jar
labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jbossws-spi.jar
labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/stax-ex.jar
labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/streambuffer.jar
labs/jbossesb/workspace/dbevenius/security/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/wise/
labs/jbossesb/workspace/dbevenius/security/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/wise/SOAPClient.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF/
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF/deployment.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/esb-jbm-service.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/esb-jbmq-service.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/jbpmLocalTest.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/test-jbpm-service.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF/
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF/deployment.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/esb-jbm-service.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/esb-jbmq-service.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/jbpmReplyTest.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/test-jbpm-service.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/CounterAction.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalLogHandler.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalUnitTest.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServer.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServerMBean.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmReplyUnitTest.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServer.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServerMBean.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/ReplyAction.java
Removed:
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/.ant-targets-build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/deployment.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbm-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbmq-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbossesb-properties.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jndi.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/juddi.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/listener.log
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/log4j.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/readme.txt
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyRequestAction.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyResponseAction.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendEsbMessage.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendJMSMessage.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/lib/ext/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/lib/ext/jbossws-client.jar
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/classes/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/web.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/view/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/view/index.jsp
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/wise-core.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/.ant-targets-build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/deployment.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbm-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbmq-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbossesb-properties.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jndi.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/juddi.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/listener.log
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/log4j.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/readme.txt
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/smooks-config-XMLGregorianCalendar.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/smooks-response-config.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ExternalObject.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/InternalObject.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyRequestAction.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyResponseAction.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendEsbMessage.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendJMSMessage.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/lib/ext/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/lib/ext/jbossws-client.jar
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/classes/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/web.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ComplexObject.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/PingWS.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/view/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/view/index.jsp
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/wise-core.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/.ant-targets-build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/deployment.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbm-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbmq-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbossesb-properties.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jndi.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/juddi.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/listener.log
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/log4j.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/readme.txt
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/smooks-handler.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyRequestAction.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyResponseAction.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendEsbMessage.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendJMSMessage.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/lib/ext/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/lib/ext/jbossws-client.jar
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/classes/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/web.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/view/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/view/index.jsp
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/wise-core.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/.ant-targets-build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/deployment.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbm-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbmq-queue-service.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbossesb-properties.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jndi.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/juddi.properties
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/listener.log
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/log4j.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/readme.txt
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/smooks-handler.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyRequestAction.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyResponseAction.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler2.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendEsbMessage.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendJMSMessage.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/lib/ext/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/lib/ext/jbossws-client.jar
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/classes/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/lib/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/web.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/view/
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/view/index.jsp
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/wise-core.properties
labs/jbossesb/workspace/dbevenius/security/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/wise/SOAPClient.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF/
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF/deployment.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/esb-jbm-service.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/esb-jbmq-service.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/jbpmLocalTest.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/test-jbpm-service.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF/
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF/deployment.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/esb-jbm-service.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/esb-jbmq-service.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/jbpmReplyTest.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/test-jbpm-service.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/CounterAction.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalLogHandler.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalUnitTest.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServer.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServerMBean.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmReplyUnitTest.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServer.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServerMBean.java
labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/ReplyAction.java
Modified:
labs/jbossesb/workspace/dbevenius/security/
labs/jbossesb/workspace/dbevenius/security/product/.classpath
labs/jbossesb/workspace/dbevenius/security/product/docs/AdministrationGuide.odt
labs/jbossesb/workspace/dbevenius/security/product/docs/ServicesGuide.odt
labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/JmsConnectionPoolContainer.java
labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/addressing/eprs/JMSEpr.java
labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java
labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/gateway/JmsGatewayListener.java
labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/message/MessageCounter.java
labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/message/MessageCounterMBean.java
labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/message/ServiceMessageCounter.java
labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/notification/NotifyJMS.java
labs/jbossesb/workspace/dbevenius/security/product/rosetta/tests/src/org/jboss/soa/esb/addressing/eprs/JMSEprUnitTest.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/aggregation_service/jbossesb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/blue_service/jbossesb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/green_service/jbossesb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/inbound_splitter/jbossesb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/red_service/jbossesb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration1/deployment.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration1/jboss-esb-unfiltered.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration2/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration3/jboss-esb-unfiltered.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration4/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/business_rules_service/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/business_ruleservice_ruleAgent/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/business_ruleservice_stateful/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/business_service/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/conf/quickstarts.properties-example
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/custom_action/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/deadletter/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/dynamic_router/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/exceptions_faults/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/fun_cbr/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/groovy_gateway/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_action/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_action/oracle-aq/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_db_registration/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_file_action/jboss-esb-unfiltered.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_file_notifier/jboss-esb-unfiltered.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_ftp_action/jboss-esb-readonly-unfiltered.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_ftp_action/jboss-esb-unfiltered.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_hibernate_action/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_sql_action/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_topic_notifier/jboss-esb-unfiltered.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_topic_notifier/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_tx_sql_action/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/https_2way_ssl/jboss-esb-template.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/jbossesb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/jbossesb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/invm_transport1/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/jms_router/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/jms_secured/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/jms_transacted/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/load_generator/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/messagefilter/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/messagestore/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/native_client/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/recipient_list/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/scripting_groovy/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/simple_cbr/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/smooks_file_splitter_router/jboss-esb-unfiltered.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/spring_aop/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/spring_helloworld/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/spring_jpetstore/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/static_router/jboss-esb-unfiltered.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_CSV2XML/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2POJO/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2POJO2/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2XML_date_manipulation/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2XML_simple/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2XML_stream/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/two_servers/jboss-esb.xml.first
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/two_servers/jboss-esb.xml.second
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_bpel/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_bpel/readme.txt
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_bpel/smooks-res.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/transforms/OrderNumNSModifier.java
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer1/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer2/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_mtom/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_producer/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_wsaddressing/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_wssecurity/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/wiretap/jboss-esb.xml
labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/Constants.java
labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/JBpmObjectMapper.java
labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/actionhandlers/EsbActionHandler.java
labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/actionhandlers/EsbNotifier.java
labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/cmd/AsyncProcessSignal.java
labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/cmd/CallbackCommand.java
labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/cmd/CommandExecutor.java
labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/cmd/NewProcessInstanceFacade.java
labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/resources/jbpm-service.xml
labs/jbossesb/workspace/dbevenius/security/qa/junit/build.xml
Log:
Merge from main
Property changes on: labs/jbossesb/workspace/dbevenius/security
___________________________________________________________________
Name: svnmerge-integrated
- /labs/jbossesb/trunk:1-21136
+ /labs/jbossesb/trunk:1-21222
Modified: labs/jbossesb/workspace/dbevenius/security/product/.classpath
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/.classpath 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/.classpath 2008-07-25 13:51:04 UTC (rev 21223)
@@ -2,8 +2,19 @@
<classpath>
<classpathentry kind="lib" path="build/jbossesb/lib/jbossesb-config-model-1.0.1.jar"/>
<classpathentry excluding="**/.svn/" kind="src" path="rosetta/src"/>
+ <classpathentry kind="src" path="services/jbossesb/src/main/java"/>
+ <classpathentry kind="src" path="services/jbrules/src/main/java"/>
+ <classpathentry kind="src" path="services/jbossesb/src/test/java"/>
+ <classpathentry kind="src" path="services/jbpm/src/test/java"/>
+ <classpathentry kind="src" path="services/jbrules/src/test/java"/>
+ <classpathentry kind="src" path="services/jbpm/src/main/java"/>
+ <classpathentry kind="src" path="services/smooks/src/test/java"/>
+ <classpathentry kind="src" path="services/smooks/src/main/java"/>
+ <classpathentry kind="src" path="services/slsb/src/main/java"/>
<classpathentry kind="src" path="build/schema-model/src"/>
<classpathentry excluding="**/.svn/" kind="src" path="rosetta/tests/src"/>
+ <classpathentry kind="src" path="services/soap/src/main/java"/>
+ <classpathentry kind="src" path="services/soap/src/test/java"/>
<classpathentry kind="lib" path="etc/test/resources/log4j/dev"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/ext/activation.jar"/>
@@ -18,6 +29,7 @@
<classpathentry kind="lib" path="lib/ext/jbossall-client.jar"/>
<classpathentry kind="lib" path="lib/ext/jboss-system.jar"/>
<classpathentry kind="lib" path="lib/ext/jbossts-common.jar"/>
+ <classpathentry kind="lib" path="lib/ext/jsch-0.1.jar"/>
<classpathentry kind="lib" path="lib/ext/juddi-2.0rc5.jar"/>
<classpathentry kind="lib" path="lib/ext/juddi-client-2.0rc5.jar"/>
<classpathentry kind="lib" path="lib/ext/junit-4.1.jar"/>
@@ -36,6 +48,7 @@
<classpathentry kind="lib" path="lib/ext/xstream-1.2.2.jar"/>
<classpathentry kind="lib" path="lib/ext/jboss.jar"/>
<classpathentry kind="lib" path="lib/ext/commons-io-1.3.jar"/>
+ <classpathentry kind="lib" path="lib/ext/edtftpj-1.5.4.jar"/>
<classpathentry kind="lib" path="ftp/lib/backport-util-concurrent-2.2.jar"/>
<classpathentry kind="lib" path="ftp/lib/ftplet-api-1.0-incubator-SNAPSHOT.jar"/>
<classpathentry kind="lib" path="ftp/lib/ftpserver-admin-gui-1.0-incubator-SNAPSHOT.jar"/>
@@ -67,15 +80,11 @@
<classpathentry kind="lib" path="lib/ext/jakarta-oro-2.0.8.jar"/>
<classpathentry kind="lib" path="lib/ext/commons-ssl-0.3.4.jar"/>
<classpathentry kind="lib" path="services/jbrules/lib/ext/antlr-runtime-3.0.jar"/>
+ <classpathentry kind="lib" path="lib/ext/mvel14-1.2rc4rv908.jar"/>
<classpathentry kind="lib" path="lib/ext/quartz-1.5.2.jar"/>
<classpathentry kind="lib" path="lib/ext/jaxr-api-1.0rc1.jar"/>
<classpathentry kind="lib" path="lib/ext/jboss-jaxb-intros.jar"/>
<classpathentry kind="lib" path="lib/ext/scout-1.0rc1.jar"/>
- <classpathentry kind="lib" path="lib/ext/commons-net-2.0.0-652071.jar"/>
- <classpathentry kind="lib" path="lib/ext/h2.jar"/>
- <classpathentry kind="lib" path="lib/ext/mvel-1.3.1-java1.4.jar"/>
- <classpathentry kind="lib" path="lib/ext/jsch-0.1.38.jar"/>
- <classpathentry kind="lib" path="lib/ext/openssoclientsdk.jar"/>
- <classpathentry kind="lib" path="lib/ext/servlet-api.jar"/>
+ <classpathentry kind="lib" path="services/soap/lib/ext/Wise-core.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: labs/jbossesb/workspace/dbevenius/security/product/docs/AdministrationGuide.odt
===================================================================
(Binary files differ)
Modified: labs/jbossesb/workspace/dbevenius/security/product/docs/ServicesGuide.odt
===================================================================
(Binary files differ)
Modified: labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/JmsConnectionPoolContainer.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/JmsConnectionPoolContainer.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/internal/soa/esb/rosetta/pooling/JmsConnectionPoolContainer.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -158,11 +158,15 @@
* @param poolKey
* @return
*/
- public static Properties getJndiEnvironment(Map<String,String> poolKey) {
+ static Properties getJndiEnvironment(Map<String,String> poolKey) {
Properties environment = new Properties();
+ final String[] jndiPrefixes = JMSEpr.getJndiPrefixes(environment.getProperty(JMSEpr.JNDI_PREFIXES)) ;
for (String key: poolKey.keySet()) {
- if (key.startsWith("java.naming.")) {
- environment.setProperty(key, poolKey.get(key));
+ for(String jndiPrefix: jndiPrefixes) {
+ if (key.startsWith(jndiPrefix)) {
+ environment.setProperty(key, poolKey.get(key));
+ break ;
+ }
}
}
return environment;
Modified: labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/addressing/eprs/JMSEpr.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/addressing/eprs/JMSEpr.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/addressing/eprs/JMSEpr.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -28,7 +28,11 @@
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Iterator;
+import java.util.Map;
import java.util.Properties;
+import java.util.Set;
+import java.util.TreeMap;
+import java.util.TreeSet;
import javax.jms.Session;
import javax.naming.Context;
@@ -90,6 +94,8 @@
public static final String TRANSACTED_TAG = "transacted";
+ public static final String JNDI_PREFIXES = "jndi-prefixes";
+
/**
* JMS Client acknowledgment mode configuration tag
*/
@@ -160,7 +166,10 @@
NodeList nl = header.getChildNodes();
String uri = null;
String name = null;
+ String jndiPrefixesValue = null ;
+ final Map<String, String> extensions = new TreeMap<String, String>() ;
+
for (int i = 0; i < nl.getLength(); i++)
{
String prefix = nl.item(i).getPrefix();
@@ -170,55 +179,74 @@
{
if (tag != null)
{
+ final String value = nl.item(i).getTextContent();
+
if (tag.startsWith("java.naming.")) {
- getAddr().addExtension(tag, nl.item(i).getTextContent());
+ getAddr().addExtension(tag, value);
} else if (tag.equals(SPECIFICATION_VERSION_TAG)) {
- getAddr().addExtension(SPECIFICATION_VERSION_TAG, nl.item(i).getTextContent());
+ getAddr().addExtension(SPECIFICATION_VERSION_TAG, value);
} else if (tag.equals(DESTINATION_NAME_TAG)) {
- name = nl.item(i).getTextContent();
+ name = value;
} else if (tag.equals(CONNECTION_FACTORY_TAG)) {
- getAddr().addExtension(CONNECTION_FACTORY_TAG, nl.item(i).getTextContent());
+ getAddr().addExtension(CONNECTION_FACTORY_TAG, value);
} else if (tag.equals(JNDI_CONTEXT_FACTORY_TAG)) {
- getAddr().addExtension(Context.INITIAL_CONTEXT_FACTORY, nl.item(i).getTextContent());
+ getAddr().addExtension(Context.INITIAL_CONTEXT_FACTORY, value);
} else if (tag.equals(JNDI_PKG_PREFIX_TAG)) {
- getAddr().addExtension(Context.URL_PKG_PREFIXES, nl.item(i).getTextContent());
+ getAddr().addExtension(Context.URL_PKG_PREFIXES, value);
} else if (tag.equals(JNDI_URL_TAG)) {
- uri = nl.item(i).getTextContent();
+ uri = value;
// remember to add this extension!
getAddr().addExtension(Context.PROVIDER_URL, uri);
} else if (tag.equals(MESSAGE_SELECTOR_TAG)) {
- getAddr().addExtension(MESSAGE_SELECTOR_TAG, nl.item(i).getTextContent());
+ getAddr().addExtension(MESSAGE_SELECTOR_TAG, value);
} else if (tag.equals(PERSISTENT_TAG)) {
boolean persistent = true;
- final String persistentStr = nl.item(i).getTextContent();
+ final String persistentStr = value;
if ( persistentStr != null )
persistent = Boolean.parseBoolean(persistentStr);
getAddr().addExtension(PERSISTENT_TAG, String.valueOf(persistent));
} else if (tag.equals(ACKNOWLEDGE_MODE_TAG)) {
- String ackMode = nl.item(i).getTextContent();
+ String ackMode = value;
getAddr().addExtension(ACKNOWLEDGE_MODE_TAG, String.valueOf(ackMode));
} else if (tag.equals(JMS_SECURITY_PRINCIPAL_TAG)) {
- String username = nl.item(i).getTextContent();
+ String username = value;
getAddr().addExtension(JMS_SECURITY_PRINCIPAL_TAG, String.valueOf(username));
} else if (tag.equals(JMS_SECURITY_CREDENTIAL_TAG)) {
- String password = nl.item(i).getTextContent();
+ String password = value;
getAddr().addExtension(JMS_SECURITY_CREDENTIAL_TAG, String.valueOf(password));
} else if (tag.equals(DESTINATION_TYPE_TAG)) {
- getAddr().addExtension(DESTINATION_TYPE_TAG, nl.item(i).getTextContent());
+ getAddr().addExtension(DESTINATION_TYPE_TAG, value);
} else if (tag.equals(TRANSACTED_TAG)) {
boolean transacted = false;
- final String transactedStr = nl.item(i).getTextContent();
+ final String transactedStr = value;
if ( transactedStr != null )
transacted = Boolean.parseBoolean(transactedStr);
getAddr().addExtension(TRANSACTED_TAG, String.valueOf(transacted));
- }
+ } else if (tag.equals(JNDI_PREFIXES)) {
+ jndiPrefixesValue = value ;
+ getAddr().addExtension(JNDI_PREFIXES, value);
+ } else {
+ extensions.put(tag, value);
+ }
}
}
}
+ if (jndiPrefixesValue != null) {
+ final String[] jndiPrefixes = getJndiPrefixes(jndiPrefixesValue) ;
+ for(Map.Entry<String, String> entry: extensions.entrySet()) {
+ for(String jndiPrefix: jndiPrefixes) {
+ final String tag = entry.getKey() ;
+ if (tag.startsWith(jndiPrefix)) {
+ getAddr().addExtension(tag, entry.getValue()) ;
+ break ;
+ }
+ }
+ }
+ }
if (uri != null)
setAddr(new PortReference(JMS_PROTOCOL + PROTOCOL_SEPARATOR + uri + "/" + name));
}
@@ -597,12 +625,24 @@
public final Properties getJndiEnvironment()
{
- Properties properties = new Properties();
+ final Properties properties = new Properties();
+ final String jndiPrefixesValue = getAddr().getExtensionValue(JNDI_PREFIXES) ;
+ if (jndiPrefixesValue != null)
+ {
+ properties.put(JNDI_PREFIXES, jndiPrefixesValue) ;
+ }
+ final String[] jndiPrefixes = getJndiPrefixes(jndiPrefixesValue) ;
+
Iterator<Extension> iter = getAddr().getExtensions();
while (iter.hasNext()) {
Extension extension = iter.next();
- if (extension.getTag().startsWith("java.naming.") && extension.getValue()!=null) {
- properties.put(extension.getTag(), extension.getValue());
+
+ for(String jndiPrefix: jndiPrefixes)
+ {
+ if (extension.getTag().startsWith(jndiPrefix) && extension.getValue()!=null) {
+ properties.put(extension.getTag(), extension.getValue());
+ break ;
+ }
}
}
@@ -615,6 +655,30 @@
return properties;
}
+
+ /**
+ * Get the list of JNDI extension prefixes.
+ * @param jndiPrefixesValue The JNDI prefix list or null if default.
+ * @return The list of JNDI extension prefixes.
+ */
+ public static String[] getJndiPrefixes(final String jndiPrefixesValue)
+ {
+ final Set<String> jndiPrefixesSet = new TreeSet<String>();
+ jndiPrefixesSet.add("java.naming.") ;
+ if (jndiPrefixesValue != null)
+ {
+ final String[] values = jndiPrefixesValue.split(",") ;
+ for(String value: values)
+ {
+ final String trim = value.trim() ;
+ if (trim.length() > 0)
+ {
+ jndiPrefixesSet.add(trim) ;
+ }
+ }
+ }
+ return jndiPrefixesSet.toArray(new String[jndiPrefixesSet.size()]) ;
+ }
/**
* @return the message selector for this EPR, or <code>null</code> if none
Modified: labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -141,9 +141,17 @@
String name = tree.getRequiredAttribute(JMSEpr.DESTINATION_NAME_TAG);
Set<String> names=tree.getAttributeNames();
Properties environment = new Properties();
+ final String jndiPrefixesValue = tree.getAttribute(JMSEpr.JNDI_PREFIXES) ;
+ if (jndiPrefixesValue != null) {
+ environment.put(JMSEpr.JNDI_PREFIXES, jndiPrefixesValue) ;
+ }
+ final String[] jndiPrefixes = JMSEpr.getJndiPrefixes(jndiPrefixesValue) ;
for (String attributeName : names) {
- if (attributeName.startsWith("java.naming.")) {
- environment.setProperty(attributeName, tree.getAttribute(attributeName));
+ for(String jndiPrefix: jndiPrefixes) {
+ if (attributeName.startsWith(jndiPrefix)) {
+ environment.setProperty(attributeName, tree.getAttribute(attributeName));
+ break ;
+ }
}
}
String type = getAttrAndWarn(tree, JMSEpr.DESTINATION_TYPE_TAG,
Modified: labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/gateway/JmsGatewayListener.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/gateway/JmsGatewayListener.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/gateway/JmsGatewayListener.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -359,9 +359,17 @@
if (sJndiPkgPrefix != null)
environment.setProperty(Context.URL_PKG_PREFIXES, sJndiPkgPrefix);
Set<String> names = _config.getAttributeNames();
+ final String jndiPrefixesValue = _config.getAttribute(JMSEpr.JNDI_PREFIXES) ;
+ if (jndiPrefixesValue != null) {
+ environment.setProperty(JMSEpr.JNDI_PREFIXES, jndiPrefixesValue) ;
+ }
+ final String[] jndiPrefixes = JMSEpr.getJndiPrefixes(jndiPrefixesValue) ;
for (String name : names) {
- if (name.startsWith("java.naming.")) {
- environment.setProperty(name, _config.getAttribute(name));
+ for(String jndiPrefix: jndiPrefixes) {
+ if (name.startsWith(jndiPrefix)) {
+ environment.setProperty(name, _config.getAttribute(name));
+ break ;
+ }
}
}
Context oJndiCtx = NamingContextPool.getNamingContext(environment);
Modified: labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/message/MessageCounter.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/message/MessageCounter.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/message/MessageCounter.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -91,11 +91,11 @@
return successMessageCount;
}
- public int getBytesProcessed() {
+ public int getProcessedBytes() {
return bytesProcessed;
}
- public int getBytesFailed() {
+ public int getFailedBytes() {
return bytesFailed;
}
Modified: labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/message/MessageCounterMBean.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/message/MessageCounterMBean.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/message/MessageCounterMBean.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -44,7 +44,7 @@
public void resetCounts();
- public int getBytesProcessed();
+ public int getProcessedBytes();
- public int getBytesFailed();
+ public int getFailedBytes();
}
Modified: labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/message/ServiceMessageCounter.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/message/ServiceMessageCounter.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/listeners/message/ServiceMessageCounter.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -71,12 +71,12 @@
private static final String MESSAGE_COUNTER = "messages successfully processed count";
private static final String FAILED_MESSAGE_COUNTER = "messages failed count";
private static final String PROCESSING_TIME = "processing time";
- private static final String BYTES_FAILED = "bytes failed";
- private static final String BYTES_PROCESSED = "bytes processed";
+ private static final String BYTES_FAILED = "failed bytes";
+ private static final String BYTES_PROCESSED = "processed bytes";
private static final String OVERALL_SERVICE_COUNT = "overall service message count";
- private static final String OVERALL_BYTES_PROCESSED = "overall bytes processed";
- private static final String OVERALL_BYTES_FAILED = "overall bytes failed";
+ private static final String OVERALL_BYTES_PROCESSED = "overall processedbytes";
+ private static final String OVERALL_BYTES_FAILED = "overall failed bytes";
/**
* Constructor
Modified: labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/notification/NotifyJMS.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/notification/NotifyJMS.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/rosetta/src/org/jboss/soa/esb/notification/NotifyJMS.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -411,9 +411,13 @@
String prefix = configTrees[i].getAttribute(JMSEpr.JNDI_PKG_PREFIX_TAG);
if (prefix!=null) environment.setProperty(Context.URL_PKG_PREFIXES, prefix);
List<KeyValuePair> properties=configTrees[i].childPropertyList();
+ final String[] jndiPrefixes = JMSEpr.getJndiPrefixes(KeyValuePair.getValue(JMSEpr.JNDI_PREFIXES, properties)) ;
for (KeyValuePair property : properties) {
- if (property.getKey().startsWith("java.naming.")) {
- environment.setProperty(property.getKey(), property.getValue());
+ for(String jndiPrefix: jndiPrefixes) {
+ if (property.getKey().startsWith(jndiPrefix)) {
+ environment.setProperty(property.getKey(), property.getValue());
+ break ;
+ }
}
}
Modified: labs/jbossesb/workspace/dbevenius/security/product/rosetta/tests/src/org/jboss/soa/esb/addressing/eprs/JMSEprUnitTest.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/rosetta/tests/src/org/jboss/soa/esb/addressing/eprs/JMSEprUnitTest.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/rosetta/tests/src/org/jboss/soa/esb/addressing/eprs/JMSEprUnitTest.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -32,6 +32,7 @@
import junit.framework.JUnit4TestAdapter;
import org.jboss.soa.esb.addressing.eprs.JMSEpr.AcknowledgeMode;
+import org.jboss.soa.esb.common.Configuration;
import org.jboss.soa.esb.couriers.CourierException;
import org.junit.Test;
@@ -231,6 +232,42 @@
assertEquals( transacted, jmsEpr.getTransacted() );
}
+ @Test
+ public void eprWithJndiExtensions()
+ throws CourierException, URISyntaxException
+ {
+ final String testProviderURL = "test://provider" ;
+ final String testInitialContextFactory = "test.InitialContextFactory" ;
+ final String testPrefix1 = "test.prefix1." ;
+ final String testExtension1 = testPrefix1 + "extension" ;
+ final String testExtension1Value = "testExtension1Value" ;
+ final String testPrefix2 = "test.prefix2." ;
+ final String testExtension2 = testPrefix2 + "extension" ;
+ final String testExtension2Value = "testExtension2Value" ;
+ final String testPrefixes = testPrefix1 + ", " + testPrefix2 ;
+
+ final Properties env = new Properties();
+ env.put(JMSEpr.JNDI_PREFIXES, testPrefixes);
+ env.put(Context.PROVIDER_URL, testProviderURL) ;
+ env.put(Context.INITIAL_CONTEXT_FACTORY, testInitialContextFactory) ;
+ env.put(testExtension1, testExtension1Value) ;
+ env.put(testExtension2, testExtension2Value) ;
+ env.put("exclude.extension", "excludeValue") ;
+
+ JMSEpr jmsEpr = new JMSEpr( ONE_ONE_PROTOCOL, expectedDestinationType, expectedDestination ,
+ expectedConnectionFactory, env, expectedSelector, NON_PERSISTENT,
+ AcknowledgeMode.CLIENT_ACKNOWLEDGE.toString());
+
+ final Properties eprProperties = jmsEpr.getJndiEnvironment() ;
+
+ assertEquals("JNDI property count", 5, eprProperties.size()) ;
+ assertEquals("JNDI prefixes", testPrefixes, eprProperties.get(JMSEpr.JNDI_PREFIXES)) ;
+ assertEquals("JNDI provider URL", testProviderURL, eprProperties.get(Context.PROVIDER_URL)) ;
+ assertEquals("JNDI InitialContextFactory", testInitialContextFactory, eprProperties.get(Context.INITIAL_CONTEXT_FACTORY)) ;
+ assertEquals("First extension", testExtension1Value, eprProperties.get(testExtension1)) ;
+ assertEquals("Second extension", testExtension2Value, eprProperties.get(testExtension2)) ;
+ }
+
private void assertDefaults(final String destination, final String connectionFactory, final String destinationType)
{
assertEquals( expectedDestination, destination );
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/aggregation_service/jbossesb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/aggregation_service/jbossesb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/aggregation_service/jbossesb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -14,8 +14,7 @@
category="Aggregation" name="OrderAggregrator"
description="Aggregates messages">
<listeners>
- <jms-listener name="AggregatorListenQueue" busidref="AggregatorListenQueue"
- maxThreads="1">
+ <jms-listener name="AggregatorListenQueue" busidref="AggregatorListenQueue">
</jms-listener>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/blue_service/jbossesb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/blue_service/jbossesb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/blue_service/jbossesb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -16,7 +16,6 @@
<jms-listener
name="Aggregator_ToBlue"
busidref="Aggregator_ToBlue"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/green_service/jbossesb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/green_service/jbossesb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/green_service/jbossesb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -16,7 +16,6 @@
<jms-listener
name="Aggregator_ToGreen"
busidref="Aggregator_ToGreen"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/inbound_splitter/jbossesb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/inbound_splitter/jbossesb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/inbound_splitter/jbossesb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -20,12 +20,10 @@
<listeners>
<jms-listener name="quickstartGwChannel"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="quickstartEsbChannel"
- busidref="quickstartEsbChannel"
- maxThreads="1">
+ busidref="quickstartEsbChannel">
</jms-listener>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/red_service/jbossesb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/red_service/jbossesb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/aggregator/red_service/jbossesb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -16,7 +16,6 @@
<jms-listener
name="Aggregator_ToRed"
busidref="Aggregator_ToRed"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration1/deployment.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration1/deployment.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration1/deployment.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,4 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<jbossesb-deployment>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm_orchestration1_service1_Request_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm_orchestration1_service1_Request_esb_reply</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm_orchestration1_service2_Request_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm_orchestration1_service2_Request_esb_reply</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm_orchestration1_service3_Request_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm_orchestration1_service3_Request_esb_reply</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm_orchestration1_results_Request_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm_orchestration1_results_Request_esb_reply</depends>
<depends>jboss.esb:deployment=jbpm.esb</depends>
-</jbossesb-deployment>
\ No newline at end of file
+</jbossesb-deployment>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration1/jbm-queue-service.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/bpm_orchestration1/jbm-queue-service.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration1/jbm-queue-service.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration1/jbm-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,46 @@
+<?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_bpm_orchestration1_service1_Request_esb"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm_orchestration1_service1_Request_esb_reply"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm_orchestration1_service2_Request_esb"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm_orchestration1_service2_Request_esb_reply"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm_orchestration1_service3_Request_esb"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm_orchestration1_service3_Request_esb_reply"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm_orchestration1_results_Request_esb"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm_orchestration1_results_Request_esb_reply"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ </mbean>
+</server>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration1/jbmq-queue-service.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/bpm_orchestration1/jbmq-queue-service.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration1/jbmq-queue-service.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration1/jbmq-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,50 @@
+<?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_bpm_orchestration1_service1_Request_esb">
+ <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_bpm_orchestration1_service1_Request_esb_reply">
+ <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_bpm_orchestration1_service2_Request_esb">
+ <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_bpm_orchestration1_service2_Request_esb_reply">
+ <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_bpm_orchestration1_service3_Request_esb">
+ <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_bpm_orchestration1_service3_Request_esb_reply">
+ <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_bpm_orchestration1_results_Request_esb">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm_orchestration1_results_Request_esb_reply">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+</server>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration1/jboss-esb-unfiltered.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration1/jboss-esb-unfiltered.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration1/jboss-esb-unfiltered.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -4,24 +4,6 @@
<providers>
<fs-provider name="FSprovider1">
-
- <fs-bus busid="deployGwChannel" >
- <fs-message-filter
- directory="@INPUT_DIR@"
- input-suffix=".deployProcessGW"
- post-delete="true"
- error-delete="true"
- />
- </fs-bus>
- <fs-bus busid="deployEsbChannel" >
- <fs-message-filter
- directory="@INPUT_DIR@"
- input-suffix=".deployProcessESB"
- post-delete="true"
- error-delete="true"
- />
- </fs-bus>
-
<fs-bus busid="startGwChannel" >
<fs-message-filter
directory="@INPUT_DIR@"
@@ -38,40 +20,26 @@
post-delete="true"
error-delete="true"
/>
- </fs-bus>
- <fs-bus busid="service1EsbChannel" >
- <fs-message-filter
- directory="@INPUT_DIR@"
- input-suffix=".service1ESB"
- post-delete="true"
- error-delete="true"
- />
- </fs-bus>
- <fs-bus busid="service2EsbChannel" >
- <fs-message-filter
- directory="@INPUT_DIR@"
- input-suffix=".service2ESB"
- post-delete="true"
- error-delete="true"
- />
- </fs-bus>
- <fs-bus busid="service3EsbChannel" >
- <fs-message-filter
- directory="@INPUT_DIR@"
- input-suffix=".service3ESB"
- post-delete="true"
- error-delete="true"
- />
- </fs-bus>
- <fs-bus busid="resultsService" >
- <fs-message-filter
- directory="@INPUT_DIR@"
- input-suffix=".resultsServiceESB"
- post-delete="true"
- error-delete="true"
- />
- </fs-bus>
+ </fs-bus>
</fs-provider>
+ <jms-provider name="JMSProvider" connection-factory="ConnectionFactory">
+ <jms-bus busid="service1EsbChannel" >
+ <jms-message-filter dest-type="QUEUE"
+ dest-name="queue/quickstart_bpm_orchestration1_service1_Request_esb"/>
+ </jms-bus>
+ <jms-bus busid="service2EsbChannel" >
+ <jms-message-filter dest-type="QUEUE"
+ dest-name="queue/quickstart_bpm_orchestration1_service2_Request_esb"/>
+ </jms-bus>
+ <jms-bus busid="service3EsbChannel" >
+ <jms-message-filter dest-type="QUEUE"
+ dest-name="queue/quickstart_bpm_orchestration1_service3_Request_esb"/>
+ </jms-bus>
+ <jms-bus busid="resultsService" >
+ <jms-message-filter dest-type="QUEUE"
+ dest-name="queue/quickstart_bpm_orchestration1_results_Request_esb"/>
+ </jms-bus>
+ </jms-provider>
</providers>
<services>
@@ -80,10 +48,8 @@
description="BPM Orchestration Sample 1: Use this service to start a process instance">
<listeners>
<fs-listener name="Gateway" busidref="startGwChannel"
- maxThreads="4"
is-gateway="true" />
- <fs-listener name="ESB-Listener" busidref="startEsbChannel"
- maxThreads="1"/>
+ <fs-listener name="ESB-Listener" busidref="startEsbChannel"/>
</listeners>
<actions>
<action name="spy1"
@@ -111,8 +77,7 @@
<service category="BPM_Orchestration_Service1" name="Service1"
description="BPM Orchestration Sample 1: this is a service invoked within the process">
<listeners>
- <fs-listener name="ESB-Listener" busidref="service1EsbChannel"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="service1EsbChannel"/>
</listeners>
<actions>
<action name="groovy" class="org.jboss.soa.esb.actions.scripting.GroovyActionProcessor">
@@ -123,8 +88,7 @@
<service category="BPM_Orchestration_Service2" name="Service2"
description="BPM Orchestration Sample 1: this is a service invoked within the process">
<listeners>
- <fs-listener name="ESB-Listener" busidref="service2EsbChannel"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="service2EsbChannel"/>
</listeners>
<actions>
<action name="groovy" class="org.jboss.soa.esb.actions.scripting.GroovyActionProcessor">
@@ -136,8 +100,7 @@
<service category="BPM_Orchestration_Service3" name="Service3"
description="BPM Orchestration Sample 1: this is a service invoked within the process">
<listeners>
- <fs-listener name="ESB-Listener" busidref="service3EsbChannel"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="service3EsbChannel"/>
</listeners>
<actions>
<action name="groovy" class="org.jboss.soa.esb.actions.scripting.GroovyActionProcessor">
@@ -149,8 +112,7 @@
<service category="BPM_Orchestration_ResultsService" name="ResultsService"
description="BPM Orchestration Sample 1: Sends outbound results of the process flow">
<listeners>
- <fs-listener name="ESB-Listener" busidref="resultsService"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="resultsService"/>
</listeners>
<actions>
<action name="spy"
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration2/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration2/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration2/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -63,10 +63,8 @@
description="BPM Orchestration Sample 2: Use this service to start a process instance">
<listeners>
<jms-listener name="JMS-Gateway" busidref="startGwChannel"
- maxThreads="1"
- is-gateway="true" />
- <jms-listener name="ESB-Listener" busidref="startEsbChannel"
- maxThreads="1"/>
+ is-gateway="true"/>
+ <jms-listener name="ESB-Listener" busidref="startEsbChannel"/>
</listeners>
<actions mep="OneWay">
<action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
@@ -92,8 +90,7 @@
<service category="BPM_Orchestration2_Service1" name="Service1"
description="BPM Orchestration Sample 2: this is a service invoked within the process">
<listeners>
- <jms-listener name="ESB-Listener" busidref="service1EsbChannel"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="service1EsbChannel"/>
</listeners>
<actions>
@@ -113,8 +110,7 @@
<service category="BPM_Orchestration2_Service2" name="Service2"
description="BPM Orchestration Sample 2: this is a service invoked within the process">
<listeners>
- <jms-listener name="ESB-Listener" busidref="service2EsbChannel"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="service2EsbChannel"/>
</listeners>
<actions>
@@ -131,8 +127,7 @@
<service category="BPM_Orchestration2_Service3" name="Service3"
description="BPM Orchestration Sample 2: this is a service invoked within the process">
<listeners>
- <jms-listener name="ESB-Listener" busidref="service3EsbChannel"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="service3EsbChannel"/>
</listeners>
<actions>
@@ -150,8 +145,7 @@
<service category="BPM_Orchestration2_Service4" name="Service4"
description="BPM Orchestration Sample 2: this is a service invoked within the process">
<listeners>
- <jms-listener name="ESB-Listener" busidref="service4EsbChannel"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="service4EsbChannel"/>
</listeners>
<actions>
<action name="groovy" class="org.jboss.soa.esb.actions.scripting.GroovyActionProcessor">
@@ -166,8 +160,7 @@
<service category="BPM_Orchestration2_Service5" name="Service5"
description="BPM Orchestration Sample 2: this is a service invoked within the process">
<listeners>
- <jms-listener name="ESB-Listener" busidref="service5EsbChannel"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="service5EsbChannel"/>
</listeners>
<actions>
<action name="groovy" class="org.jboss.soa.esb.actions.scripting.GroovyActionProcessor">
@@ -182,8 +175,7 @@
<service category="BPM_Orchestration2_Service6" name="Service6"
description="BPM Orchestration Sample 2: this is a service invoked within the process">
<listeners>
- <jms-listener name="ESB-Listener" busidref="service6EsbChannel"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="service6EsbChannel"/>
</listeners>
<actions>
<action name="groovy" class="org.jboss.soa.esb.actions.scripting.GroovyActionProcessor">
@@ -199,8 +191,7 @@
<service category="BPM_Orchestration2_Service7" name="Service7"
description="BPM Orchestration Sample 2: this is a service invoked within the process">
<listeners>
- <jms-listener name="ESB-Listener" busidref="service7EsbChannel"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="service7EsbChannel"/>
</listeners>
<actions>
<action name="groovy" class="org.jboss.soa.esb.actions.scripting.GroovyActionProcessor">
@@ -219,8 +210,7 @@
<service category="BPM_Orchestration2_ResultsService" name="ResultsService"
description="BPM Orchestration Sample 2: Sends outbound results of the process flow">
<listeners>
- <jms-listener name="ESB-Listener" busidref="resultsService"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="resultsService"/>
</listeners>
<actions>
<action name="groovy" class="org.jboss.soa.esb.actions.scripting.GroovyActionProcessor">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration3/jboss-esb-unfiltered.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration3/jboss-esb-unfiltered.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration3/jboss-esb-unfiltered.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -59,10 +59,8 @@
description="BPM Orchestration Sample 3: Use this service to start a process instance">
<listeners>
<jms-listener name="JMS-Gateway" busidref="startGwChannel"
- maxThreads="1"
is-gateway="true" />
- <jms-listener name="ESB-Listener" busidref="startEsbChannel"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="startEsbChannel"/>
</listeners>
<actions mep="OneWay">
<action name="setupKey" class="org.jboss.soa.esb.samples.quickstarts.bpm_orchestration3.esb_actions.SetupKey">
@@ -89,10 +87,8 @@
description="BPM Orchestration Sample 3: Use this service to signal a process instance">
<listeners>
<fs-listener name="Gateway" busidref="signalGwChannel"
- maxThreads="1"
is-gateway="true" />
- <jms-listener name="ESB-Listener" busidref="signalEsbChannel"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="signalEsbChannel"/>
</listeners>
<actions mep="OneWay">
<!--
@@ -118,8 +114,7 @@
<service category="BPM_Orchestration3_Service1" name="Service1"
description="BPM Orchestration Sample 3: this is a service invoked within the process">
<listeners>
- <jms-listener name="ESB-Listener" busidref="service1EsbChannel"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="service1EsbChannel"/>
</listeners>
<actions mep="OneWay">
<!--
@@ -143,8 +138,7 @@
<service category="BPM_Orchestration3_Service2" name="Service2"
description="BPM Orchestration Sample 3: this is a service invoked within the process">
<listeners>
- <jms-listener name="ESB-Listener" busidref="service2EsbChannel"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="service2EsbChannel"/>
</listeners>
<actions mep="OneWay">
<!--
@@ -166,8 +160,7 @@
<service category="BPM_Orchestration3_Service3" name="Service3"
description="BPM Orchestration Sample 3: this is a service invoked within the process">
<listeners>
- <jms-listener name="ESB-Listener" busidref="service3EsbChannel"
- maxThreads="1"/>
+ <jms-listener name="ESB-Listener" busidref="service3EsbChannel"/>
</listeners>
<actions mep="OneWay">
<!--
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration4/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration4/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/bpm_orchestration4/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -4,11 +4,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="startGwChannel">
<jms-message-filter dest-type="QUEUE"
@@ -57,9 +53,9 @@
description="BPM Orchestration Sample 4: Use this service to start a process instance">
<listeners>
<jms-listener name="JMS-Gateway"
- busidref="startGwChannel" maxThreads="1" is-gateway="true" />
+ busidref="startGwChannel" is-gateway="true" />
<jms-listener name="ESB-Listener"
- busidref="startEsbChannel" maxThreads="1" />
+ busidref="startEsbChannel"/>
</listeners>
<actions>
<action name="setup_key"
@@ -89,7 +85,7 @@
description="IntakeService: transforms, massages, calculates priority">
<listeners>
<jms-listener name="ESB-Listener"
- busidref="intakeServiceEsbChannel" maxThreads="1" />
+ busidref="intakeServiceEsbChannel"/>
</listeners>
<actions>
@@ -164,7 +160,7 @@
description="DiscountService">
<listeners>
<jms-listener name="ESB-Listener"
- busidref="discountServiceEsbChannel" maxThreads="1" />
+ busidref="discountServiceEsbChannel" />
</listeners>
<actions>
<action name="groovy"
@@ -209,7 +205,7 @@
description="ShippingService">
<listeners>
<jms-listener name="ESB-Listener"
- busidref="shippingServiceEsbChannel" maxThreads="1" />
+ busidref="shippingServiceEsbChannel"/>
</listeners>
<actions>
<action name="groovy"
@@ -247,7 +243,7 @@
name="ConciergeService" description="For highest priority customers">
<listeners>
<jms-listener name="conciergeServiceEsbChannel"
- busidref="conciergeServiceEsbChannel" maxThreads="1">
+ busidref="conciergeServiceEsbChannel">
</jms-listener>
</listeners>
<actions mep="OneWay">
@@ -263,7 +259,7 @@
name="DistributionService" description="For medium priority customers">
<listeners>
<jms-listener name="distributionServiceEsbChannel"
- busidref="distributionServiceEsbChannel" maxThreads="1">
+ busidref="distributionServiceEsbChannel">
</jms-listener>
</listeners>
<actions mep="OneWay">
@@ -278,7 +274,7 @@
name="ShipperService" description="For low priority customers">
<listeners>
<jms-listener name="basicShippingServiceEsbChannel"
- busidref="basicShippingServiceEsbChannel" maxThreads="1">
+ busidref="basicShippingServiceEsbChannel">
</jms-listener>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/business_rules_service/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/business_rules_service/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/business_rules_service/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -35,9 +35,9 @@
<listeners>
<!-- Gateway -->
<jms-listener name="TheGateway"
- busidref="quickstartGwChannel" maxThreads="1" is-gateway="true" />
+ busidref="quickstartGwChannel" is-gateway="true" />
<jms-listener name="TheESBChannel"
- busidref="quickstartEsbChannel" maxThreads="1">
+ busidref="quickstartEsbChannel" >
</jms-listener>
</listeners>
<actions mep="OneWay">
@@ -124,7 +124,7 @@
name="ConciergeService" description="For highest priority customers">
<listeners>
<jms-listener name="Business_Rules_ConciergeManager"
- busidref="Business_Rules_ConciergeManager" maxThreads="1">
+ busidref="Business_Rules_ConciergeManager">
</jms-listener>
</listeners>
<actions mep="OneWay">
@@ -140,7 +140,7 @@
name="DistributionService" description="For medium priority customers">
<listeners>
<jms-listener name="Business_Rules_DistributionManager"
- busidref="Business_Rules_DistributionManager" maxThreads="1">
+ busidref="Business_Rules_DistributionManager">
</jms-listener>
</listeners>
<actions mep="OneWay">
@@ -155,7 +155,7 @@
name="ShipperService" description="For low priority customers">
<listeners>
<jms-listener name="Business_Rules_BasicShipping"
- busidref="Business_Rules_BasicShipping" maxThreads="1">
+ busidref="Business_Rules_BasicShipping">
</jms-listener>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/business_ruleservice_ruleAgent/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/business_ruleservice_ruleAgent/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/business_ruleservice_ruleAgent/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -3,10 +3,7 @@
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_Business_Rules_RuleAgent_Request_GW" />
@@ -25,9 +22,9 @@
<listeners>
<!-- Gateway -->
<jms-listener name="TheGateway"
- busidref="quickstartGwChannel" maxThreads="1" is-gateway="true" />
+ busidref="quickstartGwChannel" is-gateway="true" />
<jms-listener name="TheESBChannel"
- busidref="quickstartEsbChannel" maxThreads="1">
+ busidref="quickstartEsbChannel">
</jms-listener>
</listeners>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/business_ruleservice_stateful/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/business_ruleservice_stateful/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/business_ruleservice_stateful/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -3,10 +3,7 @@
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_Business_Rules_Stateful_Request_GW" />
@@ -26,9 +23,9 @@
<listeners>
<!-- Gateway -->
<jms-listener name="TheGateway"
- busidref="quickstartGwChannel" maxThreads="1" is-gateway="true" />
+ busidref="quickstartGwChannel" is-gateway="true" />
<jms-listener name="TheESBChannel"
- busidref="quickstartEsbChannel" maxThreads="1">
+ busidref="quickstartEsbChannel">
</jms-listener>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/business_service/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/business_service/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/business_service/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -28,12 +28,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="JMS-ESBListener"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/conf/quickstarts.properties-example
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/conf/quickstarts.properties-example 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/conf/quickstarts.properties-example 2008-07-25 13:51:04 UTC (rev 21223)
@@ -5,7 +5,7 @@
##############################################################################################
# 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.2.1CP3
+#org.jboss.esb.server.home=${product.dir}/build/jbossesb-server-4.4.GA
# JBossAS server name. If not set defaults to 'default'
# Will override the same property name from install/deployment.properties
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/custom_action/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/custom_action/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/custom_action/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -27,12 +27,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="JMS-ESBListener"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="RequestResponse">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/deadletter/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/deadletter/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/deadletter/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -27,12 +27,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="helloWorld"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/dynamic_router/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/dynamic_router/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/dynamic_router/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -55,8 +55,8 @@
<service category="incomingCategory1" name="incomingService" description="incoming service">
<listeners>
- <jms-listener name="incoming-Gateway" busidref="dynamicrouterInputChannel" maxThreads="1" is-gateway="true" />
- <jms-listener name="native1" busidref="dynamicrouterChannel1" maxThreads="1" />
+ <jms-listener name="incoming-Gateway" busidref="dynamicrouterInputChannel" is-gateway="true" />
+ <jms-listener name="native1" busidref="dynamicrouterChannel1"/>
</listeners>
<actions mep="OneWay">
<action name="action1"
@@ -67,8 +67,8 @@
<service category="incomingCategory2" name="controlService" description="control service">
<listeners>
- <jms-listener name="control-Gateway" busidref="dynamicrouterControlChannel" maxThreads="1" is-gateway="true" />
- <jms-listener name="native2" busidref="dynamicrouterChannel2" maxThreads="1" />
+ <jms-listener name="control-Gateway" busidref="dynamicrouterControlChannel" is-gateway="true" />
+ <jms-listener name="native2" busidref="dynamicrouterChannel2"/>
</listeners>
<actions mep="OneWay">
<action name="action2"
@@ -82,8 +82,8 @@
<service category="outgoingCategory1" name="outgoingService1" description="outgoing service1">
<listeners>
- <jms-listener name="out1" busidref="dynamicrouterOutputChannel1" maxThreads="1" is-gateway="true"/>
- <jms-listener name="nativeout1" busidref="dynamicrouterOutputNative1" maxThreads="1" />
+ <jms-listener name="out1" busidref="dynamicrouterOutputChannel1" is-gateway="true"/>
+ <jms-listener name="nativeout1" busidref="dynamicrouterOutputNative1"/>
</listeners>
<actions mep="OneWay">
<action name="outaction1" class="org.jboss.soa.esb.actions.SystemPrintln" />
@@ -92,8 +92,8 @@
<service category="outgoingCategory2" name="outgoingService2" description="outgoing service2">
<listeners>
- <jms-listener name="out2" busidref="dynamicrouterOutputChannel2" maxThreads="1" is-gateway="true"/>
- <jms-listener name="nativeout2" busidref="dynamicrouterOutputNative2" maxThreads="1" />
+ <jms-listener name="out2" busidref="dynamicrouterOutputChannel2" is-gateway="true"/>
+ <jms-listener name="nativeout2" busidref="dynamicrouterOutputNative2"/>
</listeners>
<actions mep="OneWay">
<action name="outaction2" class="org.jboss.soa.esb.actions.SystemPrintln" />
@@ -102,8 +102,8 @@
<service category="outgoingCategory3" name="outgoingService3" description="outgoing service3">
<listeners>
- <jms-listener name="out3" busidref="dynamicrouterOutputChannel3" maxThreads="1" is-gateway="true"/>
- <jms-listener name="nativeout3" busidref="dynamicrouterOutputNative3" maxThreads="1" />
+ <jms-listener name="out3" busidref="dynamicrouterOutputChannel3" is-gateway="true"/>
+ <jms-listener name="nativeout3" busidref="dynamicrouterOutputNative3"/>
</listeners>
<actions mep="OneWay">
<action name="outaction3" class="org.jboss.soa.esb.actions.SystemPrintln" />
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/exceptions_faults/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/exceptions_faults/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/exceptions_faults/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -45,12 +45,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="LostMessageServiceGW"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="JMS-ESBListener"
busidref="LostMessageServiceESB"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
@@ -75,12 +73,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="ExceptionCaughtServiceGW"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="JMS-ESBListener"
busidref="ExceptionCaughtServiceESB"
- maxThreads="1"
/>
</listeners>
<actions>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/fun_cbr/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/fun_cbr/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/fun_cbr/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -34,12 +34,10 @@
<!-- Gateway -->
<jms-listener name="TheGateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="XPathContentBasedRouter"
- busidref="quickstartEsbChannel"
- maxThreads="1">
+ busidref="quickstartEsbChannel">
</jms-listener>
</listeners>
<actions mep="OneWay">
@@ -65,7 +63,6 @@
<jms-listener
name="Fun_CBR_ToBlue"
busidref="Fun_CBR_ToBlue"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
@@ -96,7 +93,6 @@
<jms-listener
name="Fun_CBR_ToRed"
busidref="Fun_CBR_ToRed"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
@@ -127,7 +123,6 @@
<jms-listener
name="Fun_CBR_ToGreenTransformer"
busidref="Fun_CBR_ToGreenTransformer"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/groovy_gateway/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/groovy_gateway/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/groovy_gateway/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -21,8 +21,7 @@
<listeners>
<groovy-listener name="groovy-client" script="MessageInjectionConsole" is-gateway="true" />
<jms-listener name="ESBListener"
- busidref="quickstartEsbChannel"
- maxThreads="1"/>
+ busidref="quickstartEsbChannel"/>
</listeners>
<actions mep="RequestResponse">
<action name="greeting1" class="org.jboss.soa.esb.samples.quickstart.groovygateway.GreeterAction"/>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -27,12 +27,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="helloWorld"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_action/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_action/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_action/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -28,12 +28,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="JMS-ESBListener"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_action/oracle-aq/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_action/oracle-aq/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_action/oracle-aq/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -35,12 +35,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="JMS-ESBListener"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_db_registration/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_db_registration/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_db_registration/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -18,9 +18,9 @@
description="Hello World DB JMS Service">
<listeners>
<jms-listener name="helloworldDBGatewayListener"
- busidref="helloworldDBGatewayChannel" maxThreads="1" is-gateway="true"/>
+ busidref="helloworldDBGatewayChannel" is-gateway="true"/>
<jms-listener name="helloworldDBServiceListener"
- busidref="helloworldDBServiceChannel" maxThreads="1"/>
+ busidref="helloworldDBServiceChannel"/>
</listeners>
<actions mep="OneWay">
<action name="helloworldDBAction" class="org.jboss.soa.esb.samples.quickstart.helloworlddbregistration.MyJMSListenerAction"
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_file_action/jboss-esb-unfiltered.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_file_action/jboss-esb-unfiltered.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_file_action/jboss-esb-unfiltered.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -43,13 +43,11 @@
<listeners>
<fs-listener name="FileGateway"
busidref="helloFileChannel"
- maxThreads="1"
is-gateway="true"
poll-frequency-seconds="10"
/>
<jms-listener name="helloWorldFileAction"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_file_notifier/jboss-esb-unfiltered.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_file_notifier/jboss-esb-unfiltered.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_file_notifier/jboss-esb-unfiltered.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -2,9 +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
@@ -46,12 +44,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="helloWorld"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
@@ -70,7 +66,6 @@
<listeners>
<jms-listener name="helloWorldconsole"
busidref="quickstartConsoleChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
@@ -87,7 +82,6 @@
<listeners>
<jms-listener name="helloWorldfile"
busidref="quickstartFileChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_ftp_action/jboss-esb-readonly-unfiltered.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_ftp_action/jboss-esb-readonly-unfiltered.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_ftp_action/jboss-esb-readonly-unfiltered.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -20,10 +20,7 @@
</ftp-bus>
</ftp-provider>
- <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
@@ -45,7 +42,6 @@
<listeners>
<ftp-listener name="FtpGateway"
busidref="helloFTPChannel"
- maxThreads="1"
is-gateway="true"
schedule-frequency="5">
<property name="remoteFileSystemStrategy-configFile" value="/ftpfile-cache-config.xml"/>
@@ -53,7 +49,6 @@
</ftp-listener>
<jms-listener name="helloWorldFileAction"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_ftp_action/jboss-esb-unfiltered.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_ftp_action/jboss-esb-unfiltered.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_ftp_action/jboss-esb-unfiltered.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -19,10 +19,7 @@
</ftp-bus>
</ftp-provider>
- <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
@@ -48,12 +45,10 @@
<listeners>
<ftp-listener name="FtpGateway"
busidref="helloFTPChannel"
- maxThreads="1"
is-gateway="true"
scheduleidref="cron-schedule"/>
<jms-listener name="helloWorldFileAction"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_hibernate_action/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_hibernate_action/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_hibernate_action/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -33,11 +33,9 @@
<listeners>
<hibernate-listener name="HibernateGateway"
busidref="helloHibernateChannel"
- maxThreads="1"
is-gateway="true"/>
<jms-listener name="helloWorldJmsAction"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_sql_action/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_sql_action/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_sql_action/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -42,11 +42,9 @@
<listeners>
<sql-listener name="SqlGateway"
busidref="helloSQLChannel"
- maxThreads="1"
is-gateway="true"/>
<jms-listener name="helloWorldJmsAction"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_topic_notifier/jboss-esb-unfiltered.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_topic_notifier/jboss-esb-unfiltered.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_topic_notifier/jboss-esb-unfiltered.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -2,9 +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="quickstartNotifierChannel">
<jms-message-filter
@@ -29,12 +27,10 @@
<listeners>
<jms-listener name="helloWorldNotifier"
busidref="quickstartNotifierChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="helloWorld"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_topic_notifier/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_topic_notifier/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_topic_notifier/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -2,9 +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="quickstartNotifierChannel">
<jms-message-filter
@@ -29,12 +27,10 @@
<listeners>
<jms-listener name="helloWorldNotifier"
busidref="quickstartNotifierChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="helloWorld"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions>
@@ -44,8 +40,8 @@
<NotificationList type="ok">
<target class="NotifyConsole"/>
<target class="NotifyFiles">
- <file append="false" URI="file:////Users/cunningt/src/esb/JBESB_4_2_1_GA_CP/product/samples/quickstarts/helloworld_topic_notifier/results.log"/>
- <file append="false" URI="/tmp/HelloWorldFileNotifierTest.log"/>
+ <file append="false" URI="file:///H:\Jboss\ESB\trunk\product\samples\quickstarts\helloworld_topic_notifier/results.log"/>
+ <file append="false" URI="C:\DOCUME~1\TOMFEN~1\LOCALS~1\Temp\/HelloWorldFileNotifierTest.log"/>
</target>
<target class="NotifyTopics">
<topic jndiName="topic/helloworldtopic"/>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_tx_sql_action/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_tx_sql_action/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/helloworld_tx_sql_action/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -37,8 +37,8 @@
<services>
<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">
+ <sql-listener name="SqlGateway" busidref="helloSQLChannel" is-gateway="true"/>
+ <sql-listener name="TxSqlListener" busidref="TxHelloSQLChannel">
<property name="transacted" value="true"/>
</sql-listener>
</listeners>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/https_2way_ssl/jboss-esb-template.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/https_2way_ssl/jboss-esb-template.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/https_2way_ssl/jboss-esb-template.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -4,7 +4,7 @@
parameterReloadSecs="5">
<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="runtestGateway">
<jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_https_2way_ssl_esb_runtest_gw" />
</jms-bus>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/jbossesb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/jbossesb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/huge-split-enrich-transform-route/02_Low_Price/jbossesb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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="02XMLBus">
<jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_HugeSplitTransRoute_02_XML"/>
</jms-bus>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/jbossesb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/jbossesb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/huge-split-enrich-transform-route/03_High_Price/jbossesb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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="03JavaObjectsBus">
<jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_HugeSplitTransRoute_JavaObjects"/>
</jms-bus>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/invm_transport1/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/invm_transport1/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/invm_transport1/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -18,7 +18,7 @@
<service category="HelloWorld" name="Service1" description="Service 1" invmScope="GLOBAL">
<listeners>
<!-- So we just need to define a Gateway to the service... -->
- <jms-listener name="JMS-Gateway" busidref="quickstartGwChannel" maxThreads="1" is-gateway="true"/>
+ <jms-listener name="JMS-Gateway" busidref="quickstartGwChannel" is-gateway="true"/>
</listeners>
<actions>
<action name="println" class="org.jboss.soa.esb.actions.SystemPrintln">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/jms_router/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/jms_router/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/jms_router/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -2,9 +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
@@ -30,12 +28,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="jmssecured"
- busidref="quickstartEsbChannel"
- maxThreads="1"/>
+ busidref="quickstartEsbChannel"/>
</listeners>
<actions mep="OneWay">
@@ -44,9 +40,9 @@
<property name="printfull" value="false"/>
</action>
<action name="routeToReplyQueue" class="org.jboss.soa.esb.actions.routing.JMSRouter">
- <property name="jndi-context-factory" value="org.jnp.interfaces.NamingContextFactory"/>
+ <!--property name="jndi-context-factory" value="org.jnp.interfaces.NamingContextFactory"/>
<property name="jndi-URL" value="127.0.0.1:1099"/>
- <property name="jndi-pkg-prefix" value="org.jboss.naming:org.jnp.interfaces"/>
+ <property name="jndi-pkg-prefix" value="org.jboss.naming:org.jnp.interfaces"/ -->
<property name="connection-factory" value="ConnectionFactory"/>
<property name="jndiName" value="queue/quickstart_jms_router_routeTo"/>
<property name="unwrap" value="true"/>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/jms_secured/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/jms_secured/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/jms_secured/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -29,12 +29,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="jmssecured"
- busidref="quickstartEsbChannel"
- maxThreads="1"/>
+ busidref="quickstartEsbChannel"/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/jms_transacted/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/jms_transacted/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/jms_transacted/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -34,11 +34,9 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"/>
<jms-listener name="jmssecured"
- busidref="quickstartEsbChannel"
- maxThreads="1"/>
+ busidref="quickstartEsbChannel"/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/load_generator/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/load_generator/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/load_generator/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -26,9 +26,9 @@
description="Load test dummy service. used to debug load test scripts.">
<listeners>
<jms-listener name="JMS-Gateway"
- busidref="quickstartGwChannel" maxThreads="1" is-gateway="true" />
+ busidref="quickstartGwChannel" is-gateway="true" />
<jms-listener name="load_generator"
- busidref="quickstartEsbChannel" maxThreads="1" />
+ busidref="quickstartEsbChannel"/>
</listeners>
<actions mep="OneWay">
<action name="action1"
@@ -45,7 +45,7 @@
description="Load test dummy service. used to debug load test scripts.">
<listeners>
<jms-listener name="load_generator"
- busidref="quickstartEsbChannel2" maxThreads="1" />
+ busidref="quickstartEsbChannel2"/>
</listeners>
<actions mep="OneWay">
<action name="action1"
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/messagefilter/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/messagefilter/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/messagefilter/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -33,12 +33,10 @@
<listeners>
<jms-listener name="gw-channel"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="esb-channel"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
@@ -61,7 +59,6 @@
<listeners>
<jms-listener name="esb-channel"
busidref="quickstartNextEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/messagestore/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/messagestore/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/messagestore/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -27,12 +27,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="helloWorld"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/native_client/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/native_client/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/native_client/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -22,7 +22,6 @@
<listeners>
<jms-listener name="JMS-ESBListener"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/recipient_list/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/recipient_list/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/recipient_list/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -45,8 +45,8 @@
<!-- CBR Service -->
<service category="recipientlistCBRServices" name="FirstRecipientlistCBRServiceESB" description="ESB Listener" >
<listeners>
- <jms-listener name="the-CBR-gateway" busidref="recipientlistCBRChannel" maxThreads="1" is-gateway="true" />
- <jms-listener name="XPathContentBasedRouter" busidref="recipientlistEsbChannel" maxThreads="1" />
+ <jms-listener name="the-CBR-gateway" busidref="recipientlistCBRChannel" is-gateway="true" />
+ <jms-listener name="XPathContentBasedRouter" busidref="recipientlistEsbChannel"/>
</listeners>
<actions mep="OneWay">
<action class="org.jboss.soa.esb.actions.ContentBasedRouter" name="ContentBasedRouter">
@@ -63,7 +63,7 @@
<service category="recipientlistCategory1" name="regularService" description="regular service">
<listeners>
- <jms-listener name="native1" busidref="recipientlistChannel1" maxThreads="1" />
+ <jms-listener name="native1" busidref="recipientlistChannel1"/>
</listeners>
<actions mep="OneWay">
@@ -86,8 +86,8 @@
<service category="recipientlistCategory2" name="ExtraStaticListener" description="Static Router">
<listeners>
- <jms-listener name="test-Gateway" busidref="recipientlistStaticRouterChannel" maxThreads="1" is-gateway="true" />
- <jms-listener name="native3" busidref="recipientlistChannel3" maxThreads="1" />
+ <jms-listener name="test-Gateway" busidref="recipientlistStaticRouterChannel" is-gateway="true"/>
+ <jms-listener name="native3" busidref="recipientlistChannel3"/>
</listeners>
<actions mep="OneWay">
<action name="routeAction" class="org.jboss.soa.esb.actions.StaticRouter">
@@ -102,7 +102,7 @@
<service category="recipientlistCategory4" name="extraService1" description="extra service1">
<listeners>
- <jms-listener name="native4" busidref="recipientlistChannel4" maxThreads="1" />
+ <jms-listener name="native4" busidref="recipientlistChannel4"/>
</listeners>
<actions mep="OneWay">
@@ -125,7 +125,7 @@
<service category="recipientlistCategory5" name="extraService2" description="extra service2">
<listeners>
- <jms-listener name="native2" busidref="recipientlistChannel2" maxThreads="1" />
+ <jms-listener name="native2" busidref="recipientlistChannel2"/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/scripting_groovy/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/scripting_groovy/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/scripting_groovy/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -27,12 +27,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="JMS-ESBListener"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/simple_cbr/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/simple_cbr/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/simple_cbr/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -42,12 +42,10 @@
<!-- Gateway -->
<jms-listener name="the-gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="XPathContentBasedRouter"
- busidref="quickstartEsbChannel"
- maxThreads="1">
+ busidref="quickstartEsbChannel">
</jms-listener>
</listeners>
<actions mep="OneWay">
@@ -71,9 +69,7 @@
<listeners>
<jms-listener
name="CBRNormalShipping"
- busidref="CBRNormalShipping"
- maxThreads="1"
- />
+ busidref="CBRNormalShipping"/>
</listeners>
<actions mep="OneWay">
<action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
@@ -97,9 +93,7 @@
<listeners>
<jms-listener
name="CBRExpressFreeShipping"
- busidref="CBRExpressFreeShipping"
- maxThreads="1"
- />
+ busidref="CBRExpressFreeShipping"/>
</listeners>
<actions mep="OneWay">
<action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/smooks_file_splitter_router/jboss-esb-unfiltered.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/smooks_file_splitter_router/jboss-esb-unfiltered.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/smooks_file_splitter_router/jboss-esb-unfiltered.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -37,12 +37,11 @@
<listeners>
<fs-listener name="FileGateway"
busidref="smooksFileChannel"
- maxThreads="1"
is-gateway="true"
schedule-frequency="10">
<property name="composer-class" value="org.jboss.soa.esb.listeners.gateway.LocalFileNameMessageComposer"/>
</fs-listener>
- <jms-listener name="helloWorldFileAction" busidref="quickstartEsbChannel" maxThreads="1" />
+ <jms-listener name="helloWorldFileAction" busidref="quickstartEsbChannel"/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/spring_aop/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/spring_aop/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/spring_aop/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -27,12 +27,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="JMS-ESBListener"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/spring_helloworld/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/spring_helloworld/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/spring_helloworld/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -27,12 +27,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="JMS-ESBListener"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/spring_jpetstore/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/spring_jpetstore/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/spring_jpetstore/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -27,12 +27,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="JMS-ESBListener"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/static_router/jboss-esb-unfiltered.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/static_router/jboss-esb-unfiltered.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/static_router/jboss-esb-unfiltered.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -58,12 +58,10 @@
<listeners>
<ftp-listener name="Ftp-Gateway"
busidref="StaticRouterFtpGW"
- maxThreads="1"
is-gateway="true"
/>
<fs-listener name="StaticRouter"
busidref="staticRouter"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
@@ -82,7 +80,7 @@
name="service01"
description="Static route destination 1">
<listeners>
- <fs-listener name="fileDest01" busidref="fileMessageDestination_01" maxThreads="1" />
+ <fs-listener name="fileDest01" busidref="fileMessageDestination_01"/>
</listeners>
<actions mep="OneWay">
<action name="doThis" class="org.jboss.soa.esb.samples.quickstart.staticrouter.SimpleFileAction">
@@ -96,7 +94,7 @@
name="service02"
description="Static route destination 2">
<listeners>
- <fs-listener name="fileDest02" busidref="fileMessageDestination_02" maxThreads="1" />
+ <fs-listener name="fileDest02" busidref="fileMessageDestination_02"/>
</listeners>
<actions mep="OneWay">
<action name="doThis" class="org.jboss.soa.esb.samples.quickstart.staticrouter.SimpleFileAction">
@@ -110,7 +108,7 @@
name="service03"
description="Static route destination 3">
<listeners>
- <fs-listener name="fileDest03" busidref="fileMessageDestination_03" maxThreads="1" />
+ <fs-listener name="fileDest03" busidref="fileMessageDestination_03"/>
</listeners>
<actions mep="OneWay">
<action name="doThis" class="org.jboss.soa.esb.samples.quickstart.staticrouter.SimpleFileAction">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_CSV2XML/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_CSV2XML/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_CSV2XML/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -20,8 +20,8 @@
<service category="QuickstartTransformCSV" name="SimpleListener" description="Hello World">
<listeners>
- <jms-listener name="CSVJMS-Gateway" busidref="quickstartCSVGwChannel" maxThreads="1" is-gateway="true"/>
- <jms-listener name="CSVquickstart" busidref="quickstartCSVEsbChannel" maxThreads="1" />
+ <jms-listener name="CSVJMS-Gateway" busidref="quickstartCSVGwChannel" is-gateway="true"/>
+ <jms-listener name="CSVquickstart" busidref="quickstartCSVEsbChannel"/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -20,8 +20,8 @@
<service category="FirstServiceESB" name="SimpleListener"
description="Hello World">
<listeners>
- <jms-listener name="JMS-Gateway" busidref="quickstartGwChannel" maxThreads="1" is-gateway="true"/>
- <jms-listener name="quickstart" busidref="quickstartEsbChannel" maxThreads="1" />
+ <jms-listener name="JMS-Gateway" busidref="quickstartGwChannel" is-gateway="true"/>
+ <jms-listener name="quickstart" busidref="quickstartEsbChannel"/>
</listeners>
<actions mep="OneWay">
<action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2POJO/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2POJO/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2POJO/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -27,12 +27,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="jmsTransformer"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2POJO2/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2POJO2/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2POJO2/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -27,12 +27,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="jmsTransformer"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="RequestResponse">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2XML_date_manipulation/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2XML_date_manipulation/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2XML_date_manipulation/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -21,8 +21,8 @@
<service category="FirstServiceESB" name="SimpleListener"
description="Hello World">
<listeners>
- <jms-listener name="JMS-Gateway" busidref="quickstartGwChannel" maxThreads="1" is-gateway="true"/>
- <jms-listener name="quickstart" busidref="quickstartEsbChannel" maxThreads="1"/>
+ <jms-listener name="JMS-Gateway" busidref="quickstartGwChannel" is-gateway="true"/>
+ <jms-listener name="quickstart" busidref="quickstartEsbChannel"/>
</listeners>
<actions mep="OneWay">
<action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2XML_simple/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2XML_simple/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2XML_simple/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -20,8 +20,8 @@
<service category="FirstServiceESB" name="SimpleListener"
description="Hello World">
<listeners>
- <jms-listener name="JMS-Gateway" busidref="quickstartGwChannel" maxThreads="1" is-gateway="true"/>
- <jms-listener name="quickstart" busidref="quickstartEsbChannel" maxThreads="1" />
+ <jms-listener name="JMS-Gateway" busidref="quickstartGwChannel" is-gateway="true"/>
+ <jms-listener name="quickstart" busidref="quickstartEsbChannel"/>
</listeners>
<actions mep="OneWay">
<action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2XML_stream/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2XML_stream/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/transform_XML2XML_stream/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -3,10 +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="quickstartGwChannel">
<jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_transform_stream_gw" />
@@ -27,8 +24,8 @@
<service category="FirstServiceESB" name="SimpleListener"
description="Hello World">
<listeners>
- <jms-listener name="JMS-Gateway" busidref="quickstartGwChannel" maxThreads="1" is-gateway="true"/>
- <jms-listener name="quickstart" busidref="quickstartEsbChannel" maxThreads="1" />
+ <jms-listener name="JMS-Gateway" busidref="quickstartGwChannel" is-gateway="true"/>
+ <jms-listener name="quickstart" busidref="quickstartEsbChannel"/>
</listeners>
<actions mep="OneWay">
<action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln">
@@ -45,7 +42,7 @@
<service category="FirstServiceESB" name="SendToJMSQueue" description="Routes the ESB Message to a JMS Queue">
<listeners>
- <jms-listener name="jmsRouterListener" busidref="quickstartEsbChannel2" maxThreads="1" />
+ <jms-listener name="jmsRouterListener" busidref="quickstartEsbChannel2"/>
</listeners>
<actions mep="OneWay">
<action name="Router" class="org.jboss.soa.esb.actions.routing.JMSRouter">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/two_servers/jboss-esb.xml.first
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/two_servers/jboss-esb.xml.first 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/two_servers/jboss-esb.xml.first 2008-07-25 13:51:04 UTC (rev 21223)
@@ -30,12 +30,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="helloWorld"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/two_servers/jboss-esb.xml.second
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/two_servers/jboss-esb.xml.second 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/two_servers/jboss-esb.xml.second 2008-07-25 13:51:04 UTC (rev 21223)
@@ -30,12 +30,10 @@
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
<jms-listener name="helloWorld"
busidref="quickstartEsbChannel"
- maxThreads="1"
/>
</listeners>
<actions mep="OneWay">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_bpel/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_bpel/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_bpel/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -62,11 +62,11 @@
<service category="ABI_OrderManager" name="ABI_OrderManager" description="ABI OrderManager Service">
<listeners>
- <jms-listener name="JMS-Gateway" busidref="OrderManagerGateway" is-gateway="true" maxThreads="1"/>
- <jbr-listener name="Http-Gateway" busidref="Http-1" is-gateway="true" maxThreads="1"/>
- <jbr-listener name="Socket-Gateway" busidref="Socket-1" is-gateway="true" maxThreads="1"/>
+ <jms-listener name="JMS-Gateway" busidref="OrderManagerGateway" is-gateway="true"/>
+ <jbr-listener name="Http-Gateway" busidref="Http-1" is-gateway="true"/>
+ <jbr-listener name="Socket-Gateway" busidref="Socket-1" is-gateway="true"/>
- <jms-listener name="JMS-ESBListener" busidref="OrderManagerService" maxThreads="1"/>
+ <jms-listener name="JMS-ESBListener" busidref="OrderManagerService"/>
</listeners>
<actions>
<action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln">
@@ -86,16 +86,16 @@
<service category="ABI_Shipper" name="ABI_Shipper" description="ABI Shipper Service">
<listeners>
- <jbr-listener name="Http-Gateway" busidref="Http-2" is-gateway="true" maxThreads="1"/>
+ <jbr-listener name="Http-Gateway" busidref="Http-2" is-gateway="true"/>
- <jms-listener name="JMS-ESBListener" busidref="ShipperService" maxThreads="1"/>
+ <jms-listener name="JMS-ESBListener" busidref="ShipperService"/>
</listeners>
<actions>
<action name="print-before-transform" class="org.jboss.soa.esb.actions.SystemPrintln">
<property name="message" value="[Quickstart_webservice_bpel] Message before transforming to fix orderNumber namespace"/>
</action>
- <action name="fixup--order-namespace" class="org.jboss.soa.esb.actions.converters.SmooksTransformer">
- <property name="resource-config" value="/org/jboss/esb/quickstarts/bpel/transforms/order-num-ns-fixup.xml"/>
+ <action name="fixup--order-namespace" class="org.jboss.soa.esb.smooks.SmooksAction">
+ <property name="smooksConfig" value="/org/jboss/esb/quickstarts/bpel/transforms/order-num-ns-fixup.xml"/>
</action>
<action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln">
<property name="message" value="[Quickstart_webservice_bpel] Message before invoking 'ABI_Shipping' endpoint"/>
@@ -119,9 +119,9 @@
<actions>
<!-- Transform the incoming CSV order approval record into a populated
com.activebpel.ordermanagement.SalesOrderNotification instance. -->
- <action name="message-populator" 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="message-populator" class="org.jboss.soa.esb.smooks.SmooksAction">
+ <property name="smooksConfig" value="/smooks-res.xml" />
+ <property name="resultType" value="JAVA" />
</action>
<action name="print-after-transform" class="org.jboss.soa.esb.actions.SystemPrintln">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_bpel/readme.txt
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_bpel/readme.txt 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_bpel/readme.txt 2008-07-25 13:51:04 UTC (rev 21223)
@@ -23,22 +23,20 @@
and a more detailed descripton of the different ways to run the quickstarts.
Note, this quickstart requires an ESB and JBossWS installation into
- JBoss AS 4.2.1.GA. Installation instructions for both can be found in the
+ JBoss AS 4.2.2.GA. Installation instructions for both can be found in the
install/readme.txt.
NOTE: This Quickstart DOES NOT run Standalone, or on the ESB Server. It only runs on the
JBoss Application Server (v4.2.xGA).
- The ActiveBPEL Engine (v3.1) must now be installed on an instance of Tomcat on your
- system. The processes in this Quickstart are pre-built to run on version 3.1 of
- the ActiveBPEl Engine. If you are running on a newer version of the ActiveBPEL
- Engine, you may need to redeploy these processes.
+ The ActiveBPEL Engine (tested with versions v3.1 and v5.0.2) must now be installed on an
+ instance of Tomcat on your system.
- Version 3.1 of the ActiveBpel Engine can be downloaded from:
- http://www.active-endpoints.com/active-bpel-engine-download.htm#final31
+ Tthe ActiveBPEL Engine can be downloaded from:
+ http://www.activevos.com/community-open-source.php
ActiveBPEL Installation Guide:
- http://www.active-endpoints.com/installation-guide.htm
+ After downloading the distribution, unzip and locate all documentation in the docs folder.
Setting up ActiveBPEL:
1. Ensure that the value of the 'directory' attribute on the
@@ -52,25 +50,32 @@
listen for HTTP traffic on port 18080. See
'${env.CATALINA_HOME}/conf/server.xml'.
4. Start your Tomcat deployment at '${env.CATALINA_HOME}'.
- 5. Goto 'Deployed Processes' on the BPEL Console
- (http://localhost:18080/BpelAdmin) and confirm that the 'Customer' and
- 'OrderProcess' BPEL processes are deployed.
+ 5. Goto the ActiveBPEL Console (http://localhost:18080/BpelAdmin) and confirm
+ it displays.
+ 6. In the run.bat/run.sh start script for your JBoss Appllication Server,
+ set the Permanent Generation space size by adding the following to the
+ "JAVA_OPTS" setting:
+ -XX:MaxPermSize=128m
+ 7. Restart your JBoss Application Server.
To Run:
=======
- 1. In a command terminal window in this folder, type 'ant deploy'.
- 2. Start your favorite SOAP client (e.g. SOAPUI) and load the
- 'RetailerService' WSDL (http://localhost:18080/active-bpel/services/RetailerService?wsdl).
- 3. Load the SOAP client (RetailerServiceBinding/SubmitOrder) with the sample order in
- 'bpel/resources/sampleData/submit-order-01.xml'.
- 4. Submit the new order using the SOAP UI client.
- 5. View the state of the new process in 'Active Processes' on the BPEL
- Console. Will appear as 'Running'.
- 6. Drill into the 'Running' OrderProcess process (select it).
- 7. Drill down, you will see that the process is waiting on an
- acknowledgement/notification from the OrderManager service
- (WaitForNotificationFromOrderManager).
- 8 Goto http://localhost:8080/order-manager/ (note, not port '18080').
- From here, you can approve the order.
- 9. When finished, undeploy the application by typing 'ant undeploy'.
+ 1. In a command terminal window in this folder, type 'ant deploy'.
+ 2. Goto 'Deployed Processes' on the BPEL Console
+ (http://localhost:18080/BpelAdmin) and confirm that the 'Customer' and
+ 'OrderProcess' BPEL processes are deployed.
+ 3. Start your favorite SOAP client (e.g. SOAPUI) and load the
+ 'RetailerService' WSDL (http://localhost:18080/active-bpel/services/RetailerService?wsdl).
+ 4. Load the SOAP client (RetailerServiceBinding/SubmitOrder) with the sample order in
+ 'bpel/resources/sampleData/submit-order-01.xml'.
+ 5. Submit the new order using the SOAP UI client.
+ 6. View the state of the new process in 'Active Processes' on the BPEL
+ Console. Will appear as 'Running'.
+ 7. Drill into the 'Running' OrderProcess process (select it).
+ 8. Drill down, you will see that the process is waiting on an
+ acknowledgement/notification from the OrderManager service
+ (WaitForNotificationFromOrderManager).
+ 9. Goto http://localhost:8080/order-manager/ (note, not port '18080').
+ From here, you can approve the order.
+ 10. When finished, undeploy the application by typing 'ant undeploy'.
\ No newline at end of file
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_bpel/smooks-res.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_bpel/smooks-res.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_bpel/smooks-res.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -17,12 +17,12 @@
<!--
Suck the order number out of the CSV record and into the SalesOrderNotification bean.
-->
- <resource-config selector="csv-record orderNum">
+ <resource-config selector="csv-record/orderNum">
<resource>org.milyn.javabean.BeanPopulator</resource>
<param name="beanId">salesOrderNotification</param>
<param name="beanClass">com.activebpel.ordermanagement.SalesOrderNotification</param>
<param name="bindings">
- <binding property="orderNumber" selector="csv-record orderNum" />
+ <binding property="orderNumber" selector="csv-record/orderNum" />
</param>
</resource-config>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/transforms/OrderNumNSModifier.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/transforms/OrderNumNSModifier.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/transforms/OrderNumNSModifier.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -20,6 +20,7 @@
package org.jboss.esb.quickstarts.bpel.transforms;
import org.milyn.delivery.dom.DOMElementVisitor;
+import org.milyn.delivery.dom.DOMVisitAfter;
import org.milyn.container.ExecutionContext;
import org.milyn.SmooksException;
import org.milyn.xml.DomUtils;
@@ -31,20 +32,15 @@
/**
* <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
*/
-public class OrderNumNSModifier implements DOMElementVisitor {
-
- public void setConfiguration(SmooksResourceConfiguration smooksResourceConfiguration) throws SmooksConfigurationException {
- }
+public class OrderNumNSModifier implements DOMVisitAfter {
- public void visitBefore(Element element, ExecutionContext executionContext) throws SmooksException {
- }
-
public void visitAfter(Element element, ExecutionContext executionContext) throws SmooksException {
Element newOrderNumElement = element.getOwnerDocument().createElementNS(OrderManagerService.Namespace, "ord_manager:orderNumber");
newOrderNumElement.setTextContent(element.getTextContent());
newOrderNumElement.setAttribute("xmlns:ord_manager", OrderManagerService.Namespace);
+ System.out.println("**** Fixing up the Order Manager namespace on the orderNumber element.");
DomUtils.replaceNode(newOrderNumElement, element);
}
}
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer1/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer1/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer1/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -26,10 +26,9 @@
description="Helloworld Webservice Consumer">
<listeners>
<jms-listener name="JMS-ESBListener"
- busidref="quickstartEsbChannel" maxThreads="1" />
+ busidref="quickstartEsbChannel"/>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer2/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer2/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer2/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -25,10 +25,9 @@
description="Order Processor Webservice Consumer">
<listeners>
<jms-listener name="JMS-ESBListener"
- busidref="quickstartEsbChannel" maxThreads="1" />
+ busidref="quickstartEsbChannel"/>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
- maxThreads="1"
is-gateway="true"
/>
</listeners>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/.ant-targets-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/.ant-targets-build.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/.ant-targets-build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,10 +0,0 @@
-Quickstart_webservice_consumer_wise
-clean
-deploy
-deploy-jms-dests
-help
-help-quickstarts
-makewar
-run
-undeploy
-undeploy-jms-dests
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/.ant-targets-build.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/.ant-targets-build.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/.ant-targets-build.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/.ant-targets-build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,10 @@
+Quickstart_webservice_consumer_wise
+clean
+deploy
+deploy-jms-dests
+help
+help-quickstarts
+makewar
+run
+undeploy
+undeploy-jms-dests
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/build.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,74 +0,0 @@
-<project name="Quickstart_webservice_consumer_wise" default="deploy" basedir=".">
-
- <description>
- ${ant.project.name}
- ${line.separator}
- </description>
-
- <property name="additional.deploys" value="wise-core.properties" />
-
- <!-- Import the base Ant build script... -->
- <import file="../conf/base-build.xml"/>
-
-
- <property name="war.build.dir" location="${build.dir}/war/classes"/>
-
-
- <target name="quickstart-specific-checks" depends="assert-ws-available"/>
-
- <target name="quickstart-specific-assemblies" depends="makewar"/>
-
- <target name="makewar" description="make war">
- <!-- Compile... -->
- <mkdir dir="${war.build.dir}" />
- <javac srcdir="war/src" destdir="${war.build.dir}" debug="true">
- <classpath>
- <path refid="compile-classpath" />
- <fileset dir="war/lib/ext" includes="*.jar" />
- </classpath>
- </javac>
-
- <!-- War... -->
- <war warfile="build/${ant.project.name}.war"
- webxml="${basedir}/war/resources/WEB-INF/web.xml">
- <webinf dir="${basedir}/war/resources/WEB-INF">
- <include name="jboss-web.xml"/>
- </webinf>
- <classes dir="${war.build.dir}" includes="**/*.class"/>
- <fileset dir="${basedir}/war/view">
- <include name="**/*"/>
- </fileset>
- <classes dir="${basedir}">
- <include name="juddi.properties"/>
- </classes>
- </war>
- </target>
-
- <target name="deploy-war" depends="prepare-deployment">
- <copy todir="${org.jboss.esb.server.deploy.dir}"
- file="${build.dir}/${ant.project.name}.war"/>
- </target>
-
- <target name="undeploy-war" depends="dependencies">
- <delete verbose="true" quiet="true"
- file="${org.jboss.esb.server.deploy.dir}/${ant.project.name}.war"/>
- </target>
-
- <target name="sendjms" depends="compile">
- <echo>Send ESB message that triggers webservice call</echo>
- <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.test.SendJMSMessage" failonerror="true">
- <arg value="Jimbo"/>
- <classpath refid="exec-classpath"/>
- </java>
-
- </target>
-
- <target name="runtest" depends="compile">
- <echo>Send ESB message that triggers webservice call</echo>
- <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.test.SendEsbMessage" failonerror="true">
- <arg value="Jimbo"/>
- <classpath refid="exec-classpath"/>
- </java>
- </target>
-
-</project>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/build.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/build.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/build.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,74 @@
+<project name="Quickstart_webservice_consumer_wise" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="additional.deploys" value="wise-core.properties" />
+
+ <!-- Import the base Ant build script... -->
+ <import file="../conf/base-build.xml"/>
+
+
+ <property name="war.build.dir" location="${build.dir}/war/classes"/>
+
+
+ <target name="quickstart-specific-checks" depends="assert-ws-available"/>
+
+ <target name="quickstart-specific-assemblies" depends="makewar"/>
+
+ <target name="makewar" description="make war">
+ <!-- Compile... -->
+ <mkdir dir="${war.build.dir}" />
+ <javac srcdir="war/src" destdir="${war.build.dir}" debug="true">
+ <classpath>
+ <path refid="compile-classpath" />
+ <fileset dir="war/lib/ext" includes="*.jar" />
+ </classpath>
+ </javac>
+
+ <!-- War... -->
+ <war warfile="build/${ant.project.name}.war"
+ webxml="${basedir}/war/resources/WEB-INF/web.xml">
+ <webinf dir="${basedir}/war/resources/WEB-INF">
+ <include name="jboss-web.xml"/>
+ </webinf>
+ <classes dir="${war.build.dir}" includes="**/*.class"/>
+ <fileset dir="${basedir}/war/view">
+ <include name="**/*"/>
+ </fileset>
+ <classes dir="${basedir}">
+ <include name="juddi.properties"/>
+ </classes>
+ </war>
+ </target>
+
+ <target name="deploy-war" depends="prepare-deployment">
+ <copy todir="${org.jboss.esb.server.deploy.dir}"
+ file="${build.dir}/${ant.project.name}.war"/>
+ </target>
+
+ <target name="undeploy-war" depends="dependencies">
+ <delete verbose="true" quiet="true"
+ file="${org.jboss.esb.server.deploy.dir}/${ant.project.name}.war"/>
+ </target>
+
+ <target name="sendjms" depends="compile">
+ <echo>Send ESB message that triggers webservice call</echo>
+ <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.test.SendJMSMessage" failonerror="true">
+ <arg value="Jimbo"/>
+ <classpath refid="exec-classpath"/>
+ </java>
+
+ </target>
+
+ <target name="runtest" depends="compile">
+ <echo>Send ESB message that triggers webservice call</echo>
+ <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.test.SendEsbMessage" failonerror="true">
+ <arg value="Jimbo"/>
+ <classpath refid="exec-classpath"/>
+ </java>
+ </target>
+
+</project>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/deployment.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/deployment.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/deployment.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,7 +0,0 @@
-<jbossesb-deployment>
- <depends>jboss.esb:deployment=soap.esb</depends>
- <depends>jboss.esb:service=SoapUIClientService</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise_esb</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise_esb_reply</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise_Request_gw</depends>
-</jbossesb-deployment>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/deployment.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/deployment.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/deployment.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/deployment.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,7 @@
+<jbossesb-deployment>
+ <depends>jboss.esb:deployment=soap.esb</depends>
+ <depends>jboss.esb:service=SoapUIClientService</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise_esb_reply</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise_Request_gw</depends>
+</jbossesb-deployment>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/jbm-queue-service.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbm-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,21 +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_webservice_consumer_wise_esb"
- 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_webservice_consumer_wise_esb_reply"
- 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_webservice_consumer_wise_Request_gw"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-</server>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbm-queue-service.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/jbm-queue-service.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbm-queue-service.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbm-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,21 @@
+<?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_webservice_consumer_wise_esb"
+ 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_webservice_consumer_wise_esb_reply"
+ 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_webservice_consumer_wise_Request_gw"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbmq-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/jbmq-queue-service.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbmq-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,21 +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_webservice_consumer_wise_esb">
- <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_webservice_consumer_wise_esb_reply">
- <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_webservice_consumer_wise_Request_gw">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
-</server>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbmq-queue-service.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/jbmq-queue-service.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbmq-queue-service.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbmq-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,21 @@
+<?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_webservice_consumer_wise_esb">
+ <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_webservice_consumer_wise_esb_reply">
+ <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_webservice_consumer_wise_Request_gw">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+</server>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/jboss-esb.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,61 +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"
- parameterReloadSecs="5">
-
- <providers>
- <jms-provider name="JBossMQ"
- connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
- <jms-bus busid="quickstartGwChannel">
- <jms-message-filter
- dest-type="QUEUE"
- dest-name="queue/quickstart_webservice_consumer_wise_Request_gw"
- />
- </jms-bus>
-
- <jms-bus busid="quickstartEsbChannel">
- <jms-message-filter dest-type="QUEUE"
- dest-name="queue/quickstart_webservice_consumer_wise_esb" />
- </jms-bus>
-
- </jms-provider>
- </providers>
-
- <services>
- <service category="MyServiceCategory" name="Webserviceconsumer_wise"
- description="Helloworld Webservice Consumer">
- <listeners>
- <jms-listener name="JMS-ESBListener"
- busidref="quickstartEsbChannel"/>
- <jms-listener name="JMS-Gateway"
- busidref="quickstartGwChannel"
- is-gateway="true"
- />
-
- </listeners>
- <actions mep="OneWay">
- <action name="request-mapper"
- class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.MyRequestAction">
- </action>
- <action name="soapui-client-action"
- class="org.jboss.soa.esb.actions.soap.wise.SOAPClient">
- <property name="wsdl"
- value="http://127.0.0.1:8080/Quickstart_webservice_consumer_wise/HelloWorldWS?wsdl" />
- <property name="SOAPAction" value="sayHello"/>
- <property name="EndPointName" value="HelloWorldPort"/>
-
- <property name="serviceName" value="HelloWorldWS"/>
- <property name="userName" value=""/>
- <property name="password" value=""/>
- </action>
- <action name="response-mapper"
- class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.MyResponseAction">
- </action>
- <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
- </actions>
- </service>
- </services>
-
-</jbossesb>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jboss-esb.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/jboss-esb.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jboss-esb.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,61 @@
+<?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"
+ parameterReloadSecs="5">
+
+ <providers>
+ <jms-provider name="JBossMQ"
+ connection-factory="ConnectionFactory"
+ jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
+ jndi-URL="localhost">
+ <jms-bus busid="quickstartGwChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_webservice_consumer_wise_Request_gw"
+ />
+ </jms-bus>
+
+ <jms-bus busid="quickstartEsbChannel">
+ <jms-message-filter dest-type="QUEUE"
+ dest-name="queue/quickstart_webservice_consumer_wise_esb" />
+ </jms-bus>
+
+ </jms-provider>
+ </providers>
+
+ <services>
+ <service category="MyServiceCategory" name="Webserviceconsumer_wise"
+ description="Helloworld Webservice Consumer">
+ <listeners>
+ <jms-listener name="JMS-ESBListener"
+ busidref="quickstartEsbChannel"/>
+ <jms-listener name="JMS-Gateway"
+ busidref="quickstartGwChannel"
+ is-gateway="true"
+ />
+
+ </listeners>
+ <actions mep="OneWay">
+ <action name="request-mapper"
+ class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.MyRequestAction">
+ </action>
+ <action name="soapui-client-action"
+ class="org.jboss.soa.esb.actions.soap.wise.SOAPClient">
+ <property name="wsdl"
+ value="http://127.0.0.1:8080/Quickstart_webservice_consumer_wise/HelloWorldWS?wsdl" />
+ <property name="SOAPAction" value="sayHello"/>
+ <property name="EndPointName" value="HelloWorldPort"/>
+
+ <property name="serviceName" value="HelloWorldWS"/>
+ <property name="userName" value=""/>
+ <property name="password" value=""/>
+ </action>
+ <action name="response-mapper"
+ class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.MyResponseAction">
+ </action>
+ <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
+ </actions>
+ </service>
+ </services>
+
+</jbossesb>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbossesb-properties.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/jbossesb-properties.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbossesb-properties.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,84 +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/jbossesb"/>
- <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"/>
- </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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbossesb-properties.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/jbossesb-properties.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbossesb-properties.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jbossesb-properties.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,84 @@
+<?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/jbossesb"/>
+ <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"/>
+ </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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jndi.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/jndi.properties 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jndi.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jndi.properties (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/jndi.properties)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jndi.properties (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/jndi.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/juddi.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/juddi.properties 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/juddi.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/juddi.properties (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/juddi.properties)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/juddi.properties (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/juddi.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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
+
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/lib (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/lib)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/listener.log
===================================================================
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/listener.log (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/listener.log)
===================================================================
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/log4j.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/log4j.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/log4j.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,78 +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="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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/log4j.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/log4j.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/log4j.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/log4j.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,78 @@
+<?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="quickstart">
+ <priority value="INFO"/>
+ </category>
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/readme.txt 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/readme.txt 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,92 +0,0 @@
-Overview:
-=========
- This example demonstrates how to consume a 181 Web Service in an ESB action.
- This ESB will make a webservice request that requires a single "toWhom" string parameter.
- The webservice will return a greeting response. The ESB simply dislays the response on the
- console.
-
-Running this quickstart:
-========================
- Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts and a
- more detailed descripton of the different ways to run the quickstarts.
-
-To Run standalone mode:
-=======================
- This quickstart will not currently run in standalone mode.
-
-To Run '.esb' archive mode:
-===========================
- 1. In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
- 1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.
- 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
-
- 'runtest' target description:
- In a separate command prompt window, run "ant runtest" to shoot a JMS message
- into the listener which will then invoke the MyJMSListenerAction and display
- it to the console. You can modify the build.xml to change the phrase
- "Hello World" to something else and re-run "ant runtest".
-
- You should output that looks like this, after running "ant runtest":
- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- 12:35:47,975 INFO [STDOUT] Request map is: {sayHello.toWhom=Jimbo}
- 12:35:47,975 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- 12:35:47,990 WARN [HttpMethodBase] Going to buffer response body of large or unknown size. Using
- getResponseBodyAsStream instead is recommended.
- 12:35:47,991 INFO [STDOUT]
- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- 12:35:47,991 INFO [STDOUT] Response Map is:
- <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
- <env:Header></env:Header>
- <env:Body>
- <hel:sayHelloResponse xmlns:hel='http://webservice_consumer1/helloworld'>
- <return>Hello World Greeting for 'Jimbo' on Sat Jul 14 12:35:47 EDT 2007</return>
- </hel:sayHelloResponse></env:Body></env:Envelope>
- 12:35:47,991 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-
-Project file descriptions:
-==========================
-
- jboss-esb.xml:
- There is no JMS gateway in this quickstart. A java client talks directly to the ESB
- listener queue called "queue/quickstart_webservice_consumer1_esb". The actions in
- jboss-esb.xml convert the ESB message into to a webservice parameter Map, make a call
- to the HelloWorldWS webservice, then print the response on the console. Both juddi.properties
- and jbossesb-properties.xml are used when the service first boots up for self-registration
- based upon the service-category and service-name found in the esb-config.xml file.
-
- jndi.properties:
- Needed primarily for org.jboss.soa.esb.samples.quickstart.webservice_consumer1.test.SendESBMessage that is fired by ant runtest.
-
- log4j.xml:
- Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
-
- src/../SendEsbMessage.java:
- Send a message directly the the ESB internal JMS listener. Demonstrates how one can bypass the
- gateway and speak directly to an ESB service.
-
- src/../MyRequestAction.java
- Convert the message body into a webservice request parameter Map that only has one paramater called
- "sayHello.toWhom" for the web service call. The request parameter map is named
- "helloworld-request-parameters".
-
- org.jboss.soa.esb.actions.soap.SOAPClient
- This class is used to make the call to the webservice. It will take the
- parameters that MyRequestAction set in "paramsLocation", call the webservice, then place
- the response in "responseLocation". This is zero Java code ESB wiring in jboss-esb.xml.
-
- src/../MyResponseAction.java
- Retrieve the webservice response and display it on the console. The response location name
- is "helloworld-response".
-
- build.xml:
- Targets and structure description:
- * the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
- front of the list
- * the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
- Usage is: ant echoCP > myclasspath.txt
- This generates a file called myclasspath.txt which can be reviewed in a text editor
- * the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and
- esb-config-gateway.xml files
- * the runtest task calls the org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage class and passes in an argument representing
- the string-based message to be pused into the queue the gateway is listening on.
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/readme.txt (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/readme.txt)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/readme.txt (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/readme.txt 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,92 @@
+Overview:
+=========
+ This example demonstrates how to consume a 181 Web Service in an ESB action.
+ This ESB will make a webservice request that requires a single "toWhom" string parameter.
+ The webservice will return a greeting response. The ESB simply dislays the response on the
+ console.
+
+Running this quickstart:
+========================
+ Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts and a
+ more detailed descripton of the different ways to run the quickstarts.
+
+To Run standalone mode:
+=======================
+ This quickstart will not currently run in standalone mode.
+
+To Run '.esb' archive mode:
+===========================
+ 1. In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
+ 1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.
+ 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
+
+ 'runtest' target description:
+ In a separate command prompt window, run "ant runtest" to shoot a JMS message
+ into the listener which will then invoke the MyJMSListenerAction and display
+ it to the console. You can modify the build.xml to change the phrase
+ "Hello World" to something else and re-run "ant runtest".
+
+ You should output that looks like this, after running "ant runtest":
+ &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+ 12:35:47,975 INFO [STDOUT] Request map is: {sayHello.toWhom=Jimbo}
+ 12:35:47,975 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+ 12:35:47,990 WARN [HttpMethodBase] Going to buffer response body of large or unknown size. Using
+ getResponseBodyAsStream instead is recommended.
+ 12:35:47,991 INFO [STDOUT]
+ &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+ 12:35:47,991 INFO [STDOUT] Response Map is:
+ <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
+ <env:Header></env:Header>
+ <env:Body>
+ <hel:sayHelloResponse xmlns:hel='http://webservice_consumer1/helloworld'>
+ <return>Hello World Greeting for 'Jimbo' on Sat Jul 14 12:35:47 EDT 2007</return>
+ </hel:sayHelloResponse></env:Body></env:Envelope>
+ 12:35:47,991 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+
+Project file descriptions:
+==========================
+
+ jboss-esb.xml:
+ There is no JMS gateway in this quickstart. A java client talks directly to the ESB
+ listener queue called "queue/quickstart_webservice_consumer1_esb". The actions in
+ jboss-esb.xml convert the ESB message into to a webservice parameter Map, make a call
+ to the HelloWorldWS webservice, then print the response on the console. Both juddi.properties
+ and jbossesb-properties.xml are used when the service first boots up for self-registration
+ based upon the service-category and service-name found in the esb-config.xml file.
+
+ jndi.properties:
+ Needed primarily for org.jboss.soa.esb.samples.quickstart.webservice_consumer1.test.SendESBMessage that is fired by ant runtest.
+
+ log4j.xml:
+ Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
+
+ src/../SendEsbMessage.java:
+ Send a message directly the the ESB internal JMS listener. Demonstrates how one can bypass the
+ gateway and speak directly to an ESB service.
+
+ src/../MyRequestAction.java
+ Convert the message body into a webservice request parameter Map that only has one paramater called
+ "sayHello.toWhom" for the web service call. The request parameter map is named
+ "helloworld-request-parameters".
+
+ org.jboss.soa.esb.actions.soap.SOAPClient
+ This class is used to make the call to the webservice. It will take the
+ parameters that MyRequestAction set in "paramsLocation", call the webservice, then place
+ the response in "responseLocation". This is zero Java code ESB wiring in jboss-esb.xml.
+
+ src/../MyResponseAction.java
+ Retrieve the webservice response and display it on the console. The response location name
+ is "helloworld-response".
+
+ build.xml:
+ Targets and structure description:
+ * the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
+ front of the list
+ * the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
+ Usage is: ant echoCP > myclasspath.txt
+ This generates a file called myclasspath.txt which can be reviewed in a text editor
+ * the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and
+ esb-config-gateway.xml files
+ * the runtest task calls the org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage class and passes in an argument representing
+ the string-based message to be pused into the queue the gateway is listening on.
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src/org)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyRequestAction.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyRequestAction.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyRequestAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,86 +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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise;
-
-import org.jboss.soa.esb.actions.AbstractActionLifecycle;
-import org.jboss.soa.esb.actions.ActionUtils;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.message.Body;
-import org.jboss.soa.esb.message.Message;
-import java.util.HashMap;
-
-public class MyRequestAction extends AbstractActionLifecycle
-{
- protected ConfigTree _config;
-
- public MyRequestAction(ConfigTree config)
- {
- _config = config;
- }
-
- public Message noOperation(Message message)
- {
- return message;
- }
-
- /*
- * Convert the message into a webservice request map.
- */
- public Message process(Message message) throws Exception
- {
- logHeader();
- String msgBody = (String) message.getBody().get();
- HashMap requestMap = new HashMap();
-
- // add paramaters to the web service request map
- requestMap.put("toWhom", msgBody);
-
- // The "paramsLocation" property was set in jboss-esb.xml to
- // "helloworld-request-parameters"
- message.getBody().add(requestMap);
- System.out.println("Request map is: " + requestMap.toString());
-
- logFooter();
- return message;
- }
-
- public void exceptionHandler(Message message, Throwable exception)
- {
- logHeader();
- System.out.println("!ERROR!");
- System.out.println(exception.getMessage());
- System.out.println("For Message: ");
- System.out.println(message.getBody().get());
- logFooter();
- }
-
- // This makes it easier to read on the console
- private void logHeader()
- {
- System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
- }
-
- private void logFooter()
- {
- System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
- }
-
-}
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyRequestAction.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyRequestAction.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyRequestAction.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyRequestAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,86 @@
+/*
+ * 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.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.actions.ActionUtils;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Body;
+import org.jboss.soa.esb.message.Message;
+import java.util.HashMap;
+
+public class MyRequestAction extends AbstractActionLifecycle
+{
+ protected ConfigTree _config;
+
+ public MyRequestAction(ConfigTree config)
+ {
+ _config = config;
+ }
+
+ public Message noOperation(Message message)
+ {
+ return message;
+ }
+
+ /*
+ * Convert the message into a webservice request map.
+ */
+ public Message process(Message message) throws Exception
+ {
+ logHeader();
+ String msgBody = (String) message.getBody().get();
+ HashMap requestMap = new HashMap();
+
+ // add paramaters to the web service request map
+ requestMap.put("toWhom", msgBody);
+
+ // The "paramsLocation" property was set in jboss-esb.xml to
+ // "helloworld-request-parameters"
+ message.getBody().add(requestMap);
+ System.out.println("Request map is: " + requestMap.toString());
+
+ logFooter();
+ return message;
+ }
+
+ public void exceptionHandler(Message message, Throwable exception)
+ {
+ logHeader();
+ System.out.println("!ERROR!");
+ System.out.println(exception.getMessage());
+ System.out.println("For Message: ");
+ System.out.println(message.getBody().get());
+ logFooter();
+ }
+
+ // This makes it easier to read on the console
+ private void logHeader()
+ {
+ System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+ }
+
+ private void logFooter()
+ {
+ System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+ }
+
+}
\ No newline at end of file
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyResponseAction.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyResponseAction.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyResponseAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,82 +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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise;
-
-import org.jboss.soa.esb.actions.AbstractActionLifecycle;
-import org.jboss.soa.esb.actions.ActionUtils;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.message.Body;
-import org.jboss.soa.esb.message.Message;
-import java.util.Map;
-
-public class MyResponseAction extends AbstractActionLifecycle
-{
- protected ConfigTree _config;
-
- public MyResponseAction(ConfigTree config)
- {
- _config = config;
- }
-
- public Message noOperation(Message message)
- {
- return message;
- }
-
- /*
- * Retrieve and output the webservice response.
- */
- public Message process(Message message) throws Exception
- {
-
- logHeader();
-
- // The "responseLocation" property was set in jboss-esb.xml to
- // "helloworld-response"
- Map responseMsg = (Map) message.getBody().get(Body.DEFAULT_LOCATION);
- System.out.println("Response Map is: " + responseMsg);
-
- logFooter();
- return message;
- }
-
- public void exceptionHandler(Message message, Throwable exception)
- {
- logHeader();
- System.out.println("!ERROR!");
- System.out.println(exception.getMessage());
- System.out.println("For Message: ");
- System.out.println(message.getBody().get());
- logFooter();
- }
-
- // This makes it easier to read on the console
- private void logHeader()
- {
- System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
- }
-
- private void logFooter()
- {
- System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
- }
-
-}
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyResponseAction.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyResponseAction.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyResponseAction.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/MyResponseAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,82 @@
+/*
+ * 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.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.actions.ActionUtils;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Body;
+import org.jboss.soa.esb.message.Message;
+import java.util.Map;
+
+public class MyResponseAction extends AbstractActionLifecycle
+{
+ protected ConfigTree _config;
+
+ public MyResponseAction(ConfigTree config)
+ {
+ _config = config;
+ }
+
+ public Message noOperation(Message message)
+ {
+ return message;
+ }
+
+ /*
+ * Retrieve and output the webservice response.
+ */
+ public Message process(Message message) throws Exception
+ {
+
+ logHeader();
+
+ // The "responseLocation" property was set in jboss-esb.xml to
+ // "helloworld-response"
+ Map responseMsg = (Map) message.getBody().get(Body.DEFAULT_LOCATION);
+ System.out.println("Response Map is: " + responseMsg);
+
+ logFooter();
+ return message;
+ }
+
+ public void exceptionHandler(Message message, Throwable exception)
+ {
+ logHeader();
+ System.out.println("!ERROR!");
+ System.out.println(exception.getMessage());
+ System.out.println("For Message: ");
+ System.out.println(message.getBody().get());
+ logFooter();
+ }
+
+ // This makes it easier to read on the console
+ private void logHeader()
+ {
+ System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+ }
+
+ private void logFooter()
+ {
+ System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+ }
+
+}
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendEsbMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendEsbMessage.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendEsbMessage.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.test;
-
-import org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPoolContainer;
-import org.jboss.soa.esb.client.ServiceInvoker;
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.esb.message.format.MessageFactory;
-import org.jboss.soa.esb.message.format.MessageType;
-
-import org.jboss.soa.esb.actions.StoreMessageToFile;
-
-public class SendEsbMessage
-{
- /*
- * Send a message directly the the ESB internal JMS listener. Demonstrates
- * how one can bypass the gateway and speak directly to an ESB service.
- */
- public void sendMessage(String message) throws Exception
- {
- // Create the delivery adapter for the target service (cache it)
- System.setProperty("javax.xml.registry.ConnectionFactoryClass",
- "org.apache.ws.scout.registry.ConnectionFactoryImpl");
-
- // Create the delivery adapter for the target service (cache it)
- ServiceInvoker deliveryAdapter = new ServiceInvoker("MyServiceCategory",
- "WebserviceConsumer_wise");
-
-
- // Create and populate the request message...
- Message requestMessage = MessageFactory.getInstance().getMessage(
- MessageType.JBOSS_XML);
-
- requestMessage.getBody().add(message);
-
- // Deliver the request message synchronously - timeout after 20
- // seconds...
- deliveryAdapter.deliverAsync(requestMessage);
- }
-
- public static void main(String args[]) throws Exception
- {
- SendEsbMessage sm = new SendEsbMessage();
- sm.sendMessage(args[0]);
- }
-
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendEsbMessage.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendEsbMessage.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendEsbMessage.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendEsbMessage.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.test;
+
+import org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPoolContainer;
+import org.jboss.soa.esb.client.ServiceInvoker;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.format.MessageFactory;
+import org.jboss.soa.esb.message.format.MessageType;
+
+import org.jboss.soa.esb.actions.StoreMessageToFile;
+
+public class SendEsbMessage
+{
+ /*
+ * Send a message directly the the ESB internal JMS listener. Demonstrates
+ * how one can bypass the gateway and speak directly to an ESB service.
+ */
+ public void sendMessage(String message) throws Exception
+ {
+ // Create the delivery adapter for the target service (cache it)
+ System.setProperty("javax.xml.registry.ConnectionFactoryClass",
+ "org.apache.ws.scout.registry.ConnectionFactoryImpl");
+
+ // Create the delivery adapter for the target service (cache it)
+ ServiceInvoker deliveryAdapter = new ServiceInvoker("MyServiceCategory",
+ "WebserviceConsumer_wise");
+
+
+ // Create and populate the request message...
+ Message requestMessage = MessageFactory.getInstance().getMessage(
+ MessageType.JBOSS_XML);
+
+ requestMessage.getBody().add(message);
+
+ // Deliver the request message synchronously - timeout after 20
+ // seconds...
+ deliveryAdapter.deliverAsync(requestMessage);
+ }
+
+ public static void main(String args[]) throws Exception
+ {
+ SendEsbMessage sm = new SendEsbMessage();
+ sm.sendMessage(args[0]);
+ }
+
+}
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendJMSMessage.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendJMSMessage.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,86 +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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.test;
-
-import java.util.Properties;
-
-import javax.jms.JMSException;
-import javax.jms.ObjectMessage;
-import javax.jms.Queue;
-import javax.jms.QueueConnection;
-import javax.jms.QueueConnectionFactory;
-import javax.jms.QueueSender;
-import javax.jms.QueueSession;
-import javax.naming.Context;
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-
-public class SendJMSMessage {
- QueueConnection conn;
- QueueSession session;
- Queue que;
-
-
- public void setupConnection() throws JMSException, NamingException
- {
- Properties properties1 = new Properties();
- properties1.put(Context.INITIAL_CONTEXT_FACTORY,
- "org.jnp.interfaces.NamingContextFactory");
- properties1.put(Context.URL_PKG_PREFIXES,
- "org.jboss.naming:org.jnp.interfaces");
- properties1.put(Context.PROVIDER_URL, "jnp://127.0.0.1:1099");
- InitialContext iniCtx = new InitialContext(properties1);
-
- Object tmp = iniCtx.lookup("ConnectionFactory");
- QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
- conn = qcf.createQueueConnection();
- que = (Queue) iniCtx.lookup("queue/quickstart_webservice_consumer1_Request_gw");
- session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
- conn.start();
- System.out.println("Connection Started");
- }
-
- public void stop() throws JMSException
- {
- conn.stop();
- session.close();
- conn.close();
- }
-
- public void sendAMessage(String msg) throws JMSException {
-
- QueueSender send = session.createSender(que);
- ObjectMessage tm = session.createObjectMessage(msg);
- send.send(tm);
- send.close();
- }
-
-
- public static void main(String args[]) throws Exception
- {
- SendJMSMessage sm = new SendJMSMessage();
- sm.setupConnection();
- sm.sendAMessage(args[0]);
- sm.stop();
-
- }
-
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendJMSMessage.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendJMSMessage.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendJMSMessage.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise/test/SendJMSMessage.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,86 @@
+/*
+ * 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.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise.test;
+
+import java.util.Properties;
+
+import javax.jms.JMSException;
+import javax.jms.ObjectMessage;
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.QueueSender;
+import javax.jms.QueueSession;
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+
+public class SendJMSMessage {
+ QueueConnection conn;
+ QueueSession session;
+ Queue que;
+
+
+ public void setupConnection() throws JMSException, NamingException
+ {
+ Properties properties1 = new Properties();
+ properties1.put(Context.INITIAL_CONTEXT_FACTORY,
+ "org.jnp.interfaces.NamingContextFactory");
+ properties1.put(Context.URL_PKG_PREFIXES,
+ "org.jboss.naming:org.jnp.interfaces");
+ properties1.put(Context.PROVIDER_URL, "jnp://127.0.0.1:1099");
+ InitialContext iniCtx = new InitialContext(properties1);
+
+ Object tmp = iniCtx.lookup("ConnectionFactory");
+ QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
+ conn = qcf.createQueueConnection();
+ que = (Queue) iniCtx.lookup("queue/quickstart_webservice_consumer1_Request_gw");
+ session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+ conn.start();
+ System.out.println("Connection Started");
+ }
+
+ public void stop() throws JMSException
+ {
+ conn.stop();
+ session.close();
+ conn.close();
+ }
+
+ public void sendAMessage(String msg) throws JMSException {
+
+ QueueSender send = session.createSender(que);
+ ObjectMessage tm = session.createObjectMessage(msg);
+ send.send(tm);
+ send.close();
+ }
+
+
+ public static void main(String args[]) throws Exception
+ {
+ SendJMSMessage sm = new SendJMSMessage();
+ sm.setupConnection();
+ sm.sendAMessage(args[0]);
+ sm.stop();
+
+ }
+
+}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/lib (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/lib)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/lib/ext (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/lib/ext)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/lib/ext/jbossws-client.jar
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/lib/ext/jbossws-client.jar (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/lib/ext/jbossws-client.jar)
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/resources)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/classes (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/classes)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/lib (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/lib)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/web.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/web.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/web.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,15 +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>HelloWorldWS</servlet-name>
- <servlet-class>org.jboss.soa.esb.samples.quickstart.webservice_consumer1.HelloWorldWS</servlet-class>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>HelloWorldWS</servlet-name>
- <url-pattern>/HelloWorldWS</url-pattern>
- </servlet-mapping>
-
-</web-app>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/web.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/web.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/web.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/resources/WEB-INF/web.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,15 @@
+<?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>HelloWorldWS</servlet-name>
+ <servlet-class>org.jboss.soa.esb.samples.quickstart.webservice_consumer1.HelloWorldWS</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>HelloWorldWS</servlet-name>
+ <url-pattern>/HelloWorldWS</url-pattern>
+ </servlet-mapping>
+
+</web-app>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/src)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/src/org)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1 (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,40 +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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer1;
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-import javax.jws.soap.SOAPBinding;
-import javax.jws.WebParam;
-
- at WebService(name = "HelloWorld", targetNamespace = "http://webservice_consumer_wise/helloworld")
-public class HelloWorldWS {
- @WebMethod
- public String sayHello(@WebParam(name = "toWhom")
- String toWhom) {
-
- String greeting = "Hello World Greeting for '" + toWhom + "' on "
- + new java.util.Date();
-
- return greeting;
-
- }
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,40 @@
+/*
+ * 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.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer1;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.jws.WebParam;
+
+ at WebService(name = "HelloWorld", targetNamespace = "http://webservice_consumer_wise/helloworld")
+public class HelloWorldWS {
+ @WebMethod
+ public String sayHello(@WebParam(name = "toWhom")
+ String toWhom) {
+
+ String greeting = "Hello World Greeting for '" + toWhom + "' on "
+ + new java.util.Date();
+
+ return greeting;
+
+ }
+}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/view (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/view)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/view/index.jsp
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/view/index.jsp 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/view/index.jsp 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/view/index.jsp (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/war/view/index.jsp)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/view/index.jsp (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/war/view/index.jsp 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/wise-core.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/wise-core.properties 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/wise-core.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,4 +0,0 @@
-wise.tmpDir=/home/oracle/wise
-wise.forceImportObject=true
-wise.keepGeneratedSources=true
-wise.wsImporter.verbose=true
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/wise-core.properties (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise/wise-core.properties)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/wise-core.properties (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise/wise-core.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,4 @@
+wise.tmpDir=/home/oracle/wise
+wise.forceImportObject=true
+wise.keepGeneratedSources=true
+wise.wsImporter.verbose=true
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2 (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/.ant-targets-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/.ant-targets-build.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/.ant-targets-build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,10 +0,0 @@
-Quickstart_webservice_consumer_wise2
-clean
-deploy
-deploy-jms-dests
-help
-help-quickstarts
-makewar
-run
-undeploy
-undeploy-jms-dests
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/.ant-targets-build.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/.ant-targets-build.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/.ant-targets-build.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/.ant-targets-build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,10 @@
+Quickstart_webservice_consumer_wise2
+clean
+deploy
+deploy-jms-dests
+help
+help-quickstarts
+makewar
+run
+undeploy
+undeploy-jms-dests
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/build.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,74 +0,0 @@
-<project name="Quickstart_webservice_consumer_wise2" default="deploy" basedir=".">
-
- <description>
- ${ant.project.name}
- ${line.separator}
- </description>
-
- <property name="additional.deploys" value="wise-core.properties,smooks-config-XMLGregorianCalendar.xml,smooks-response-config.xml" />
-
- <!-- Import the base Ant build script... -->
- <import file="../conf/base-build.xml"/>
-
-
- <property name="war.build.dir" location="${build.dir}/war/classes"/>
-
-
- <target name="quickstart-specific-checks" depends="assert-ws-available"/>
-
- <target name="quickstart-specific-assemblies" depends="makewar"/>
-
- <target name="makewar" description="make war">
- <!-- Compile... -->
- <mkdir dir="${war.build.dir}" />
- <javac srcdir="war/src" destdir="${war.build.dir}" debug="true">
- <classpath>
- <path refid="compile-classpath" />
- <fileset dir="war/lib/ext" includes="*.jar" />
- </classpath>
- </javac>
-
- <!-- War... -->
- <war warfile="build/${ant.project.name}.war"
- webxml="${basedir}/war/resources/WEB-INF/web.xml">
- <webinf dir="${basedir}/war/resources/WEB-INF">
- <include name="jboss-web.xml"/>
- </webinf>
- <classes dir="${war.build.dir}" includes="**/*.class"/>
- <fileset dir="${basedir}/war/view">
- <include name="**/*"/>
- </fileset>
- <classes dir="${basedir}">
- <include name="juddi.properties"/>
- </classes>
- </war>
- </target>
-
- <target name="deploy-war" depends="prepare-deployment">
- <copy todir="${org.jboss.esb.server.deploy.dir}"
- file="${build.dir}/${ant.project.name}.war"/>
- </target>
-
- <target name="undeploy-war" depends="dependencies">
- <delete verbose="true" quiet="true"
- file="${org.jboss.esb.server.deploy.dir}/${ant.project.name}.war"/>
- </target>
-
- <target name="sendjms" depends="compile">
- <echo>Send ESB message that triggers webservice call</echo>
- <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.test.SendJMSMessage" failonerror="true">
- <arg value="Jimbo"/>
- <classpath refid="exec-classpath"/>
- </java>
-
- </target>
-
- <target name="runtest" depends="compile">
- <echo>Send ESB message that triggers webservice call</echo>
- <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.test.SendEsbMessage" failonerror="true">
- <arg value="Jimbo"/>
- <classpath refid="exec-classpath"/>
- </java>
- </target>
-
-</project>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/build.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/build.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/build.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,74 @@
+<project name="Quickstart_webservice_consumer_wise2" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="additional.deploys" value="wise-core.properties,smooks-config-XMLGregorianCalendar.xml,smooks-response-config.xml" />
+
+ <!-- Import the base Ant build script... -->
+ <import file="../conf/base-build.xml"/>
+
+
+ <property name="war.build.dir" location="${build.dir}/war/classes"/>
+
+
+ <target name="quickstart-specific-checks" depends="assert-ws-available"/>
+
+ <target name="quickstart-specific-assemblies" depends="makewar"/>
+
+ <target name="makewar" description="make war">
+ <!-- Compile... -->
+ <mkdir dir="${war.build.dir}" />
+ <javac srcdir="war/src" destdir="${war.build.dir}" debug="true">
+ <classpath>
+ <path refid="compile-classpath" />
+ <fileset dir="war/lib/ext" includes="*.jar" />
+ </classpath>
+ </javac>
+
+ <!-- War... -->
+ <war warfile="build/${ant.project.name}.war"
+ webxml="${basedir}/war/resources/WEB-INF/web.xml">
+ <webinf dir="${basedir}/war/resources/WEB-INF">
+ <include name="jboss-web.xml"/>
+ </webinf>
+ <classes dir="${war.build.dir}" includes="**/*.class"/>
+ <fileset dir="${basedir}/war/view">
+ <include name="**/*"/>
+ </fileset>
+ <classes dir="${basedir}">
+ <include name="juddi.properties"/>
+ </classes>
+ </war>
+ </target>
+
+ <target name="deploy-war" depends="prepare-deployment">
+ <copy todir="${org.jboss.esb.server.deploy.dir}"
+ file="${build.dir}/${ant.project.name}.war"/>
+ </target>
+
+ <target name="undeploy-war" depends="dependencies">
+ <delete verbose="true" quiet="true"
+ file="${org.jboss.esb.server.deploy.dir}/${ant.project.name}.war"/>
+ </target>
+
+ <target name="sendjms" depends="compile">
+ <echo>Send ESB message that triggers webservice call</echo>
+ <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.test.SendJMSMessage" failonerror="true">
+ <arg value="Jimbo"/>
+ <classpath refid="exec-classpath"/>
+ </java>
+
+ </target>
+
+ <target name="runtest" depends="compile">
+ <echo>Send ESB message that triggers webservice call</echo>
+ <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.test.SendEsbMessage" failonerror="true">
+ <arg value="Jimbo"/>
+ <classpath refid="exec-classpath"/>
+ </java>
+ </target>
+
+</project>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/deployment.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/deployment.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/deployment.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,7 +0,0 @@
-<jbossesb-deployment>
- <depends>jboss.esb:deployment=soap.esb</depends>
- <!--<depends>jboss.esb:service=SoapUIClientService</depends>-->
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise2_esb</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise2_esb_reply</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise2_Request_gw</depends>
-</jbossesb-deployment>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/deployment.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/deployment.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/deployment.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/deployment.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,7 @@
+<jbossesb-deployment>
+ <depends>jboss.esb:deployment=soap.esb</depends>
+ <!--<depends>jboss.esb:service=SoapUIClientService</depends>-->
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise2_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise2_esb_reply</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise2_Request_gw</depends>
+</jbossesb-deployment>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/jbm-queue-service.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbm-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,21 +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_webservice_consumer_wise2_esb"
- 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_webservice_consumer_wise2_esb_reply"
- 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_webservice_consumer_wise2_Request_gw"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-</server>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbm-queue-service.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/jbm-queue-service.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbm-queue-service.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbm-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,21 @@
+<?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_webservice_consumer_wise2_esb"
+ 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_webservice_consumer_wise2_esb_reply"
+ 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_webservice_consumer_wise2_Request_gw"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbmq-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/jbmq-queue-service.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbmq-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,21 +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_webservice_consumer_wise2_esb">
- <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_webservice_consumer_wise2_esb_reply">
- <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_webservice_consumer_wise2_Request_gw">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
-</server>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbmq-queue-service.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/jbmq-queue-service.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbmq-queue-service.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbmq-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,21 @@
+<?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_webservice_consumer_wise2_esb">
+ <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_webservice_consumer_wise2_esb_reply">
+ <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_webservice_consumer_wise2_Request_gw">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+</server>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/jboss-esb.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,63 +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"
- parameterReloadSecs="5">
-
- <providers>
- <jms-provider name="JBossMQ"
- connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
- <jms-bus busid="quickstartGwChannel">
- <jms-message-filter
- dest-type="QUEUE"
- dest-name="queue/quickstart_webservice_consumer_wise2_Request_gw"
- />
- </jms-bus>
-
- <jms-bus busid="quickstartEsbChannel">
- <jms-message-filter dest-type="QUEUE"
- dest-name="queue/quickstart_webservice_consumer_wise2_esb" />
- </jms-bus>
-
- </jms-provider>
- </providers>
-
- <services>
- <service category="MyServiceCategory" name="Webserviceconsumer_wise2"
- description="Helloworld Webservice Consumer">
- <listeners>
- <jms-listener name="JMS-ESBListener"
- busidref="quickstartEsbChannel"/>
- <jms-listener name="JMS-Gateway"
- busidref="quickstartGwChannel"
- is-gateway="true"
- />
-
- </listeners>
- <actions mep="OneWay">
- <action name="request-mapper"
- class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.MyRequestAction">
- </action>
- <action name="soap-wise-client-action"
- class="org.jboss.soa.esb.actions.soap.wise.SOAPClient">
- <property name="wsdl"
- value="http://127.0.0.1:8080/Quickstart_webservice_consumer_wise2/PingWS?wsdl" />
- <property name="SOAPAction" value="pingComplexObject"/>
- <property name="EndPointName" value="PingWSPort"/>
- <property name="SmooksRequestMapper" value="smooks-config-XMLGregorianCalendar.xml"/>
- <property name="SmooksResponseMapper" value="smooks-response-config.xml"/>
- <property name="LoggingMessages" value="false" />
- <property name="serviceName" value="PingWS"/>
- <property name="userName" value=""/>
- <property name="password" value=""/>
- </action>
- <action name="response-mapper"
- class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.MyResponseAction">
- </action>
- <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
- </actions>
- </service>
- </services>
-
-</jbossesb>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jboss-esb.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/jboss-esb.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jboss-esb.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,63 @@
+<?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"
+ parameterReloadSecs="5">
+
+ <providers>
+ <jms-provider name="JBossMQ"
+ connection-factory="ConnectionFactory"
+ jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
+ jndi-URL="localhost">
+ <jms-bus busid="quickstartGwChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_webservice_consumer_wise2_Request_gw"
+ />
+ </jms-bus>
+
+ <jms-bus busid="quickstartEsbChannel">
+ <jms-message-filter dest-type="QUEUE"
+ dest-name="queue/quickstart_webservice_consumer_wise2_esb" />
+ </jms-bus>
+
+ </jms-provider>
+ </providers>
+
+ <services>
+ <service category="MyServiceCategory" name="Webserviceconsumer_wise2"
+ description="Helloworld Webservice Consumer">
+ <listeners>
+ <jms-listener name="JMS-ESBListener"
+ busidref="quickstartEsbChannel"/>
+ <jms-listener name="JMS-Gateway"
+ busidref="quickstartGwChannel"
+ is-gateway="true"
+ />
+
+ </listeners>
+ <actions mep="OneWay">
+ <action name="request-mapper"
+ class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.MyRequestAction">
+ </action>
+ <action name="soap-wise-client-action"
+ class="org.jboss.soa.esb.actions.soap.wise.SOAPClient">
+ <property name="wsdl"
+ value="http://127.0.0.1:8080/Quickstart_webservice_consumer_wise2/PingWS?wsdl" />
+ <property name="SOAPAction" value="pingComplexObject"/>
+ <property name="EndPointName" value="PingWSPort"/>
+ <property name="SmooksRequestMapper" value="smooks-config-XMLGregorianCalendar.xml"/>
+ <property name="SmooksResponseMapper" value="smooks-response-config.xml"/>
+ <property name="LoggingMessages" value="false" />
+ <property name="serviceName" value="PingWS"/>
+ <property name="userName" value=""/>
+ <property name="password" value=""/>
+ </action>
+ <action name="response-mapper"
+ class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.MyResponseAction">
+ </action>
+ <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
+ </actions>
+ </service>
+ </services>
+
+</jbossesb>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbossesb-properties.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/jbossesb-properties.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbossesb-properties.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,84 +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/jbossesb"/>
- <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"/>
- </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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbossesb-properties.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/jbossesb-properties.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbossesb-properties.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jbossesb-properties.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,84 @@
+<?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/jbossesb"/>
+ <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"/>
+ </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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jndi.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/jndi.properties 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jndi.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jndi.properties (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/jndi.properties)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jndi.properties (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/jndi.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/juddi.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/juddi.properties 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/juddi.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/juddi.properties (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/juddi.properties)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/juddi.properties (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/juddi.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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
+
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/lib (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/lib)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/listener.log
===================================================================
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/listener.log (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/listener.log)
===================================================================
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/log4j.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/log4j.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/log4j.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,78 +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="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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/log4j.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/log4j.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/log4j.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/log4j.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,78 @@
+<?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="quickstart">
+ <priority value="INFO"/>
+ </category>
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/readme.txt 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/readme.txt 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,92 +0,0 @@
-Overview:
-=========
- This example demonstrates how to consume a 181 Web Service in an ESB action.
- This ESB will make a webservice request that requires a single "toWhom" string parameter.
- The webservice will return a greeting response. The ESB simply dislays the response on the
- console.
-
-Running this quickstart:
-========================
- Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts and a
- more detailed descripton of the different ways to run the quickstarts.
-
-To Run standalone mode:
-=======================
- This quickstart will not currently run in standalone mode.
-
-To Run '.esb' archive mode:
-===========================
- 1. In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
- 1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.
- 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
-
- 'runtest' target description:
- In a separate command prompt window, run "ant runtest" to shoot a JMS message
- into the listener which will then invoke the MyJMSListenerAction and display
- it to the console. You can modify the build.xml to change the phrase
- "Hello World" to something else and re-run "ant runtest".
-
- You should output that looks like this, after running "ant runtest":
- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- 12:35:47,975 INFO [STDOUT] Request map is: {sayHello.toWhom=Jimbo}
- 12:35:47,975 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- 12:35:47,990 WARN [HttpMethodBase] Going to buffer response body of large or unknown size. Using
- getResponseBodyAsStream instead is recommended.
- 12:35:47,991 INFO [STDOUT]
- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- 12:35:47,991 INFO [STDOUT] Response Map is:
- <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
- <env:Header></env:Header>
- <env:Body>
- <hel:sayHelloResponse xmlns:hel='http://webservice_consumer1/helloworld'>
- <return>Hello World Greeting for 'Jimbo' on Sat Jul 14 12:35:47 EDT 2007</return>
- </hel:sayHelloResponse></env:Body></env:Envelope>
- 12:35:47,991 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-
-Project file descriptions:
-==========================
-
- jboss-esb.xml:
- There is no JMS gateway in this quickstart. A java client talks directly to the ESB
- listener queue called "queue/quickstart_webservice_consumer1_esb". The actions in
- jboss-esb.xml convert the ESB message into to a webservice parameter Map, make a call
- to the HelloWorldWS webservice, then print the response on the console. Both juddi.properties
- and jbossesb-properties.xml are used when the service first boots up for self-registration
- based upon the service-category and service-name found in the esb-config.xml file.
-
- jndi.properties:
- Needed primarily for org.jboss.soa.esb.samples.quickstart.webservice_consumer1.test.SendESBMessage that is fired by ant runtest.
-
- log4j.xml:
- Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
-
- src/../SendEsbMessage.java:
- Send a message directly the the ESB internal JMS listener. Demonstrates how one can bypass the
- gateway and speak directly to an ESB service.
-
- src/../MyRequestAction.java
- Convert the message body into a webservice request parameter Map that only has one paramater called
- "sayHello.toWhom" for the web service call. The request parameter map is named
- "helloworld-request-parameters".
-
- org.jboss.soa.esb.actions.soap.SOAPClient
- This class is used to make the call to the webservice. It will take the
- parameters that MyRequestAction set in "paramsLocation", call the webservice, then place
- the response in "responseLocation". This is zero Java code ESB wiring in jboss-esb.xml.
-
- src/../MyResponseAction.java
- Retrieve the webservice response and display it on the console. The response location name
- is "helloworld-response".
-
- build.xml:
- Targets and structure description:
- * the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
- front of the list
- * the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
- Usage is: ant echoCP > myclasspath.txt
- This generates a file called myclasspath.txt which can be reviewed in a text editor
- * the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and
- esb-config-gateway.xml files
- * the runtest task calls the org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage class and passes in an argument representing
- the string-based message to be pused into the queue the gateway is listening on.
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/readme.txt (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/readme.txt)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/readme.txt (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/readme.txt 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,92 @@
+Overview:
+=========
+ This example demonstrates how to consume a 181 Web Service in an ESB action.
+ This ESB will make a webservice request that requires a single "toWhom" string parameter.
+ The webservice will return a greeting response. The ESB simply dislays the response on the
+ console.
+
+Running this quickstart:
+========================
+ Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts and a
+ more detailed descripton of the different ways to run the quickstarts.
+
+To Run standalone mode:
+=======================
+ This quickstart will not currently run in standalone mode.
+
+To Run '.esb' archive mode:
+===========================
+ 1. In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
+ 1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.
+ 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
+
+ 'runtest' target description:
+ In a separate command prompt window, run "ant runtest" to shoot a JMS message
+ into the listener which will then invoke the MyJMSListenerAction and display
+ it to the console. You can modify the build.xml to change the phrase
+ "Hello World" to something else and re-run "ant runtest".
+
+ You should output that looks like this, after running "ant runtest":
+ &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+ 12:35:47,975 INFO [STDOUT] Request map is: {sayHello.toWhom=Jimbo}
+ 12:35:47,975 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+ 12:35:47,990 WARN [HttpMethodBase] Going to buffer response body of large or unknown size. Using
+ getResponseBodyAsStream instead is recommended.
+ 12:35:47,991 INFO [STDOUT]
+ &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+ 12:35:47,991 INFO [STDOUT] Response Map is:
+ <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
+ <env:Header></env:Header>
+ <env:Body>
+ <hel:sayHelloResponse xmlns:hel='http://webservice_consumer1/helloworld'>
+ <return>Hello World Greeting for 'Jimbo' on Sat Jul 14 12:35:47 EDT 2007</return>
+ </hel:sayHelloResponse></env:Body></env:Envelope>
+ 12:35:47,991 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+
+Project file descriptions:
+==========================
+
+ jboss-esb.xml:
+ There is no JMS gateway in this quickstart. A java client talks directly to the ESB
+ listener queue called "queue/quickstart_webservice_consumer1_esb". The actions in
+ jboss-esb.xml convert the ESB message into to a webservice parameter Map, make a call
+ to the HelloWorldWS webservice, then print the response on the console. Both juddi.properties
+ and jbossesb-properties.xml are used when the service first boots up for self-registration
+ based upon the service-category and service-name found in the esb-config.xml file.
+
+ jndi.properties:
+ Needed primarily for org.jboss.soa.esb.samples.quickstart.webservice_consumer1.test.SendESBMessage that is fired by ant runtest.
+
+ log4j.xml:
+ Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
+
+ src/../SendEsbMessage.java:
+ Send a message directly the the ESB internal JMS listener. Demonstrates how one can bypass the
+ gateway and speak directly to an ESB service.
+
+ src/../MyRequestAction.java
+ Convert the message body into a webservice request parameter Map that only has one paramater called
+ "sayHello.toWhom" for the web service call. The request parameter map is named
+ "helloworld-request-parameters".
+
+ org.jboss.soa.esb.actions.soap.SOAPClient
+ This class is used to make the call to the webservice. It will take the
+ parameters that MyRequestAction set in "paramsLocation", call the webservice, then place
+ the response in "responseLocation". This is zero Java code ESB wiring in jboss-esb.xml.
+
+ src/../MyResponseAction.java
+ Retrieve the webservice response and display it on the console. The response location name
+ is "helloworld-response".
+
+ build.xml:
+ Targets and structure description:
+ * the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
+ front of the list
+ * the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
+ Usage is: ant echoCP > myclasspath.txt
+ This generates a file called myclasspath.txt which can be reviewed in a text editor
+ * the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and
+ esb-config-gateway.xml files
+ * the runtest task calls the org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage class and passes in an argument representing
+ the string-based message to be pused into the queue the gateway is listening on.
\ No newline at end of file
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/smooks-config-XMLGregorianCalendar.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/smooks-config-XMLGregorianCalendar.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/smooks-config-XMLGregorianCalendar.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,23 +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">SAX</param>
- </resource-config>
-
- <resource-config selector="org.jboss.soa.esb.samples.quickstart.webservice__consumer__wise2.ExternalObject">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">complexObject</param>
- <param name="beanClass">it.javalinux.wise.ComplexObject</param>
- <param name="bindings">
- <binding property="integerField" type="Integer" selector="internal number" />
- <binding property="stringField" selector="internal text" />
- <binding property="calendarField" type="XMLGregorianCalendar" selector="date" />
- </param>
- </resource-config>
-<resource-config selector="decoder:XMLGregorianCalendar">
- <resource>it.javalinux.wise.smooks.decoders.XMLGregorianCalendarDecoder</resource>
- <param name="format">yyyy-MM-dd HH:mm:ss.S z</param>
- </resource-config>
-
-</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/smooks-config-XMLGregorianCalendar.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/smooks-config-XMLGregorianCalendar.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/smooks-config-XMLGregorianCalendar.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/smooks-config-XMLGregorianCalendar.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,23 @@
+<?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">SAX</param>
+ </resource-config>
+
+ <resource-config selector="org.jboss.soa.esb.samples.quickstart.webservice__consumer__wise2.ExternalObject">
+ <resource>org.milyn.javabean.BeanPopulator</resource>
+ <param name="beanId">complexObject</param>
+ <param name="beanClass">it.javalinux.wise.ComplexObject</param>
+ <param name="bindings">
+ <binding property="integerField" type="Integer" selector="internal number" />
+ <binding property="stringField" selector="internal text" />
+ <binding property="calendarField" type="XMLGregorianCalendar" selector="date" />
+ </param>
+ </resource-config>
+<resource-config selector="decoder:XMLGregorianCalendar">
+ <resource>it.javalinux.wise.smooks.decoders.XMLGregorianCalendarDecoder</resource>
+ <param name="format">yyyy-MM-dd HH:mm:ss.S z</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/smooks-response-config.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/smooks-response-config.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/smooks-response-config.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,28 +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">SAX</param>
- </resource-config>
-
- <resource-config selector="it.javalinux.wise.ComplexObject">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">ExternalObject</param>
- <param name="beanClass">org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.ExternalObject</param>
- <param name="bindings">
- <binding property="internal" selector="${InternalObject}" />
- </param>
- </resource-config>
-
- <resource-config selector="it.javalinux.wise.ComplexObject">
- <resource>org.milyn.javabean.BeanPopulator</resource>
- <param name="beanId">InternalObject</param>
- <param name="beanClass">org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.InternalObject</param>
- <param name="bindings">
- <binding property="number" type="Integer" selector="integerField" />
- <binding property="text" selector="stringField" />
- </param>
- </resource-config>
-
-
-</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/smooks-response-config.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/smooks-response-config.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/smooks-response-config.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/smooks-response-config.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,28 @@
+<?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">SAX</param>
+ </resource-config>
+
+ <resource-config selector="it.javalinux.wise.ComplexObject">
+ <resource>org.milyn.javabean.BeanPopulator</resource>
+ <param name="beanId">ExternalObject</param>
+ <param name="beanClass">org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.ExternalObject</param>
+ <param name="bindings">
+ <binding property="internal" selector="${InternalObject}" />
+ </param>
+ </resource-config>
+
+ <resource-config selector="it.javalinux.wise.ComplexObject">
+ <resource>org.milyn.javabean.BeanPopulator</resource>
+ <param name="beanId">InternalObject</param>
+ <param name="beanClass">org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.InternalObject</param>
+ <param name="bindings">
+ <binding property="number" type="Integer" selector="integerField" />
+ <binding property="text" selector="stringField" />
+ </param>
+ </resource-config>
+
+
+</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2 (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ExternalObject.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ExternalObject.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ExternalObject.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,55 +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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2;
-
-import java.util.Date;
-import java.io.Serializable;
-
-import org.apache.commons.lang.builder.ToStringBuilder;
-
-public class ExternalObject implements Serializable {
-
- private InternalObject internal;
-
- private Date date;
-
- public InternalObject getInternal() {
- return internal;
- }
-
- public void setInternal(InternalObject internal) {
- this.internal = internal;
- }
-
- public Date getDate() {
- return date;
- }
-
- public void setDate(Date date) {
- this.date = date;
- }
-
- @Override
- public String toString() {
- return ToStringBuilder.reflectionToString(this);
- }
-
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ExternalObject.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ExternalObject.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ExternalObject.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ExternalObject.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,55 @@
+/*
+ * 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.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2;
+
+import java.util.Date;
+import java.io.Serializable;
+
+import org.apache.commons.lang.builder.ToStringBuilder;
+
+public class ExternalObject implements Serializable {
+
+ private InternalObject internal;
+
+ private Date date;
+
+ public InternalObject getInternal() {
+ return internal;
+ }
+
+ public void setInternal(InternalObject internal) {
+ this.internal = internal;
+ }
+
+ public Date getDate() {
+ return date;
+ }
+
+ public void setDate(Date date) {
+ this.date = date;
+ }
+
+ @Override
+ public String toString() {
+ return ToStringBuilder.reflectionToString(this);
+ }
+
+}
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/InternalObject.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/InternalObject.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/InternalObject.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,51 +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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2;
-import org.apache.commons.lang.builder.ToStringBuilder;
-import java.io.Serializable;
-
-public class InternalObject implements Serializable {
-
- private String text;
-
- private Integer number;
-
- public String getText() {
- return text;
- }
-
- public void setText(String text) {
- this.text = text;
- }
-
- public Integer getNumber() {
- return number;
- }
-
- public void setNumber(Integer number) {
- this.number = number;
- }
-
- @Override
- public String toString() {
- return ToStringBuilder.reflectionToString(this);
- }
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/InternalObject.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/InternalObject.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/InternalObject.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/InternalObject.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,51 @@
+/*
+ * 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.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2;
+import org.apache.commons.lang.builder.ToStringBuilder;
+import java.io.Serializable;
+
+public class InternalObject implements Serializable {
+
+ private String text;
+
+ private Integer number;
+
+ public String getText() {
+ return text;
+ }
+
+ public void setText(String text) {
+ this.text = text;
+ }
+
+ public Integer getNumber() {
+ return number;
+ }
+
+ public void setNumber(Integer number) {
+ this.number = number;
+ }
+
+ @Override
+ public String toString() {
+ return ToStringBuilder.reflectionToString(this);
+ }
+}
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyRequestAction.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyRequestAction.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyRequestAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,86 +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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2;
-
-import org.jboss.soa.esb.actions.AbstractActionLifecycle;
-import org.jboss.soa.esb.actions.ActionUtils;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.message.Body;
-import org.jboss.soa.esb.message.Message;
-
-import java.util.HashMap;
-import java.util.Map;
-
-public class MyRequestAction extends AbstractActionLifecycle
-{
- protected ConfigTree _config;
-
- public MyRequestAction(ConfigTree config)
- {
- _config = config;
- }
-
- public Message noOperation(Message message)
- {
- return message;
- }
-
- /*
- * Convert the message into a webservice request map.
- */
- public Message process(Message message) throws Exception
- {
- logHeader();
- Object msgBody = (Object) message.getBody().get();
- HashMap requestMap = new HashMap();
- // add paramaters to the web service request map
- requestMap.put("external", msgBody);
- // The "paramsLocation" property was set in jboss-esb.xml to
- // "helloworld-request-parameters"
- message.getBody().add(requestMap);
- System.out.println("Request map is: " + requestMap.toString());
-
- logFooter();
- return message;
- }
-
- public void exceptionHandler(Message message, Throwable exception)
- {
- logHeader();
- System.out.println("!ERROR!");
- System.out.println(exception.getMessage());
- System.out.println("For Message: ");
- System.out.println(message.getBody().get());
- logFooter();
- }
-
- // This makes it easier to read on the console
- private void logHeader()
- {
- System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
- }
-
- private void logFooter()
- {
- System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
- }
-
-}
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyRequestAction.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyRequestAction.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyRequestAction.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyRequestAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,86 @@
+/*
+ * 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.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.actions.ActionUtils;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Body;
+import org.jboss.soa.esb.message.Message;
+
+import java.util.HashMap;
+import java.util.Map;
+
+public class MyRequestAction extends AbstractActionLifecycle
+{
+ protected ConfigTree _config;
+
+ public MyRequestAction(ConfigTree config)
+ {
+ _config = config;
+ }
+
+ public Message noOperation(Message message)
+ {
+ return message;
+ }
+
+ /*
+ * Convert the message into a webservice request map.
+ */
+ public Message process(Message message) throws Exception
+ {
+ logHeader();
+ Object msgBody = (Object) message.getBody().get();
+ HashMap requestMap = new HashMap();
+ // add paramaters to the web service request map
+ requestMap.put("external", msgBody);
+ // The "paramsLocation" property was set in jboss-esb.xml to
+ // "helloworld-request-parameters"
+ message.getBody().add(requestMap);
+ System.out.println("Request map is: " + requestMap.toString());
+
+ logFooter();
+ return message;
+ }
+
+ public void exceptionHandler(Message message, Throwable exception)
+ {
+ logHeader();
+ System.out.println("!ERROR!");
+ System.out.println(exception.getMessage());
+ System.out.println("For Message: ");
+ System.out.println(message.getBody().get());
+ logFooter();
+ }
+
+ // This makes it easier to read on the console
+ private void logHeader()
+ {
+ System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+ }
+
+ private void logFooter()
+ {
+ System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+ }
+
+}
\ No newline at end of file
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyResponseAction.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyResponseAction.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyResponseAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,82 +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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2;
-
-import org.jboss.soa.esb.actions.AbstractActionLifecycle;
-import org.jboss.soa.esb.actions.ActionUtils;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.message.Body;
-import org.jboss.soa.esb.message.Message;
-import java.util.Map;
-
-public class MyResponseAction extends AbstractActionLifecycle
-{
- protected ConfigTree _config;
-
- public MyResponseAction(ConfigTree config)
- {
- _config = config;
- }
-
- public Message noOperation(Message message)
- {
- return message;
- }
-
- /*
- * Retrieve and output the webservice response.
- */
- public Message process(Message message) throws Exception
- {
-
- logHeader();
-
- // The "responseLocation" property was set in jboss-esb.xml to
- // "helloworld-response"
- Map responseMsg = (Map) message.getBody().get(Body.DEFAULT_LOCATION);
- System.out.println("Response Map is: " + responseMsg);
-
- logFooter();
- return message;
- }
-
- public void exceptionHandler(Message message, Throwable exception)
- {
- logHeader();
- System.out.println("!ERROR!");
- System.out.println(exception.getMessage());
- System.out.println("For Message: ");
- System.out.println(message.getBody().get());
- logFooter();
- }
-
- // This makes it easier to read on the console
- private void logHeader()
- {
- System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
- }
-
- private void logFooter()
- {
- System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
- }
-
-}
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyResponseAction.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyResponseAction.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyResponseAction.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/MyResponseAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,82 @@
+/*
+ * 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.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.actions.ActionUtils;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Body;
+import org.jboss.soa.esb.message.Message;
+import java.util.Map;
+
+public class MyResponseAction extends AbstractActionLifecycle
+{
+ protected ConfigTree _config;
+
+ public MyResponseAction(ConfigTree config)
+ {
+ _config = config;
+ }
+
+ public Message noOperation(Message message)
+ {
+ return message;
+ }
+
+ /*
+ * Retrieve and output the webservice response.
+ */
+ public Message process(Message message) throws Exception
+ {
+
+ logHeader();
+
+ // The "responseLocation" property was set in jboss-esb.xml to
+ // "helloworld-response"
+ Map responseMsg = (Map) message.getBody().get(Body.DEFAULT_LOCATION);
+ System.out.println("Response Map is: " + responseMsg);
+
+ logFooter();
+ return message;
+ }
+
+ public void exceptionHandler(Message message, Throwable exception)
+ {
+ logHeader();
+ System.out.println("!ERROR!");
+ System.out.println(exception.getMessage());
+ System.out.println("For Message: ");
+ System.out.println(message.getBody().get());
+ logFooter();
+ }
+
+ // This makes it easier to read on the console
+ private void logHeader()
+ {
+ System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+ }
+
+ private void logFooter()
+ {
+ System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+ }
+
+}
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendEsbMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendEsbMessage.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendEsbMessage.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,77 +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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.test;
-
-import org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.ExternalObject;
-import org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.InternalObject;
-
-import java.text.SimpleDateFormat;
-import java.util.Date;
-
-import org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPoolContainer;
-import org.jboss.soa.esb.client.ServiceInvoker;
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.esb.message.format.MessageFactory;
-import org.jboss.soa.esb.message.format.MessageType;
-
-import org.jboss.soa.esb.actions.StoreMessageToFile;
-
-public class SendEsbMessage {
- public static final String DEFAULT_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss";
-
- /*
- * Send a message directly the the ESB internal JMS listener. Demonstrates
- * how one can bypass the gateway and speak directly to an ESB service.
- */
- public void sendMessage(String message) throws Exception {
- // Create the delivery adapter for the target service (cache it)
- System.setProperty("javax.xml.registry.ConnectionFactoryClass",
- "org.apache.ws.scout.registry.ConnectionFactoryImpl");
-
- // Create the delivery adapter for the target service (cache it)
- ServiceInvoker deliveryAdapter = new ServiceInvoker(
- "MyServiceCategory", "Webserviceconsumer_wise2");
-
- // Create and populate the request message...
- Message requestMessage = MessageFactory.getInstance().getMessage(
- MessageType.JBOSS_XML);
- ExternalObject external = new ExternalObject();
- InternalObject internal = new InternalObject();
- internal.setNumber(new Integer(1));
- internal.setText(message);
- external.setInternal(internal);
- String dateString = "2007-03-07T04:27:00";
- Date date = (new SimpleDateFormat(DEFAULT_DATE_FORMAT))
- .parse(dateString);
- external.setDate(date);
- requestMessage.getBody().add(external);
-
- // Deliver the request message synchronously - timeout after 20
- // seconds...
- deliveryAdapter.deliverAsync(requestMessage);
- }
-
- public static void main(String args[]) throws Exception {
- SendEsbMessage sm = new SendEsbMessage();
- sm.sendMessage(args[0]);
- }
-
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendEsbMessage.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendEsbMessage.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendEsbMessage.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendEsbMessage.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,77 @@
+/*
+ * 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.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.test;
+
+import org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.ExternalObject;
+import org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.InternalObject;
+
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+import org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPoolContainer;
+import org.jboss.soa.esb.client.ServiceInvoker;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.format.MessageFactory;
+import org.jboss.soa.esb.message.format.MessageType;
+
+import org.jboss.soa.esb.actions.StoreMessageToFile;
+
+public class SendEsbMessage {
+ public static final String DEFAULT_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss";
+
+ /*
+ * Send a message directly the the ESB internal JMS listener. Demonstrates
+ * how one can bypass the gateway and speak directly to an ESB service.
+ */
+ public void sendMessage(String message) throws Exception {
+ // Create the delivery adapter for the target service (cache it)
+ System.setProperty("javax.xml.registry.ConnectionFactoryClass",
+ "org.apache.ws.scout.registry.ConnectionFactoryImpl");
+
+ // Create the delivery adapter for the target service (cache it)
+ ServiceInvoker deliveryAdapter = new ServiceInvoker(
+ "MyServiceCategory", "Webserviceconsumer_wise2");
+
+ // Create and populate the request message...
+ Message requestMessage = MessageFactory.getInstance().getMessage(
+ MessageType.JBOSS_XML);
+ ExternalObject external = new ExternalObject();
+ InternalObject internal = new InternalObject();
+ internal.setNumber(new Integer(1));
+ internal.setText(message);
+ external.setInternal(internal);
+ String dateString = "2007-03-07T04:27:00";
+ Date date = (new SimpleDateFormat(DEFAULT_DATE_FORMAT))
+ .parse(dateString);
+ external.setDate(date);
+ requestMessage.getBody().add(external);
+
+ // Deliver the request message synchronously - timeout after 20
+ // seconds...
+ deliveryAdapter.deliverAsync(requestMessage);
+ }
+
+ public static void main(String args[]) throws Exception {
+ SendEsbMessage sm = new SendEsbMessage();
+ sm.sendMessage(args[0]);
+ }
+
+}
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendJMSMessage.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendJMSMessage.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,86 +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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.test;
-
-import java.util.Properties;
-
-import javax.jms.JMSException;
-import javax.jms.ObjectMessage;
-import javax.jms.Queue;
-import javax.jms.QueueConnection;
-import javax.jms.QueueConnectionFactory;
-import javax.jms.QueueSender;
-import javax.jms.QueueSession;
-import javax.naming.Context;
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-
-public class SendJMSMessage {
- QueueConnection conn;
- QueueSession session;
- Queue que;
-
-
- public void setupConnection() throws JMSException, NamingException
- {
- Properties properties1 = new Properties();
- properties1.put(Context.INITIAL_CONTEXT_FACTORY,
- "org.jnp.interfaces.NamingContextFactory");
- properties1.put(Context.URL_PKG_PREFIXES,
- "org.jboss.naming:org.jnp.interfaces");
- properties1.put(Context.PROVIDER_URL, "jnp://127.0.0.1:1099");
- InitialContext iniCtx = new InitialContext(properties1);
-
- Object tmp = iniCtx.lookup("ConnectionFactory");
- QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
- conn = qcf.createQueueConnection();
- que = (Queue) iniCtx.lookup("queue/quickstart_webservice_consumer1_Request_gw");
- session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
- conn.start();
- System.out.println("Connection Started");
- }
-
- public void stop() throws JMSException
- {
- conn.stop();
- session.close();
- conn.close();
- }
-
- public void sendAMessage(String msg) throws JMSException {
-
- QueueSender send = session.createSender(que);
- ObjectMessage tm = session.createObjectMessage(msg);
- send.send(tm);
- send.close();
- }
-
-
- public static void main(String args[]) throws Exception
- {
- SendJMSMessage sm = new SendJMSMessage();
- sm.setupConnection();
- sm.sendAMessage(args[0]);
- sm.stop();
-
- }
-
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendJMSMessage.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendJMSMessage.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendJMSMessage.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/test/SendJMSMessage.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,86 @@
+/*
+ * 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.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.test;
+
+import java.util.Properties;
+
+import javax.jms.JMSException;
+import javax.jms.ObjectMessage;
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.QueueSender;
+import javax.jms.QueueSession;
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+
+public class SendJMSMessage {
+ QueueConnection conn;
+ QueueSession session;
+ Queue que;
+
+
+ public void setupConnection() throws JMSException, NamingException
+ {
+ Properties properties1 = new Properties();
+ properties1.put(Context.INITIAL_CONTEXT_FACTORY,
+ "org.jnp.interfaces.NamingContextFactory");
+ properties1.put(Context.URL_PKG_PREFIXES,
+ "org.jboss.naming:org.jnp.interfaces");
+ properties1.put(Context.PROVIDER_URL, "jnp://127.0.0.1:1099");
+ InitialContext iniCtx = new InitialContext(properties1);
+
+ Object tmp = iniCtx.lookup("ConnectionFactory");
+ QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
+ conn = qcf.createQueueConnection();
+ que = (Queue) iniCtx.lookup("queue/quickstart_webservice_consumer1_Request_gw");
+ session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+ conn.start();
+ System.out.println("Connection Started");
+ }
+
+ public void stop() throws JMSException
+ {
+ conn.stop();
+ session.close();
+ conn.close();
+ }
+
+ public void sendAMessage(String msg) throws JMSException {
+
+ QueueSender send = session.createSender(que);
+ ObjectMessage tm = session.createObjectMessage(msg);
+ send.send(tm);
+ send.close();
+ }
+
+
+ public static void main(String args[]) throws Exception
+ {
+ SendJMSMessage sm = new SendJMSMessage();
+ sm.setupConnection();
+ sm.sendAMessage(args[0]);
+ sm.stop();
+
+ }
+
+}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/lib (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/lib)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/lib/ext (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/lib/ext)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/lib/ext/jbossws-client.jar
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/lib/ext/jbossws-client.jar (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/lib/ext/jbossws-client.jar)
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/resources)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/classes (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/classes)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/lib (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/lib)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/web.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/web.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/web.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,15 +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>PingWS</servlet-name>
- <servlet-class>org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.PingWS</servlet-class>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>PingWS</servlet-name>
- <url-pattern>/PingWS</url-pattern>
- </servlet-mapping>
-
-</web-app>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/web.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/web.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/web.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/resources/WEB-INF/web.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,15 @@
+<?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>PingWS</servlet-name>
+ <servlet-class>org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.PingWS</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>PingWS</servlet-name>
+ <url-pattern>/PingWS</url-pattern>
+ </servlet-mapping>
+
+</web-app>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/src)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/src/org)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2 (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ComplexObject.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ComplexObject.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ComplexObject.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,68 +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,
- * @author JBoss Inc.
- */
-
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2;
-
-
-import java.util.Calendar;
-import java.util.Date;
-
-public class ComplexObject {
-
- private String stringField;
-
- private Integer integerField;
-
- private Calendar calendarField;
-
- public ComplexObject() {
- }
-
- public Calendar getCalendarField() {
- return calendarField;
- }
-
- public void setCalendarField(Calendar calendarField) {
- this.calendarField = calendarField;
- }
-
- public Integer getIntegerField() {
- return integerField;
- }
-
-
- public void setIntegerField(Integer integerField) {
- this.integerField = integerField;
- }
-
- public String getStringField() {
- return stringField;
- }
-
- public void setStringField(String stringField) {
- this.stringField = stringField;
- }
-
- public String toString() {
- return "ComplexObject:stirngField=" + stringField + ";integerField=" + integerField + ";calendarField=" + calendarField;
- }
-
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ComplexObject.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ComplexObject.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ComplexObject.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/ComplexObject.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,68 @@
+/*
+ * 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.
+ */
+
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2;
+
+
+import java.util.Calendar;
+import java.util.Date;
+
+public class ComplexObject {
+
+ private String stringField;
+
+ private Integer integerField;
+
+ private Calendar calendarField;
+
+ public ComplexObject() {
+ }
+
+ public Calendar getCalendarField() {
+ return calendarField;
+ }
+
+ public void setCalendarField(Calendar calendarField) {
+ this.calendarField = calendarField;
+ }
+
+ public Integer getIntegerField() {
+ return integerField;
+ }
+
+
+ public void setIntegerField(Integer integerField) {
+ this.integerField = integerField;
+ }
+
+ public String getStringField() {
+ return stringField;
+ }
+
+ public void setStringField(String stringField) {
+ this.stringField = stringField;
+ }
+
+ public String toString() {
+ return "ComplexObject:stirngField=" + stringField + ";integerField=" + integerField + ";calendarField=" + calendarField;
+ }
+
+}
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/PingWS.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/PingWS.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/PingWS.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2;
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-import javax.jws.WebResult;
-import javax.jws.soap.SOAPBinding;
-import javax.jws.WebParam;
-
-import org.jboss.logging.Logger;
-
- at WebService(name = "PingWS", targetNamespace = "http://webservice_consumer_wise2/pingws")
-public class PingWS {
- @WebMethod(operationName = "pingComplexObject", action = "urn:pingComplexObject")
- @WebResult(name = "ComplexObject")
- public ComplexObject pingComplexObject(@WebParam(name = "complexObject")
- ComplexObject arg0) {
- String greeting = "Ping with " + arg0.toString();
- return arg0;
-
- }
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/PingWS.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/PingWS.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/PingWS.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise2/PingWS.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.WebResult;
+import javax.jws.soap.SOAPBinding;
+import javax.jws.WebParam;
+
+import org.jboss.logging.Logger;
+
+ at WebService(name = "PingWS", targetNamespace = "http://webservice_consumer_wise2/pingws")
+public class PingWS {
+ @WebMethod(operationName = "pingComplexObject", action = "urn:pingComplexObject")
+ @WebResult(name = "ComplexObject")
+ public ComplexObject pingComplexObject(@WebParam(name = "complexObject")
+ ComplexObject arg0) {
+ String greeting = "Ping with " + arg0.toString();
+ return arg0;
+
+ }
+}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/view (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/view)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/view/index.jsp
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/view/index.jsp 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/view/index.jsp 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/view/index.jsp (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/war/view/index.jsp)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/view/index.jsp (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/war/view/index.jsp 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/wise-core.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/wise-core.properties 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/wise-core.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,4 +0,0 @@
-wise.tmpDir=/home/oracle/wise
-wise.forceImportObject=true
-wise.keepGeneratedSources=true
-wise.wsImporter.verbose=true
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/wise-core.properties (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise2/wise-core.properties)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/wise-core.properties (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise2/wise-core.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,4 @@
+wise.tmpDir=/home/oracle/wise
+wise.forceImportObject=true
+wise.keepGeneratedSources=true
+wise.wsImporter.verbose=true
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3 (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/.ant-targets-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/.ant-targets-build.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/.ant-targets-build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,10 +0,0 @@
-Quickstart_webservice_consumer_wise
-clean
-deploy
-deploy-jms-dests
-help
-help-quickstarts
-makewar
-run
-undeploy
-undeploy-jms-dests
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/.ant-targets-build.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/.ant-targets-build.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/.ant-targets-build.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/.ant-targets-build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,10 @@
+Quickstart_webservice_consumer_wise
+clean
+deploy
+deploy-jms-dests
+help
+help-quickstarts
+makewar
+run
+undeploy
+undeploy-jms-dests
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/build.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,74 +0,0 @@
-<project name="Quickstart_webservice_consumer_wise3" default="deploy" basedir=".">
-
- <description>
- ${ant.project.name}
- ${line.separator}
- </description>
-
- <property name="additional.deploys" value="wise-core.properties,smooks-handler.xml" />
-
- <!-- Import the base Ant build script... -->
- <import file="../conf/base-build.xml"/>
-
-
- <property name="war.build.dir" location="${build.dir}/war/classes"/>
-
-
- <target name="quickstart-specific-checks" depends="assert-ws-available"/>
-
- <target name="quickstart-specific-assemblies" depends="makewar"/>
-
- <target name="makewar" description="make war">
- <!-- Compile... -->
- <mkdir dir="${war.build.dir}" />
- <javac srcdir="war/src" destdir="${war.build.dir}" debug="true">
- <classpath>
- <path refid="compile-classpath" />
- <fileset dir="war/lib/ext" includes="*.jar" />
- </classpath>
- </javac>
-
- <!-- War... -->
- <war warfile="build/${ant.project.name}.war"
- webxml="${basedir}/war/resources/WEB-INF/web.xml">
- <webinf dir="${basedir}/war/resources/WEB-INF">
- <include name="jboss-web.xml"/>
- </webinf>
- <classes dir="${war.build.dir}" includes="**/*.class"/>
- <fileset dir="${basedir}/war/view">
- <include name="**/*"/>
- </fileset>
- <classes dir="${basedir}">
- <include name="juddi.properties"/>
- </classes>
- </war>
- </target>
-
- <target name="deploy-war" depends="prepare-deployment">
- <copy todir="${org.jboss.esb.server.deploy.dir}"
- file="${build.dir}/${ant.project.name}.war"/>
- </target>
-
- <target name="undeploy-war" depends="dependencies">
- <delete verbose="true" quiet="true"
- file="${org.jboss.esb.server.deploy.dir}/${ant.project.name}.war"/>
- </target>
-
- <target name="sendjms" depends="compile">
- <echo>Send ESB message that triggers webservice call</echo>
- <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3.test.SendJMSMessage" failonerror="true">
- <arg value="Jimbo"/>
- <classpath refid="exec-classpath"/>
- </java>
-
- </target>
-
- <target name="runtest" depends="compile">
- <echo>Send ESB message that triggers webservice call</echo>
- <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3.test.SendEsbMessage" failonerror="true">
- <arg value="Jimbo"/>
- <classpath refid="exec-classpath"/>
- </java>
- </target>
-
-</project>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/build.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/build.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/build.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,74 @@
+<project name="Quickstart_webservice_consumer_wise3" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="additional.deploys" value="wise-core.properties,smooks-handler.xml" />
+
+ <!-- Import the base Ant build script... -->
+ <import file="../conf/base-build.xml"/>
+
+
+ <property name="war.build.dir" location="${build.dir}/war/classes"/>
+
+
+ <target name="quickstart-specific-checks" depends="assert-ws-available"/>
+
+ <target name="quickstart-specific-assemblies" depends="makewar"/>
+
+ <target name="makewar" description="make war">
+ <!-- Compile... -->
+ <mkdir dir="${war.build.dir}" />
+ <javac srcdir="war/src" destdir="${war.build.dir}" debug="true">
+ <classpath>
+ <path refid="compile-classpath" />
+ <fileset dir="war/lib/ext" includes="*.jar" />
+ </classpath>
+ </javac>
+
+ <!-- War... -->
+ <war warfile="build/${ant.project.name}.war"
+ webxml="${basedir}/war/resources/WEB-INF/web.xml">
+ <webinf dir="${basedir}/war/resources/WEB-INF">
+ <include name="jboss-web.xml"/>
+ </webinf>
+ <classes dir="${war.build.dir}" includes="**/*.class"/>
+ <fileset dir="${basedir}/war/view">
+ <include name="**/*"/>
+ </fileset>
+ <classes dir="${basedir}">
+ <include name="juddi.properties"/>
+ </classes>
+ </war>
+ </target>
+
+ <target name="deploy-war" depends="prepare-deployment">
+ <copy todir="${org.jboss.esb.server.deploy.dir}"
+ file="${build.dir}/${ant.project.name}.war"/>
+ </target>
+
+ <target name="undeploy-war" depends="dependencies">
+ <delete verbose="true" quiet="true"
+ file="${org.jboss.esb.server.deploy.dir}/${ant.project.name}.war"/>
+ </target>
+
+ <target name="sendjms" depends="compile">
+ <echo>Send ESB message that triggers webservice call</echo>
+ <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3.test.SendJMSMessage" failonerror="true">
+ <arg value="Jimbo"/>
+ <classpath refid="exec-classpath"/>
+ </java>
+
+ </target>
+
+ <target name="runtest" depends="compile">
+ <echo>Send ESB message that triggers webservice call</echo>
+ <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3.test.SendEsbMessage" failonerror="true">
+ <arg value="Jimbo"/>
+ <classpath refid="exec-classpath"/>
+ </java>
+ </target>
+
+</project>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/deployment.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/deployment.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/deployment.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,6 +0,0 @@
-<jbossesb-deployment>
- <depends>jboss.esb:deployment=soap.esb</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise3_esb</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise3_esb_reply</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise3_Request_gw</depends>
-</jbossesb-deployment>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/deployment.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/deployment.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/deployment.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/deployment.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,6 @@
+<jbossesb-deployment>
+ <depends>jboss.esb:deployment=soap.esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise3_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise3_esb_reply</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise3_Request_gw</depends>
+</jbossesb-deployment>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/jbm-queue-service.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbm-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,21 +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_webservice_consumer_wise3_esb"
- 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_webservice_consumer_wise3_esb_reply"
- 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_webservice_consumer_wise3_Request_gw"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-</server>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbm-queue-service.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/jbm-queue-service.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbm-queue-service.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbm-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,21 @@
+<?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_webservice_consumer_wise3_esb"
+ 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_webservice_consumer_wise3_esb_reply"
+ 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_webservice_consumer_wise3_Request_gw"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbmq-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/jbmq-queue-service.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbmq-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,21 +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_webservice_consumer_wise3_esb">
- <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_webservice_consumer_wise3_esb_reply">
- <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_webservice_consumer_wise3_Request_gw">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
-</server>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbmq-queue-service.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/jbmq-queue-service.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbmq-queue-service.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbmq-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,21 @@
+<?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_webservice_consumer_wise3_esb">
+ <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_webservice_consumer_wise3_esb_reply">
+ <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_webservice_consumer_wise3_Request_gw">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+</server>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/jboss-esb.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,66 +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"
- parameterReloadSecs="5">
-
- <providers>
- <jms-provider name="JBossMQ"
- connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
- <jms-bus busid="quickstartGwChannel">
- <jms-message-filter
- dest-type="QUEUE"
- dest-name="queue/quickstart_webservice_consumer_wise3_Request_gw"
- />
- </jms-bus>
-
- <jms-bus busid="quickstartEsbChannel">
- <jms-message-filter dest-type="QUEUE"
- dest-name="queue/quickstart_webservice_consumer_wise3_esb" />
- </jms-bus>
-
- </jms-provider>
- </providers>
-
- <services>
- <service category="MyServiceCategory" name="Webserviceconsumer_wise3"
- description="Helloworld Webservice Consumer">
- <listeners>
- <jms-listener name="JMS-ESBListener"
- busidref="quickstartEsbChannel"/>
- <jms-listener name="JMS-Gateway"
- busidref="quickstartGwChannel"
- is-gateway="true"
- />
-
- </listeners>
- <actions mep="OneWay">
- <action name="request-mapper"
- class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3.MyRequestAction">
- </action>
- <action name="soapui-client-action"
- class="org.jboss.soa.esb.actions.soap.wise.SOAPClient">
- <property name="wsdl"
- value="http://127.0.0.1:8080/Quickstart_webservice_consumer_wise3/HelloWorldWS?wsdl" />
- <property name="SOAPAction" value="sayHello"/>
- <property name="EndPointName" value="HelloWorldPort"/>
- <property name="LoggingMessages" value="true" />
- <property name="smooks-handler-config" value="smooks-handler.xml"></property>
-
- <property name="serviceName" value="HelloWorldWS"/>
- <property name="userName" value=""/>
- <property name="password" value=""/>
-
- </action>
- <action name="response-mapper"
- class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3.MyResponseAction">
- </action>
- <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore">
-
- </action>
- </actions>
- </service>
- </services>
-
-</jbossesb>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jboss-esb.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/jboss-esb.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jboss-esb.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,66 @@
+<?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"
+ parameterReloadSecs="5">
+
+ <providers>
+ <jms-provider name="JBossMQ"
+ connection-factory="ConnectionFactory"
+ jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
+ jndi-URL="localhost">
+ <jms-bus busid="quickstartGwChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_webservice_consumer_wise3_Request_gw"
+ />
+ </jms-bus>
+
+ <jms-bus busid="quickstartEsbChannel">
+ <jms-message-filter dest-type="QUEUE"
+ dest-name="queue/quickstart_webservice_consumer_wise3_esb" />
+ </jms-bus>
+
+ </jms-provider>
+ </providers>
+
+ <services>
+ <service category="MyServiceCategory" name="Webserviceconsumer_wise3"
+ description="Helloworld Webservice Consumer">
+ <listeners>
+ <jms-listener name="JMS-ESBListener"
+ busidref="quickstartEsbChannel"/>
+ <jms-listener name="JMS-Gateway"
+ busidref="quickstartGwChannel"
+ is-gateway="true"
+ />
+
+ </listeners>
+ <actions mep="OneWay">
+ <action name="request-mapper"
+ class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3.MyRequestAction">
+ </action>
+ <action name="soapui-client-action"
+ class="org.jboss.soa.esb.actions.soap.wise.SOAPClient">
+ <property name="wsdl"
+ value="http://127.0.0.1:8080/Quickstart_webservice_consumer_wise3/HelloWorldWS?wsdl" />
+ <property name="SOAPAction" value="sayHello"/>
+ <property name="EndPointName" value="HelloWorldPort"/>
+ <property name="LoggingMessages" value="true" />
+ <property name="smooks-handler-config" value="smooks-handler.xml"></property>
+
+ <property name="serviceName" value="HelloWorldWS"/>
+ <property name="userName" value=""/>
+ <property name="password" value=""/>
+
+ </action>
+ <action name="response-mapper"
+ class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3.MyResponseAction">
+ </action>
+ <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore">
+
+ </action>
+ </actions>
+ </service>
+ </services>
+
+</jbossesb>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbossesb-properties.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/jbossesb-properties.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbossesb-properties.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,84 +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/jbossesb"/>
- <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"/>
- </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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbossesb-properties.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/jbossesb-properties.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbossesb-properties.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jbossesb-properties.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,84 @@
+<?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/jbossesb"/>
+ <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"/>
+ </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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jndi.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/jndi.properties 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jndi.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jndi.properties (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/jndi.properties)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jndi.properties (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/jndi.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/juddi.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/juddi.properties 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/juddi.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/juddi.properties (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/juddi.properties)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/juddi.properties (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/juddi.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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
+
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/lib (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/lib)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/listener.log
===================================================================
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/listener.log (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/listener.log)
===================================================================
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/log4j.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/log4j.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/log4j.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,78 +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="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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/log4j.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/log4j.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/log4j.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/log4j.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,78 @@
+<?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="quickstart">
+ <priority value="INFO"/>
+ </category>
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/readme.txt 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/readme.txt 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,92 +0,0 @@
-Overview:
-=========
- This example demonstrates how to consume a 181 Web Service in an ESB action.
- This ESB will make a webservice request that requires a single "toWhom" string parameter.
- The webservice will return a greeting response. The ESB simply dislays the response on the
- console.
-
-Running this quickstart:
-========================
- Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts and a
- more detailed descripton of the different ways to run the quickstarts.
-
-To Run standalone mode:
-=======================
- This quickstart will not currently run in standalone mode.
-
-To Run '.esb' archive mode:
-===========================
- 1. In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
- 1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.
- 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
-
- 'runtest' target description:
- In a separate command prompt window, run "ant runtest" to shoot a JMS message
- into the listener which will then invoke the MyJMSListenerAction and display
- it to the console. You can modify the build.xml to change the phrase
- "Hello World" to something else and re-run "ant runtest".
-
- You should output that looks like this, after running "ant runtest":
- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- 12:35:47,975 INFO [STDOUT] Request map is: {sayHello.toWhom=Jimbo}
- 12:35:47,975 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- 12:35:47,990 WARN [HttpMethodBase] Going to buffer response body of large or unknown size. Using
- getResponseBodyAsStream instead is recommended.
- 12:35:47,991 INFO [STDOUT]
- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- 12:35:47,991 INFO [STDOUT] Response Map is:
- <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
- <env:Header></env:Header>
- <env:Body>
- <hel:sayHelloResponse xmlns:hel='http://webservice_consumer1/helloworld'>
- <return>Hello World Greeting for 'Jimbo' on Sat Jul 14 12:35:47 EDT 2007</return>
- </hel:sayHelloResponse></env:Body></env:Envelope>
- 12:35:47,991 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-
-Project file descriptions:
-==========================
-
- jboss-esb.xml:
- There is no JMS gateway in this quickstart. A java client talks directly to the ESB
- listener queue called "queue/quickstart_webservice_consumer1_esb". The actions in
- jboss-esb.xml convert the ESB message into to a webservice parameter Map, make a call
- to the HelloWorldWS webservice, then print the response on the console. Both juddi.properties
- and jbossesb-properties.xml are used when the service first boots up for self-registration
- based upon the service-category and service-name found in the esb-config.xml file.
-
- jndi.properties:
- Needed primarily for org.jboss.soa.esb.samples.quickstart.webservice_consumer1.test.SendESBMessage that is fired by ant runtest.
-
- log4j.xml:
- Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
-
- src/../SendEsbMessage.java:
- Send a message directly the the ESB internal JMS listener. Demonstrates how one can bypass the
- gateway and speak directly to an ESB service.
-
- src/../MyRequestAction.java
- Convert the message body into a webservice request parameter Map that only has one paramater called
- "sayHello.toWhom" for the web service call. The request parameter map is named
- "helloworld-request-parameters".
-
- org.jboss.soa.esb.actions.soap.SOAPClient
- This class is used to make the call to the webservice. It will take the
- parameters that MyRequestAction set in "paramsLocation", call the webservice, then place
- the response in "responseLocation". This is zero Java code ESB wiring in jboss-esb.xml.
-
- src/../MyResponseAction.java
- Retrieve the webservice response and display it on the console. The response location name
- is "helloworld-response".
-
- build.xml:
- Targets and structure description:
- * the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
- front of the list
- * the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
- Usage is: ant echoCP > myclasspath.txt
- This generates a file called myclasspath.txt which can be reviewed in a text editor
- * the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and
- esb-config-gateway.xml files
- * the runtest task calls the org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage class and passes in an argument representing
- the string-based message to be pused into the queue the gateway is listening on.
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/readme.txt (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/readme.txt)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/readme.txt (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/readme.txt 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,92 @@
+Overview:
+=========
+ This example demonstrates how to consume a 181 Web Service in an ESB action.
+ This ESB will make a webservice request that requires a single "toWhom" string parameter.
+ The webservice will return a greeting response. The ESB simply dislays the response on the
+ console.
+
+Running this quickstart:
+========================
+ Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts and a
+ more detailed descripton of the different ways to run the quickstarts.
+
+To Run standalone mode:
+=======================
+ This quickstart will not currently run in standalone mode.
+
+To Run '.esb' archive mode:
+===========================
+ 1. In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
+ 1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.
+ 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
+
+ 'runtest' target description:
+ In a separate command prompt window, run "ant runtest" to shoot a JMS message
+ into the listener which will then invoke the MyJMSListenerAction and display
+ it to the console. You can modify the build.xml to change the phrase
+ "Hello World" to something else and re-run "ant runtest".
+
+ You should output that looks like this, after running "ant runtest":
+ &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+ 12:35:47,975 INFO [STDOUT] Request map is: {sayHello.toWhom=Jimbo}
+ 12:35:47,975 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+ 12:35:47,990 WARN [HttpMethodBase] Going to buffer response body of large or unknown size. Using
+ getResponseBodyAsStream instead is recommended.
+ 12:35:47,991 INFO [STDOUT]
+ &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+ 12:35:47,991 INFO [STDOUT] Response Map is:
+ <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
+ <env:Header></env:Header>
+ <env:Body>
+ <hel:sayHelloResponse xmlns:hel='http://webservice_consumer1/helloworld'>
+ <return>Hello World Greeting for 'Jimbo' on Sat Jul 14 12:35:47 EDT 2007</return>
+ </hel:sayHelloResponse></env:Body></env:Envelope>
+ 12:35:47,991 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+
+Project file descriptions:
+==========================
+
+ jboss-esb.xml:
+ There is no JMS gateway in this quickstart. A java client talks directly to the ESB
+ listener queue called "queue/quickstart_webservice_consumer1_esb". The actions in
+ jboss-esb.xml convert the ESB message into to a webservice parameter Map, make a call
+ to the HelloWorldWS webservice, then print the response on the console. Both juddi.properties
+ and jbossesb-properties.xml are used when the service first boots up for self-registration
+ based upon the service-category and service-name found in the esb-config.xml file.
+
+ jndi.properties:
+ Needed primarily for org.jboss.soa.esb.samples.quickstart.webservice_consumer1.test.SendESBMessage that is fired by ant runtest.
+
+ log4j.xml:
+ Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
+
+ src/../SendEsbMessage.java:
+ Send a message directly the the ESB internal JMS listener. Demonstrates how one can bypass the
+ gateway and speak directly to an ESB service.
+
+ src/../MyRequestAction.java
+ Convert the message body into a webservice request parameter Map that only has one paramater called
+ "sayHello.toWhom" for the web service call. The request parameter map is named
+ "helloworld-request-parameters".
+
+ org.jboss.soa.esb.actions.soap.SOAPClient
+ This class is used to make the call to the webservice. It will take the
+ parameters that MyRequestAction set in "paramsLocation", call the webservice, then place
+ the response in "responseLocation". This is zero Java code ESB wiring in jboss-esb.xml.
+
+ src/../MyResponseAction.java
+ Retrieve the webservice response and display it on the console. The response location name
+ is "helloworld-response".
+
+ build.xml:
+ Targets and structure description:
+ * the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
+ front of the list
+ * the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
+ Usage is: ant echoCP > myclasspath.txt
+ This generates a file called myclasspath.txt which can be reviewed in a text editor
+ * the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and
+ esb-config-gateway.xml files
+ * the runtest task calls the org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage class and passes in an argument representing
+ the string-based message to be pused into the queue the gateway is listening on.
\ No newline at end of file
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/smooks-handler.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/smooks-handler.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/smooks-handler.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,15 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <resource-config selector="header">
- <resource type="xsl">
- <![CDATA[
- <sign:sign xmlns:sign="uri://org.example.webservices.signature.Sign">
- </sign:sign>
- ]]>
- </resource>
- <param name="is-xslt-templatelet">true</param>
- <param name="action">addto</param>
- </resource-config>
-
-</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/smooks-handler.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/smooks-handler.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/smooks-handler.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/smooks-handler.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <resource-config selector="header">
+ <resource type="xsl">
+ <![CDATA[
+ <sign:sign xmlns:sign="uri://org.example.webservices.signature.Sign">
+ </sign:sign>
+ ]]>
+ </resource>
+ <param name="is-xslt-templatelet">true</param>
+ <param name="action">addto</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src/org)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3 (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyRequestAction.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyRequestAction.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyRequestAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,86 +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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3;
-
-import org.jboss.soa.esb.actions.AbstractActionLifecycle;
-import org.jboss.soa.esb.actions.ActionUtils;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.message.Body;
-import org.jboss.soa.esb.message.Message;
-import java.util.HashMap;
-
-public class MyRequestAction extends AbstractActionLifecycle
-{
- protected ConfigTree _config;
-
- public MyRequestAction(ConfigTree config)
- {
- _config = config;
- }
-
- public Message noOperation(Message message)
- {
- return message;
- }
-
- /*
- * Convert the message into a webservice request map.
- */
- public Message process(Message message) throws Exception
- {
- logHeader();
- String msgBody = (String) message.getBody().get();
- HashMap requestMap = new HashMap();
-
- // add paramaters to the web service request map
- requestMap.put("toWhom", msgBody);
-
- // The "paramsLocation" property was set in jboss-esb.xml to
- // "helloworld-request-parameters"
- message.getBody().add(requestMap);
- System.out.println("Request map is: " + requestMap.toString());
-
- logFooter();
- return message;
- }
-
- public void exceptionHandler(Message message, Throwable exception)
- {
- logHeader();
- System.out.println("!ERROR!");
- System.out.println(exception.getMessage());
- System.out.println("For Message: ");
- System.out.println(message.getBody().get());
- logFooter();
- }
-
- // This makes it easier to read on the console
- private void logHeader()
- {
- System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
- }
-
- private void logFooter()
- {
- System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
- }
-
-}
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyRequestAction.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyRequestAction.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyRequestAction.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyRequestAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,86 @@
+/*
+ * 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.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.actions.ActionUtils;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Body;
+import org.jboss.soa.esb.message.Message;
+import java.util.HashMap;
+
+public class MyRequestAction extends AbstractActionLifecycle
+{
+ protected ConfigTree _config;
+
+ public MyRequestAction(ConfigTree config)
+ {
+ _config = config;
+ }
+
+ public Message noOperation(Message message)
+ {
+ return message;
+ }
+
+ /*
+ * Convert the message into a webservice request map.
+ */
+ public Message process(Message message) throws Exception
+ {
+ logHeader();
+ String msgBody = (String) message.getBody().get();
+ HashMap requestMap = new HashMap();
+
+ // add paramaters to the web service request map
+ requestMap.put("toWhom", msgBody);
+
+ // The "paramsLocation" property was set in jboss-esb.xml to
+ // "helloworld-request-parameters"
+ message.getBody().add(requestMap);
+ System.out.println("Request map is: " + requestMap.toString());
+
+ logFooter();
+ return message;
+ }
+
+ public void exceptionHandler(Message message, Throwable exception)
+ {
+ logHeader();
+ System.out.println("!ERROR!");
+ System.out.println(exception.getMessage());
+ System.out.println("For Message: ");
+ System.out.println(message.getBody().get());
+ logFooter();
+ }
+
+ // This makes it easier to read on the console
+ private void logHeader()
+ {
+ System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+ }
+
+ private void logFooter()
+ {
+ System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+ }
+
+}
\ No newline at end of file
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyResponseAction.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyResponseAction.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyResponseAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,82 +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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3;
-
-import org.jboss.soa.esb.actions.AbstractActionLifecycle;
-import org.jboss.soa.esb.actions.ActionUtils;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.message.Body;
-import org.jboss.soa.esb.message.Message;
-import java.util.Map;
-
-public class MyResponseAction extends AbstractActionLifecycle
-{
- protected ConfigTree _config;
-
- public MyResponseAction(ConfigTree config)
- {
- _config = config;
- }
-
- public Message noOperation(Message message)
- {
- return message;
- }
-
- /*
- * Retrieve and output the webservice response.
- */
- public Message process(Message message) throws Exception
- {
-
- logHeader();
-
- // The "responseLocation" property was set in jboss-esb.xml to
- // "helloworld-response"
- Map responseMsg = (Map) message.getBody().get(Body.DEFAULT_LOCATION);
- System.out.println("Response Map is: " + responseMsg);
-
- logFooter();
- return message;
- }
-
- public void exceptionHandler(Message message, Throwable exception)
- {
- logHeader();
- System.out.println("!ERROR!");
- System.out.println(exception.getMessage());
- System.out.println("For Message: ");
- System.out.println(message.getBody().get());
- logFooter();
- }
-
- // This makes it easier to read on the console
- private void logHeader()
- {
- System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
- }
-
- private void logFooter()
- {
- System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
- }
-
-}
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyResponseAction.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyResponseAction.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyResponseAction.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/MyResponseAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,82 @@
+/*
+ * 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.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.actions.ActionUtils;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Body;
+import org.jboss.soa.esb.message.Message;
+import java.util.Map;
+
+public class MyResponseAction extends AbstractActionLifecycle
+{
+ protected ConfigTree _config;
+
+ public MyResponseAction(ConfigTree config)
+ {
+ _config = config;
+ }
+
+ public Message noOperation(Message message)
+ {
+ return message;
+ }
+
+ /*
+ * Retrieve and output the webservice response.
+ */
+ public Message process(Message message) throws Exception
+ {
+
+ logHeader();
+
+ // The "responseLocation" property was set in jboss-esb.xml to
+ // "helloworld-response"
+ Map responseMsg = (Map) message.getBody().get(Body.DEFAULT_LOCATION);
+ System.out.println("Response Map is: " + responseMsg);
+
+ logFooter();
+ return message;
+ }
+
+ public void exceptionHandler(Message message, Throwable exception)
+ {
+ logHeader();
+ System.out.println("!ERROR!");
+ System.out.println(exception.getMessage());
+ System.out.println("For Message: ");
+ System.out.println(message.getBody().get());
+ logFooter();
+ }
+
+ // This makes it easier to read on the console
+ private void logHeader()
+ {
+ System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+ }
+
+ private void logFooter()
+ {
+ System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+ }
+
+}
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendEsbMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendEsbMessage.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendEsbMessage.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3.test;
-
-import org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPoolContainer;
-import org.jboss.soa.esb.client.ServiceInvoker;
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.esb.message.format.MessageFactory;
-import org.jboss.soa.esb.message.format.MessageType;
-
-import org.jboss.soa.esb.actions.StoreMessageToFile;
-
-public class SendEsbMessage
-{
- /*
- * Send a message directly the the ESB internal JMS listener. Demonstrates
- * how one can bypass the gateway and speak directly to an ESB service.
- */
- public void sendMessage(String message) throws Exception
- {
- // Create the delivery adapter for the target service (cache it)
- System.setProperty("javax.xml.registry.ConnectionFactoryClass",
- "org.apache.ws.scout.registry.ConnectionFactoryImpl");
-
- // Create the delivery adapter for the target service (cache it)
- ServiceInvoker deliveryAdapter = new ServiceInvoker("MyServiceCategory",
- "Webserviceconsumer_wise3");
-
-
- // Create and populate the request message...
- Message requestMessage = MessageFactory.getInstance().getMessage(
- MessageType.JBOSS_XML);
-
- requestMessage.getBody().add(message);
-
- // Deliver the request message synchronously - timeout after 20
- // seconds...
- deliveryAdapter.deliverAsync(requestMessage);
- }
-
- public static void main(String args[]) throws Exception
- {
- SendEsbMessage sm = new SendEsbMessage();
- sm.sendMessage(args[0]);
- }
-
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendEsbMessage.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendEsbMessage.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendEsbMessage.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendEsbMessage.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3.test;
+
+import org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPoolContainer;
+import org.jboss.soa.esb.client.ServiceInvoker;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.format.MessageFactory;
+import org.jboss.soa.esb.message.format.MessageType;
+
+import org.jboss.soa.esb.actions.StoreMessageToFile;
+
+public class SendEsbMessage
+{
+ /*
+ * Send a message directly the the ESB internal JMS listener. Demonstrates
+ * how one can bypass the gateway and speak directly to an ESB service.
+ */
+ public void sendMessage(String message) throws Exception
+ {
+ // Create the delivery adapter for the target service (cache it)
+ System.setProperty("javax.xml.registry.ConnectionFactoryClass",
+ "org.apache.ws.scout.registry.ConnectionFactoryImpl");
+
+ // Create the delivery adapter for the target service (cache it)
+ ServiceInvoker deliveryAdapter = new ServiceInvoker("MyServiceCategory",
+ "Webserviceconsumer_wise3");
+
+
+ // Create and populate the request message...
+ Message requestMessage = MessageFactory.getInstance().getMessage(
+ MessageType.JBOSS_XML);
+
+ requestMessage.getBody().add(message);
+
+ // Deliver the request message synchronously - timeout after 20
+ // seconds...
+ deliveryAdapter.deliverAsync(requestMessage);
+ }
+
+ public static void main(String args[]) throws Exception
+ {
+ SendEsbMessage sm = new SendEsbMessage();
+ sm.sendMessage(args[0]);
+ }
+
+}
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendJMSMessage.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendJMSMessage.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,86 +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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3.test;
-
-import java.util.Properties;
-
-import javax.jms.JMSException;
-import javax.jms.ObjectMessage;
-import javax.jms.Queue;
-import javax.jms.QueueConnection;
-import javax.jms.QueueConnectionFactory;
-import javax.jms.QueueSender;
-import javax.jms.QueueSession;
-import javax.naming.Context;
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-
-public class SendJMSMessage {
- QueueConnection conn;
- QueueSession session;
- Queue que;
-
-
- public void setupConnection() throws JMSException, NamingException
- {
- Properties properties1 = new Properties();
- properties1.put(Context.INITIAL_CONTEXT_FACTORY,
- "org.jnp.interfaces.NamingContextFactory");
- properties1.put(Context.URL_PKG_PREFIXES,
- "org.jboss.naming:org.jnp.interfaces");
- properties1.put(Context.PROVIDER_URL, "jnp://127.0.0.1:1099");
- InitialContext iniCtx = new InitialContext(properties1);
-
- Object tmp = iniCtx.lookup("ConnectionFactory");
- QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
- conn = qcf.createQueueConnection();
- que = (Queue) iniCtx.lookup("queue/quickstart_webservice_consumer1_Request_gw");
- session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
- conn.start();
- System.out.println("Connection Started");
- }
-
- public void stop() throws JMSException
- {
- conn.stop();
- session.close();
- conn.close();
- }
-
- public void sendAMessage(String msg) throws JMSException {
-
- QueueSender send = session.createSender(que);
- ObjectMessage tm = session.createObjectMessage(msg);
- send.send(tm);
- send.close();
- }
-
-
- public static void main(String args[]) throws Exception
- {
- SendJMSMessage sm = new SendJMSMessage();
- sm.setupConnection();
- sm.sendAMessage(args[0]);
- sm.stop();
-
- }
-
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendJMSMessage.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendJMSMessage.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendJMSMessage.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise3/test/SendJMSMessage.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,86 @@
+/*
+ * 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.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise3.test;
+
+import java.util.Properties;
+
+import javax.jms.JMSException;
+import javax.jms.ObjectMessage;
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.QueueSender;
+import javax.jms.QueueSession;
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+
+public class SendJMSMessage {
+ QueueConnection conn;
+ QueueSession session;
+ Queue que;
+
+
+ public void setupConnection() throws JMSException, NamingException
+ {
+ Properties properties1 = new Properties();
+ properties1.put(Context.INITIAL_CONTEXT_FACTORY,
+ "org.jnp.interfaces.NamingContextFactory");
+ properties1.put(Context.URL_PKG_PREFIXES,
+ "org.jboss.naming:org.jnp.interfaces");
+ properties1.put(Context.PROVIDER_URL, "jnp://127.0.0.1:1099");
+ InitialContext iniCtx = new InitialContext(properties1);
+
+ Object tmp = iniCtx.lookup("ConnectionFactory");
+ QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
+ conn = qcf.createQueueConnection();
+ que = (Queue) iniCtx.lookup("queue/quickstart_webservice_consumer1_Request_gw");
+ session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+ conn.start();
+ System.out.println("Connection Started");
+ }
+
+ public void stop() throws JMSException
+ {
+ conn.stop();
+ session.close();
+ conn.close();
+ }
+
+ public void sendAMessage(String msg) throws JMSException {
+
+ QueueSender send = session.createSender(que);
+ ObjectMessage tm = session.createObjectMessage(msg);
+ send.send(tm);
+ send.close();
+ }
+
+
+ public static void main(String args[]) throws Exception
+ {
+ SendJMSMessage sm = new SendJMSMessage();
+ sm.setupConnection();
+ sm.sendAMessage(args[0]);
+ sm.stop();
+
+ }
+
+}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/lib (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/lib)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/lib/ext (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/lib/ext)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/lib/ext/jbossws-client.jar
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/lib/ext/jbossws-client.jar (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/lib/ext/jbossws-client.jar)
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/resources)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/classes (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/classes)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/lib (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/lib)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/web.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/web.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/web.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,15 +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>HelloWorldWS</servlet-name>
- <servlet-class>org.jboss.soa.esb.samples.quickstart.webservice_consumer1.HelloWorldWS</servlet-class>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>HelloWorldWS</servlet-name>
- <url-pattern>/HelloWorldWS</url-pattern>
- </servlet-mapping>
-
-</web-app>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/web.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/web.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/web.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/resources/WEB-INF/web.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,15 @@
+<?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>HelloWorldWS</servlet-name>
+ <servlet-class>org.jboss.soa.esb.samples.quickstart.webservice_consumer1.HelloWorldWS</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>HelloWorldWS</servlet-name>
+ <url-pattern>/HelloWorldWS</url-pattern>
+ </servlet-mapping>
+
+</web-app>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/src)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/src/org)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1 (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer1;
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-import javax.jws.soap.SOAPBinding;
-import javax.jws.WebParam;
-
- at WebService(name = "HelloWorld", targetNamespace = "http://webservice_consumer_wise3/helloworld")
-public class HelloWorldWS
-{
- @WebMethod
- public String sayHello(@WebParam(name = "toWhom")
- String toWhom)
- {
-
- String greeting = "Hello World Greeting for '" + toWhom + "' on " + new java.util.Date();
-
- return greeting;
-
- }
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer1;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.jws.WebParam;
+
+ at WebService(name = "HelloWorld", targetNamespace = "http://webservice_consumer_wise3/helloworld")
+public class HelloWorldWS
+{
+ @WebMethod
+ public String sayHello(@WebParam(name = "toWhom")
+ String toWhom)
+ {
+
+ String greeting = "Hello World Greeting for '" + toWhom + "' on " + new java.util.Date();
+
+ return greeting;
+
+ }
+}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/view (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/view)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/view/index.jsp
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/view/index.jsp 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/view/index.jsp 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/view/index.jsp (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/war/view/index.jsp)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/view/index.jsp (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/war/view/index.jsp 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/wise-core.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/wise-core.properties 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/wise-core.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,4 +0,0 @@
-wise.tmpDir=/home/oracle/wise
-wise.forceImportObject=true
-wise.keepGeneratedSources=true
-wise.wsImporter.verbose=true
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/wise-core.properties (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise3/wise-core.properties)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/wise-core.properties (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise3/wise-core.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,4 @@
+wise.tmpDir=/home/oracle/wise
+wise.forceImportObject=true
+wise.keepGeneratedSources=true
+wise.wsImporter.verbose=true
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4 (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/.ant-targets-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/.ant-targets-build.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/.ant-targets-build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,10 +0,0 @@
-Quickstart_webservice_consumer_wise
-clean
-deploy
-deploy-jms-dests
-help
-help-quickstarts
-makewar
-run
-undeploy
-undeploy-jms-dests
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/.ant-targets-build.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/.ant-targets-build.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/.ant-targets-build.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/.ant-targets-build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,10 @@
+Quickstart_webservice_consumer_wise
+clean
+deploy
+deploy-jms-dests
+help
+help-quickstarts
+makewar
+run
+undeploy
+undeploy-jms-dests
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/build.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,74 +0,0 @@
-<project name="Quickstart_webservice_consumer_wise4" default="deploy" basedir=".">
-
- <description>
- ${ant.project.name}
- ${line.separator}
- </description>
-
- <property name="additional.deploys" value="wise-core.properties,smooks-handler.xml" />
-
- <!-- Import the base Ant build script... -->
- <import file="../conf/base-build.xml"/>
-
-
- <property name="war.build.dir" location="${build.dir}/war/classes"/>
-
-
- <target name="quickstart-specific-checks" depends="assert-ws-available"/>
-
- <target name="quickstart-specific-assemblies" depends="makewar"/>
-
- <target name="makewar" description="make war">
- <!-- Compile... -->
- <mkdir dir="${war.build.dir}" />
- <javac srcdir="war/src" destdir="${war.build.dir}" debug="true">
- <classpath>
- <path refid="compile-classpath" />
- <fileset dir="war/lib/ext" includes="*.jar" />
- </classpath>
- </javac>
-
- <!-- War... -->
- <war warfile="build/${ant.project.name}.war"
- webxml="${basedir}/war/resources/WEB-INF/web.xml">
- <webinf dir="${basedir}/war/resources/WEB-INF">
- <include name="jboss-web.xml"/>
- </webinf>
- <classes dir="${war.build.dir}" includes="**/*.class"/>
- <fileset dir="${basedir}/war/view">
- <include name="**/*"/>
- </fileset>
- <classes dir="${basedir}">
- <include name="juddi.properties"/>
- </classes>
- </war>
- </target>
-
- <target name="deploy-war" depends="prepare-deployment">
- <copy todir="${org.jboss.esb.server.deploy.dir}"
- file="${build.dir}/${ant.project.name}.war"/>
- </target>
-
- <target name="undeploy-war" depends="dependencies">
- <delete verbose="true" quiet="true"
- file="${org.jboss.esb.server.deploy.dir}/${ant.project.name}.war"/>
- </target>
-
- <target name="sendjms" depends="compile">
- <echo>Send ESB message that triggers webservice call</echo>
- <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.test.SendJMSMessage" failonerror="true">
- <arg value="Jimbo"/>
- <classpath refid="exec-classpath"/>
- </java>
-
- </target>
-
- <target name="runtest" depends="compile">
- <echo>Send ESB message that triggers webservice call</echo>
- <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.test.SendEsbMessage" failonerror="true">
- <arg value="Jimbo"/>
- <classpath refid="exec-classpath"/>
- </java>
- </target>
-
-</project>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/build.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/build.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/build.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,74 @@
+<project name="Quickstart_webservice_consumer_wise4" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="additional.deploys" value="wise-core.properties,smooks-handler.xml" />
+
+ <!-- Import the base Ant build script... -->
+ <import file="../conf/base-build.xml"/>
+
+
+ <property name="war.build.dir" location="${build.dir}/war/classes"/>
+
+
+ <target name="quickstart-specific-checks" depends="assert-ws-available"/>
+
+ <target name="quickstart-specific-assemblies" depends="makewar"/>
+
+ <target name="makewar" description="make war">
+ <!-- Compile... -->
+ <mkdir dir="${war.build.dir}" />
+ <javac srcdir="war/src" destdir="${war.build.dir}" debug="true">
+ <classpath>
+ <path refid="compile-classpath" />
+ <fileset dir="war/lib/ext" includes="*.jar" />
+ </classpath>
+ </javac>
+
+ <!-- War... -->
+ <war warfile="build/${ant.project.name}.war"
+ webxml="${basedir}/war/resources/WEB-INF/web.xml">
+ <webinf dir="${basedir}/war/resources/WEB-INF">
+ <include name="jboss-web.xml"/>
+ </webinf>
+ <classes dir="${war.build.dir}" includes="**/*.class"/>
+ <fileset dir="${basedir}/war/view">
+ <include name="**/*"/>
+ </fileset>
+ <classes dir="${basedir}">
+ <include name="juddi.properties"/>
+ </classes>
+ </war>
+ </target>
+
+ <target name="deploy-war" depends="prepare-deployment">
+ <copy todir="${org.jboss.esb.server.deploy.dir}"
+ file="${build.dir}/${ant.project.name}.war"/>
+ </target>
+
+ <target name="undeploy-war" depends="dependencies">
+ <delete verbose="true" quiet="true"
+ file="${org.jboss.esb.server.deploy.dir}/${ant.project.name}.war"/>
+ </target>
+
+ <target name="sendjms" depends="compile">
+ <echo>Send ESB message that triggers webservice call</echo>
+ <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.test.SendJMSMessage" failonerror="true">
+ <arg value="Jimbo"/>
+ <classpath refid="exec-classpath"/>
+ </java>
+
+ </target>
+
+ <target name="runtest" depends="compile">
+ <echo>Send ESB message that triggers webservice call</echo>
+ <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.test.SendEsbMessage" failonerror="true">
+ <arg value="Jimbo"/>
+ <classpath refid="exec-classpath"/>
+ </java>
+ </target>
+
+</project>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/deployment.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/deployment.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/deployment.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,6 +0,0 @@
-<jbossesb-deployment>
- <depends>jboss.esb:deployment=soap.esb</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise4_esb</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise4_esb_reply</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise4_Request_gw</depends>
-</jbossesb-deployment>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/deployment.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/deployment.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/deployment.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/deployment.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,6 @@
+<jbossesb-deployment>
+ <depends>jboss.esb:deployment=soap.esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise4_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise4_esb_reply</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_consumer_wise4_Request_gw</depends>
+</jbossesb-deployment>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/jbm-queue-service.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbm-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,21 +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_webservice_consumer_wise4_esb"
- 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_webservice_consumer_wise4_esb_reply"
- 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_webservice_consumer_wise4_Request_gw"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-</server>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbm-queue-service.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/jbm-queue-service.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbm-queue-service.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbm-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,21 @@
+<?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_webservice_consumer_wise4_esb"
+ 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_webservice_consumer_wise4_esb_reply"
+ 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_webservice_consumer_wise4_Request_gw"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbmq-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/jbmq-queue-service.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbmq-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,21 +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_webservice_consumer_wise4_esb">
- <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_webservice_consumer_wise4_esb_reply">
- <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_webservice_consumer_wise4_Request_gw">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
-</server>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbmq-queue-service.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/jbmq-queue-service.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbmq-queue-service.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbmq-queue-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,21 @@
+<?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_webservice_consumer_wise4_esb">
+ <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_webservice_consumer_wise4_esb_reply">
+ <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_webservice_consumer_wise4_Request_gw">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+</server>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/jboss-esb.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,66 +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"
- parameterReloadSecs="5">
-
- <providers>
- <jms-provider name="JBossMQ"
- connection-factory="ConnectionFactory"
- jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
- jndi-URL="localhost">
- <jms-bus busid="quickstartGwChannel">
- <jms-message-filter
- dest-type="QUEUE"
- dest-name="queue/quickstart_webservice_consumer_wise4_Request_gw"
- />
- </jms-bus>
-
- <jms-bus busid="quickstartEsbChannel">
- <jms-message-filter dest-type="QUEUE"
- dest-name="queue/quickstart_webservice_consumer_wise4_esb" />
- </jms-bus>
-
- </jms-provider>
- </providers>
-
- <services>
- <service category="MyServiceCategory" name="Webserviceconsumer_wise4"
- description="Helloworld Webservice Consumer">
- <listeners>
- <jms-listener name="JMS-ESBListener"
- busidref="quickstartEsbChannel"/>
- <jms-listener name="JMS-Gateway"
- busidref="quickstartGwChannel"
- is-gateway="true"
- />
-
- </listeners>
- <actions mep="OneWay">
- <action name="request-mapper"
- class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.MyRequestAction">
- </action>
- <action name="soapui-client-action"
- class="org.jboss.soa.esb.actions.soap.wise.SOAPClient">
- <property name="wsdl"
- value="http://127.0.0.1:8080/Quickstart_webservice_consumer_wise4/HelloWorldWS?wsdl" />
- <property name="SOAPAction" value="sayHello"/>
- <property name="EndPointName" value="HelloWorldPort"/>
- <property name="LoggingMessages" value="true" />
- <property name="smooks-handler-config" value="smooks-handler.xml"></property>
- <property name="custom-handlers" value="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.handler.MyCustomLoggingHandler;org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.handler.MyCustomLoggingHandler2" />
- <property name="serviceName" value="HelloWorldWS"/>
- <property name="userName" value=""/>
- <property name="password" value=""/>
-
- </action>
- <action name="response-mapper"
- class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.MyResponseAction">
- </action>
- <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore">
-
- </action>
- </actions>
- </service>
- </services>
-
-</jbossesb>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jboss-esb.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/jboss-esb.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jboss-esb.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,66 @@
+<?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"
+ parameterReloadSecs="5">
+
+ <providers>
+ <jms-provider name="JBossMQ"
+ connection-factory="ConnectionFactory"
+ jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
+ jndi-URL="localhost">
+ <jms-bus busid="quickstartGwChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_webservice_consumer_wise4_Request_gw"
+ />
+ </jms-bus>
+
+ <jms-bus busid="quickstartEsbChannel">
+ <jms-message-filter dest-type="QUEUE"
+ dest-name="queue/quickstart_webservice_consumer_wise4_esb" />
+ </jms-bus>
+
+ </jms-provider>
+ </providers>
+
+ <services>
+ <service category="MyServiceCategory" name="Webserviceconsumer_wise4"
+ description="Helloworld Webservice Consumer">
+ <listeners>
+ <jms-listener name="JMS-ESBListener"
+ busidref="quickstartEsbChannel"/>
+ <jms-listener name="JMS-Gateway"
+ busidref="quickstartGwChannel"
+ is-gateway="true"
+ />
+
+ </listeners>
+ <actions mep="OneWay">
+ <action name="request-mapper"
+ class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.MyRequestAction">
+ </action>
+ <action name="soapui-client-action"
+ class="org.jboss.soa.esb.actions.soap.wise.SOAPClient">
+ <property name="wsdl"
+ value="http://127.0.0.1:8080/Quickstart_webservice_consumer_wise4/HelloWorldWS?wsdl" />
+ <property name="SOAPAction" value="sayHello"/>
+ <property name="EndPointName" value="HelloWorldPort"/>
+ <property name="LoggingMessages" value="true" />
+ <property name="smooks-handler-config" value="smooks-handler.xml"></property>
+ <property name="custom-handlers" value="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.handler.MyCustomLoggingHandler;org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.handler.MyCustomLoggingHandler2" />
+ <property name="serviceName" value="HelloWorldWS"/>
+ <property name="userName" value=""/>
+ <property name="password" value=""/>
+
+ </action>
+ <action name="response-mapper"
+ class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.MyResponseAction">
+ </action>
+ <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore">
+
+ </action>
+ </actions>
+ </service>
+ </services>
+
+</jbossesb>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbossesb-properties.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/jbossesb-properties.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbossesb-properties.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,84 +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/jbossesb"/>
- <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"/>
- </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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbossesb-properties.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/jbossesb-properties.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbossesb-properties.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jbossesb-properties.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,84 @@
+<?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/jbossesb"/>
+ <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"/>
+ </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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jndi.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/jndi.properties 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jndi.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jndi.properties (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/jndi.properties)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jndi.properties (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/jndi.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/juddi.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/juddi.properties 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/juddi.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/juddi.properties (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/juddi.properties)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/juddi.properties (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/juddi.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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
+
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/lib (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/lib)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/listener.log
===================================================================
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/listener.log (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/listener.log)
===================================================================
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/log4j.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/log4j.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/log4j.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,78 +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="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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/log4j.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/log4j.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/log4j.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/log4j.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,78 @@
+<?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="quickstart">
+ <priority value="INFO"/>
+ </category>
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/readme.txt 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/readme.txt 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,92 +0,0 @@
-Overview:
-=========
- This example demonstrates how to consume a 181 Web Service in an ESB action.
- This ESB will make a webservice request that requires a single "toWhom" string parameter.
- The webservice will return a greeting response. The ESB simply dislays the response on the
- console.
-
-Running this quickstart:
-========================
- Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts and a
- more detailed descripton of the different ways to run the quickstarts.
-
-To Run standalone mode:
-=======================
- This quickstart will not currently run in standalone mode.
-
-To Run '.esb' archive mode:
-===========================
- 1. In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
- 1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.
- 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
-
- 'runtest' target description:
- In a separate command prompt window, run "ant runtest" to shoot a JMS message
- into the listener which will then invoke the MyJMSListenerAction and display
- it to the console. You can modify the build.xml to change the phrase
- "Hello World" to something else and re-run "ant runtest".
-
- You should output that looks like this, after running "ant runtest":
- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- 12:35:47,975 INFO [STDOUT] Request map is: {sayHello.toWhom=Jimbo}
- 12:35:47,975 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- 12:35:47,990 WARN [HttpMethodBase] Going to buffer response body of large or unknown size. Using
- getResponseBodyAsStream instead is recommended.
- 12:35:47,991 INFO [STDOUT]
- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- 12:35:47,991 INFO [STDOUT] Response Map is:
- <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
- <env:Header></env:Header>
- <env:Body>
- <hel:sayHelloResponse xmlns:hel='http://webservice_consumer1/helloworld'>
- <return>Hello World Greeting for 'Jimbo' on Sat Jul 14 12:35:47 EDT 2007</return>
- </hel:sayHelloResponse></env:Body></env:Envelope>
- 12:35:47,991 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-
-Project file descriptions:
-==========================
-
- jboss-esb.xml:
- There is no JMS gateway in this quickstart. A java client talks directly to the ESB
- listener queue called "queue/quickstart_webservice_consumer1_esb". The actions in
- jboss-esb.xml convert the ESB message into to a webservice parameter Map, make a call
- to the HelloWorldWS webservice, then print the response on the console. Both juddi.properties
- and jbossesb-properties.xml are used when the service first boots up for self-registration
- based upon the service-category and service-name found in the esb-config.xml file.
-
- jndi.properties:
- Needed primarily for org.jboss.soa.esb.samples.quickstart.webservice_consumer1.test.SendESBMessage that is fired by ant runtest.
-
- log4j.xml:
- Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
-
- src/../SendEsbMessage.java:
- Send a message directly the the ESB internal JMS listener. Demonstrates how one can bypass the
- gateway and speak directly to an ESB service.
-
- src/../MyRequestAction.java
- Convert the message body into a webservice request parameter Map that only has one paramater called
- "sayHello.toWhom" for the web service call. The request parameter map is named
- "helloworld-request-parameters".
-
- org.jboss.soa.esb.actions.soap.SOAPClient
- This class is used to make the call to the webservice. It will take the
- parameters that MyRequestAction set in "paramsLocation", call the webservice, then place
- the response in "responseLocation". This is zero Java code ESB wiring in jboss-esb.xml.
-
- src/../MyResponseAction.java
- Retrieve the webservice response and display it on the console. The response location name
- is "helloworld-response".
-
- build.xml:
- Targets and structure description:
- * the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
- front of the list
- * the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
- Usage is: ant echoCP > myclasspath.txt
- This generates a file called myclasspath.txt which can be reviewed in a text editor
- * the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and
- esb-config-gateway.xml files
- * the runtest task calls the org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage class and passes in an argument representing
- the string-based message to be pused into the queue the gateway is listening on.
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/readme.txt (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/readme.txt)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/readme.txt (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/readme.txt 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,92 @@
+Overview:
+=========
+ This example demonstrates how to consume a 181 Web Service in an ESB action.
+ This ESB will make a webservice request that requires a single "toWhom" string parameter.
+ The webservice will return a greeting response. The ESB simply dislays the response on the
+ console.
+
+Running this quickstart:
+========================
+ Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts and a
+ more detailed descripton of the different ways to run the quickstarts.
+
+To Run standalone mode:
+=======================
+ This quickstart will not currently run in standalone mode.
+
+To Run '.esb' archive mode:
+===========================
+ 1. In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
+ 1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.
+ 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
+
+ 'runtest' target description:
+ In a separate command prompt window, run "ant runtest" to shoot a JMS message
+ into the listener which will then invoke the MyJMSListenerAction and display
+ it to the console. You can modify the build.xml to change the phrase
+ "Hello World" to something else and re-run "ant runtest".
+
+ You should output that looks like this, after running "ant runtest":
+ &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+ 12:35:47,975 INFO [STDOUT] Request map is: {sayHello.toWhom=Jimbo}
+ 12:35:47,975 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+ 12:35:47,990 WARN [HttpMethodBase] Going to buffer response body of large or unknown size. Using
+ getResponseBodyAsStream instead is recommended.
+ 12:35:47,991 INFO [STDOUT]
+ &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+ 12:35:47,991 INFO [STDOUT] Response Map is:
+ <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
+ <env:Header></env:Header>
+ <env:Body>
+ <hel:sayHelloResponse xmlns:hel='http://webservice_consumer1/helloworld'>
+ <return>Hello World Greeting for 'Jimbo' on Sat Jul 14 12:35:47 EDT 2007</return>
+ </hel:sayHelloResponse></env:Body></env:Envelope>
+ 12:35:47,991 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
+
+Project file descriptions:
+==========================
+
+ jboss-esb.xml:
+ There is no JMS gateway in this quickstart. A java client talks directly to the ESB
+ listener queue called "queue/quickstart_webservice_consumer1_esb". The actions in
+ jboss-esb.xml convert the ESB message into to a webservice parameter Map, make a call
+ to the HelloWorldWS webservice, then print the response on the console. Both juddi.properties
+ and jbossesb-properties.xml are used when the service first boots up for self-registration
+ based upon the service-category and service-name found in the esb-config.xml file.
+
+ jndi.properties:
+ Needed primarily for org.jboss.soa.esb.samples.quickstart.webservice_consumer1.test.SendESBMessage that is fired by ant runtest.
+
+ log4j.xml:
+ Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
+
+ src/../SendEsbMessage.java:
+ Send a message directly the the ESB internal JMS listener. Demonstrates how one can bypass the
+ gateway and speak directly to an ESB service.
+
+ src/../MyRequestAction.java
+ Convert the message body into a webservice request parameter Map that only has one paramater called
+ "sayHello.toWhom" for the web service call. The request parameter map is named
+ "helloworld-request-parameters".
+
+ org.jboss.soa.esb.actions.soap.SOAPClient
+ This class is used to make the call to the webservice. It will take the
+ parameters that MyRequestAction set in "paramsLocation", call the webservice, then place
+ the response in "responseLocation". This is zero Java code ESB wiring in jboss-esb.xml.
+
+ src/../MyResponseAction.java
+ Retrieve the webservice response and display it on the console. The response location name
+ is "helloworld-response".
+
+ build.xml:
+ Targets and structure description:
+ * the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
+ front of the list
+ * the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
+ Usage is: ant echoCP > myclasspath.txt
+ This generates a file called myclasspath.txt which can be reviewed in a text editor
+ * the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and
+ esb-config-gateway.xml files
+ * the runtest task calls the org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage class and passes in an argument representing
+ the string-based message to be pused into the queue the gateway is listening on.
\ No newline at end of file
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/smooks-handler.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/smooks-handler.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/smooks-handler.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,15 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <resource-config selector="header">
- <resource type="xsl">
- <![CDATA[
- <sign:sign xmlns:sign="uri://org.example.webservices.signature.Sign">
- </sign:sign>
- ]]>
- </resource>
- <param name="is-xslt-templatelet">true</param>
- <param name="action">addto</param>
- </resource-config>
-
-</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/smooks-handler.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/smooks-handler.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/smooks-handler.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/smooks-handler.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+
+ <resource-config selector="header">
+ <resource type="xsl">
+ <![CDATA[
+ <sign:sign xmlns:sign="uri://org.example.webservices.signature.Sign">
+ </sign:sign>
+ ]]>
+ </resource>
+ <param name="is-xslt-templatelet">true</param>
+ <param name="action">addto</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4 (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyRequestAction.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyRequestAction.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyRequestAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,86 +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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4;
-
-import org.jboss.soa.esb.actions.AbstractActionLifecycle;
-import org.jboss.soa.esb.actions.ActionUtils;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.message.Body;
-import org.jboss.soa.esb.message.Message;
-import java.util.HashMap;
-
-public class MyRequestAction extends AbstractActionLifecycle
-{
- protected ConfigTree _config;
-
- public MyRequestAction(ConfigTree config)
- {
- _config = config;
- }
-
- public Message noOperation(Message message)
- {
- return message;
- }
-
- /*
- * Convert the message into a webservice request map.
- */
- public Message process(Message message) throws Exception
- {
- logHeader();
- String msgBody = (String) message.getBody().get();
- HashMap requestMap = new HashMap();
-
- // add paramaters to the web service request map
- requestMap.put("toWhom", msgBody);
-
- // The "paramsLocation" property was set in jboss-esb.xml to
- // "helloworld-request-parameters"
- message.getBody().add(requestMap);
- System.out.println("Request map is: " + requestMap.toString());
-
- logFooter();
- return message;
- }
-
- public void exceptionHandler(Message message, Throwable exception)
- {
- logHeader();
- System.out.println("!ERROR!");
- System.out.println(exception.getMessage());
- System.out.println("For Message: ");
- System.out.println(message.getBody().get());
- logFooter();
- }
-
- // This makes it easier to read on the console
- private void logHeader()
- {
- System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
- }
-
- private void logFooter()
- {
- System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
- }
-
-}
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyRequestAction.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyRequestAction.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyRequestAction.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyRequestAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,86 @@
+/*
+ * 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.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.actions.ActionUtils;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Body;
+import org.jboss.soa.esb.message.Message;
+import java.util.HashMap;
+
+public class MyRequestAction extends AbstractActionLifecycle
+{
+ protected ConfigTree _config;
+
+ public MyRequestAction(ConfigTree config)
+ {
+ _config = config;
+ }
+
+ public Message noOperation(Message message)
+ {
+ return message;
+ }
+
+ /*
+ * Convert the message into a webservice request map.
+ */
+ public Message process(Message message) throws Exception
+ {
+ logHeader();
+ String msgBody = (String) message.getBody().get();
+ HashMap requestMap = new HashMap();
+
+ // add paramaters to the web service request map
+ requestMap.put("toWhom", msgBody);
+
+ // The "paramsLocation" property was set in jboss-esb.xml to
+ // "helloworld-request-parameters"
+ message.getBody().add(requestMap);
+ System.out.println("Request map is: " + requestMap.toString());
+
+ logFooter();
+ return message;
+ }
+
+ public void exceptionHandler(Message message, Throwable exception)
+ {
+ logHeader();
+ System.out.println("!ERROR!");
+ System.out.println(exception.getMessage());
+ System.out.println("For Message: ");
+ System.out.println(message.getBody().get());
+ logFooter();
+ }
+
+ // This makes it easier to read on the console
+ private void logHeader()
+ {
+ System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+ }
+
+ private void logFooter()
+ {
+ System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+ }
+
+}
\ No newline at end of file
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyResponseAction.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyResponseAction.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyResponseAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,82 +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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4;
-
-import org.jboss.soa.esb.actions.AbstractActionLifecycle;
-import org.jboss.soa.esb.actions.ActionUtils;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.message.Body;
-import org.jboss.soa.esb.message.Message;
-import java.util.Map;
-
-public class MyResponseAction extends AbstractActionLifecycle
-{
- protected ConfigTree _config;
-
- public MyResponseAction(ConfigTree config)
- {
- _config = config;
- }
-
- public Message noOperation(Message message)
- {
- return message;
- }
-
- /*
- * Retrieve and output the webservice response.
- */
- public Message process(Message message) throws Exception
- {
-
- logHeader();
-
- // The "responseLocation" property was set in jboss-esb.xml to
- // "helloworld-response"
- Map responseMsg = (Map) message.getBody().get(Body.DEFAULT_LOCATION);
- System.out.println("Response Map is: " + responseMsg);
-
- logFooter();
- return message;
- }
-
- public void exceptionHandler(Message message, Throwable exception)
- {
- logHeader();
- System.out.println("!ERROR!");
- System.out.println(exception.getMessage());
- System.out.println("For Message: ");
- System.out.println(message.getBody().get());
- logFooter();
- }
-
- // This makes it easier to read on the console
- private void logHeader()
- {
- System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
- }
-
- private void logFooter()
- {
- System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
- }
-
-}
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyResponseAction.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyResponseAction.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyResponseAction.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/MyResponseAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,82 @@
+/*
+ * 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.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.actions.ActionUtils;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Body;
+import org.jboss.soa.esb.message.Message;
+import java.util.Map;
+
+public class MyResponseAction extends AbstractActionLifecycle
+{
+ protected ConfigTree _config;
+
+ public MyResponseAction(ConfigTree config)
+ {
+ _config = config;
+ }
+
+ public Message noOperation(Message message)
+ {
+ return message;
+ }
+
+ /*
+ * Retrieve and output the webservice response.
+ */
+ public Message process(Message message) throws Exception
+ {
+
+ logHeader();
+
+ // The "responseLocation" property was set in jboss-esb.xml to
+ // "helloworld-response"
+ Map responseMsg = (Map) message.getBody().get(Body.DEFAULT_LOCATION);
+ System.out.println("Response Map is: " + responseMsg);
+
+ logFooter();
+ return message;
+ }
+
+ public void exceptionHandler(Message message, Throwable exception)
+ {
+ logHeader();
+ System.out.println("!ERROR!");
+ System.out.println(exception.getMessage());
+ System.out.println("For Message: ");
+ System.out.println(message.getBody().get());
+ logFooter();
+ }
+
+ // This makes it easier to read on the console
+ private void logHeader()
+ {
+ System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+ }
+
+ private void logFooter()
+ {
+ System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+ }
+
+}
\ No newline at end of file
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,107 +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,
- * @author JBoss Inc.
- */
-
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.handler;
-
-import java.io.PrintStream;
-import java.util.Set;
-
-import javax.xml.namespace.QName;
-import javax.xml.soap.MessageFactory;
-import javax.xml.soap.SOAPFactory;
-import javax.xml.soap.SOAPMessage;
-import javax.xml.ws.handler.MessageContext;
-import javax.xml.ws.handler.soap.SOAPHandler;
-import javax.xml.ws.handler.soap.SOAPMessageContext;
-
-/**
- * This simple SOAPHandler will output the contents of incoming and outgoing
- * messages. Check the MESSAGE_OUTBOUND_PROPERTY in the context to see if this
- * is an outgoing or incoming message. Write a brief message to the print stream
- * and output the message.
- *
- * @author Stefano Maestri, stefano.maestri at javalinux.it
- */
-public class MyCustomLoggingHandler implements SOAPHandler<SOAPMessageContext> {
-
- private PrintStream outputStream = System.out;
-
- /**
- * Default constructor using default System.out PrintStream to print message
- */
- public MyCustomLoggingHandler() {
-
- }
-
- /**
- * Constructor for custom PrintStream outputter
- *
- * @param outStream
- * the PrintStream to use to print messages.
- */
- public MyCustomLoggingHandler(PrintStream outStream) {
- this.outputStream = outStream;
- }
-
- public Set<QName> getHeaders() {
- return null;
- }
-
- public boolean handleMessage(SOAPMessageContext smc) {
- logToSystemOut(smc);
- return true;
- }
-
- public boolean handleFault(SOAPMessageContext smc) {
- logToSystemOut(smc);
- return true;
- }
-
- // nothing to clean up
- public void close(MessageContext messageContext) {
- }
-
- private void logToSystemOut(SOAPMessageContext smc) {
- Boolean outboundProperty = (Boolean) smc.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
-
- if (outboundProperty.booleanValue()) {
- outputStream.println("\nMY CUSTOM LOGGING - I got this message:");
- } else {
- outputStream.println("\nMY CUSTOM LOGGING - I send this message:");
- }
- SOAPMessage message = smc.getMessage();
- try {
- message.writeTo(outputStream);
- outputStream.println(""); // just to add a newline
- } catch (Exception e) {
- outputStream.println("Exception in handler: " + e);
- }
- }
-
- /**
- *
- * @param outputStream
- * custom PrintStream outputter
- */
- public void setOutputStream(PrintStream outputStream) {
- this.outputStream = outputStream;
- }
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,107 @@
+/*
+ * 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.
+ */
+
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.handler;
+
+import java.io.PrintStream;
+import java.util.Set;
+
+import javax.xml.namespace.QName;
+import javax.xml.soap.MessageFactory;
+import javax.xml.soap.SOAPFactory;
+import javax.xml.soap.SOAPMessage;
+import javax.xml.ws.handler.MessageContext;
+import javax.xml.ws.handler.soap.SOAPHandler;
+import javax.xml.ws.handler.soap.SOAPMessageContext;
+
+/**
+ * This simple SOAPHandler will output the contents of incoming and outgoing
+ * messages. Check the MESSAGE_OUTBOUND_PROPERTY in the context to see if this
+ * is an outgoing or incoming message. Write a brief message to the print stream
+ * and output the message.
+ *
+ * @author Stefano Maestri, stefano.maestri at javalinux.it
+ */
+public class MyCustomLoggingHandler implements SOAPHandler<SOAPMessageContext> {
+
+ private PrintStream outputStream = System.out;
+
+ /**
+ * Default constructor using default System.out PrintStream to print message
+ */
+ public MyCustomLoggingHandler() {
+
+ }
+
+ /**
+ * Constructor for custom PrintStream outputter
+ *
+ * @param outStream
+ * the PrintStream to use to print messages.
+ */
+ public MyCustomLoggingHandler(PrintStream outStream) {
+ this.outputStream = outStream;
+ }
+
+ public Set<QName> getHeaders() {
+ return null;
+ }
+
+ public boolean handleMessage(SOAPMessageContext smc) {
+ logToSystemOut(smc);
+ return true;
+ }
+
+ public boolean handleFault(SOAPMessageContext smc) {
+ logToSystemOut(smc);
+ return true;
+ }
+
+ // nothing to clean up
+ public void close(MessageContext messageContext) {
+ }
+
+ private void logToSystemOut(SOAPMessageContext smc) {
+ Boolean outboundProperty = (Boolean) smc.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
+
+ if (outboundProperty.booleanValue()) {
+ outputStream.println("\nMY CUSTOM LOGGING - I got this message:");
+ } else {
+ outputStream.println("\nMY CUSTOM LOGGING - I send this message:");
+ }
+ SOAPMessage message = smc.getMessage();
+ try {
+ message.writeTo(outputStream);
+ outputStream.println(""); // just to add a newline
+ } catch (Exception e) {
+ outputStream.println("Exception in handler: " + e);
+ }
+ }
+
+ /**
+ *
+ * @param outputStream
+ * custom PrintStream outputter
+ */
+ public void setOutputStream(PrintStream outputStream) {
+ this.outputStream = outputStream;
+ }
+}
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler2.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler2.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler2.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,107 +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,
- * @author JBoss Inc.
- */
-
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.handler;
-
-import java.io.PrintStream;
-import java.util.Set;
-
-import javax.xml.namespace.QName;
-import javax.xml.soap.MessageFactory;
-import javax.xml.soap.SOAPFactory;
-import javax.xml.soap.SOAPMessage;
-import javax.xml.ws.handler.MessageContext;
-import javax.xml.ws.handler.soap.SOAPHandler;
-import javax.xml.ws.handler.soap.SOAPMessageContext;
-
-/**
- * This simple SOAPHandler will output the contents of incoming and outgoing
- * messages. Check the MESSAGE_OUTBOUND_PROPERTY in the context to see if this
- * is an outgoing or incoming message. Write a brief message to the print stream
- * and output the message.
- *
- * @author Stefano Maestri, stefano.maestri at javalinux.it
- */
-public class MyCustomLoggingHandler2 implements SOAPHandler<SOAPMessageContext> {
-
- private PrintStream outputStream = System.out;
-
- /**
- * Default constructor using default System.out PrintStream to print message
- */
- public MyCustomLoggingHandler2() {
-
- }
-
- /**
- * Constructor for custom PrintStream outputter
- *
- * @param outStream
- * the PrintStream to use to print messages.
- */
- public MyCustomLoggingHandler2(PrintStream outStream) {
- this.outputStream = outStream;
- }
-
- public Set<QName> getHeaders() {
- return null;
- }
-
- public boolean handleMessage(SOAPMessageContext smc) {
- logToSystemOut(smc);
- return true;
- }
-
- public boolean handleFault(SOAPMessageContext smc) {
- logToSystemOut(smc);
- return true;
- }
-
- // nothing to clean up
- public void close(MessageContext messageContext) {
- }
-
- private void logToSystemOut(SOAPMessageContext smc) {
- Boolean outboundProperty = (Boolean) smc.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
-
- if (outboundProperty.booleanValue()) {
- outputStream.println("\nMY CUSTOM LOGGING 2 - what a beautiful message I have just received:");
- } else {
- outputStream.println("\nMY CUSTOM LOGGING 2 - what a beautiful message I'm ready to send:");
- }
- SOAPMessage message = smc.getMessage();
- try {
- message.writeTo(outputStream);
- outputStream.println(""); // just to add a newline
- } catch (Exception e) {
- outputStream.println("Exception in handler: " + e);
- }
- }
-
- /**
- *
- * @param outputStream
- * custom PrintStream outputter
- */
- public void setOutputStream(PrintStream outputStream) {
- this.outputStream = outputStream;
- }
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler2.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler2.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler2.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/handler/MyCustomLoggingHandler2.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,107 @@
+/*
+ * 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.
+ */
+
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.handler;
+
+import java.io.PrintStream;
+import java.util.Set;
+
+import javax.xml.namespace.QName;
+import javax.xml.soap.MessageFactory;
+import javax.xml.soap.SOAPFactory;
+import javax.xml.soap.SOAPMessage;
+import javax.xml.ws.handler.MessageContext;
+import javax.xml.ws.handler.soap.SOAPHandler;
+import javax.xml.ws.handler.soap.SOAPMessageContext;
+
+/**
+ * This simple SOAPHandler will output the contents of incoming and outgoing
+ * messages. Check the MESSAGE_OUTBOUND_PROPERTY in the context to see if this
+ * is an outgoing or incoming message. Write a brief message to the print stream
+ * and output the message.
+ *
+ * @author Stefano Maestri, stefano.maestri at javalinux.it
+ */
+public class MyCustomLoggingHandler2 implements SOAPHandler<SOAPMessageContext> {
+
+ private PrintStream outputStream = System.out;
+
+ /**
+ * Default constructor using default System.out PrintStream to print message
+ */
+ public MyCustomLoggingHandler2() {
+
+ }
+
+ /**
+ * Constructor for custom PrintStream outputter
+ *
+ * @param outStream
+ * the PrintStream to use to print messages.
+ */
+ public MyCustomLoggingHandler2(PrintStream outStream) {
+ this.outputStream = outStream;
+ }
+
+ public Set<QName> getHeaders() {
+ return null;
+ }
+
+ public boolean handleMessage(SOAPMessageContext smc) {
+ logToSystemOut(smc);
+ return true;
+ }
+
+ public boolean handleFault(SOAPMessageContext smc) {
+ logToSystemOut(smc);
+ return true;
+ }
+
+ // nothing to clean up
+ public void close(MessageContext messageContext) {
+ }
+
+ private void logToSystemOut(SOAPMessageContext smc) {
+ Boolean outboundProperty = (Boolean) smc.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
+
+ if (outboundProperty.booleanValue()) {
+ outputStream.println("\nMY CUSTOM LOGGING 2 - what a beautiful message I have just received:");
+ } else {
+ outputStream.println("\nMY CUSTOM LOGGING 2 - what a beautiful message I'm ready to send:");
+ }
+ SOAPMessage message = smc.getMessage();
+ try {
+ message.writeTo(outputStream);
+ outputStream.println(""); // just to add a newline
+ } catch (Exception e) {
+ outputStream.println("Exception in handler: " + e);
+ }
+ }
+
+ /**
+ *
+ * @param outputStream
+ * custom PrintStream outputter
+ */
+ public void setOutputStream(PrintStream outputStream) {
+ this.outputStream = outputStream;
+ }
+}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendEsbMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendEsbMessage.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendEsbMessage.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.test;
-
-import org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPoolContainer;
-import org.jboss.soa.esb.client.ServiceInvoker;
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.esb.message.format.MessageFactory;
-import org.jboss.soa.esb.message.format.MessageType;
-
-import org.jboss.soa.esb.actions.StoreMessageToFile;
-
-public class SendEsbMessage
-{
- /*
- * Send a message directly the the ESB internal JMS listener. Demonstrates
- * how one can bypass the gateway and speak directly to an ESB service.
- */
- public void sendMessage(String message) throws Exception
- {
- // Create the delivery adapter for the target service (cache it)
- System.setProperty("javax.xml.registry.ConnectionFactoryClass",
- "org.apache.ws.scout.registry.ConnectionFactoryImpl");
-
- // Create the delivery adapter for the target service (cache it)
- ServiceInvoker deliveryAdapter = new ServiceInvoker("MyServiceCategory",
- "Webserviceconsumer_wise4");
-
-
- // Create and populate the request message...
- Message requestMessage = MessageFactory.getInstance().getMessage(
- MessageType.JBOSS_XML);
-
- requestMessage.getBody().add(message);
-
- // Deliver the request message synchronously - timeout after 20
- // seconds...
- deliveryAdapter.deliverAsync(requestMessage);
- }
-
- public static void main(String args[]) throws Exception
- {
- SendEsbMessage sm = new SendEsbMessage();
- sm.sendMessage(args[0]);
- }
-
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendEsbMessage.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendEsbMessage.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendEsbMessage.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendEsbMessage.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.test;
+
+import org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPoolContainer;
+import org.jboss.soa.esb.client.ServiceInvoker;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.format.MessageFactory;
+import org.jboss.soa.esb.message.format.MessageType;
+
+import org.jboss.soa.esb.actions.StoreMessageToFile;
+
+public class SendEsbMessage
+{
+ /*
+ * Send a message directly the the ESB internal JMS listener. Demonstrates
+ * how one can bypass the gateway and speak directly to an ESB service.
+ */
+ public void sendMessage(String message) throws Exception
+ {
+ // Create the delivery adapter for the target service (cache it)
+ System.setProperty("javax.xml.registry.ConnectionFactoryClass",
+ "org.apache.ws.scout.registry.ConnectionFactoryImpl");
+
+ // Create the delivery adapter for the target service (cache it)
+ ServiceInvoker deliveryAdapter = new ServiceInvoker("MyServiceCategory",
+ "Webserviceconsumer_wise4");
+
+
+ // Create and populate the request message...
+ Message requestMessage = MessageFactory.getInstance().getMessage(
+ MessageType.JBOSS_XML);
+
+ requestMessage.getBody().add(message);
+
+ // Deliver the request message synchronously - timeout after 20
+ // seconds...
+ deliveryAdapter.deliverAsync(requestMessage);
+ }
+
+ public static void main(String args[]) throws Exception
+ {
+ SendEsbMessage sm = new SendEsbMessage();
+ sm.sendMessage(args[0]);
+ }
+
+}
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendJMSMessage.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendJMSMessage.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,86 +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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.test;
-
-import java.util.Properties;
-
-import javax.jms.JMSException;
-import javax.jms.ObjectMessage;
-import javax.jms.Queue;
-import javax.jms.QueueConnection;
-import javax.jms.QueueConnectionFactory;
-import javax.jms.QueueSender;
-import javax.jms.QueueSession;
-import javax.naming.Context;
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-
-public class SendJMSMessage {
- QueueConnection conn;
- QueueSession session;
- Queue que;
-
-
- public void setupConnection() throws JMSException, NamingException
- {
- Properties properties1 = new Properties();
- properties1.put(Context.INITIAL_CONTEXT_FACTORY,
- "org.jnp.interfaces.NamingContextFactory");
- properties1.put(Context.URL_PKG_PREFIXES,
- "org.jboss.naming:org.jnp.interfaces");
- properties1.put(Context.PROVIDER_URL, "jnp://127.0.0.1:1099");
- InitialContext iniCtx = new InitialContext(properties1);
-
- Object tmp = iniCtx.lookup("ConnectionFactory");
- QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
- conn = qcf.createQueueConnection();
- que = (Queue) iniCtx.lookup("queue/quickstart_webservice_consumer1_Request_gw");
- session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
- conn.start();
- System.out.println("Connection Started");
- }
-
- public void stop() throws JMSException
- {
- conn.stop();
- session.close();
- conn.close();
- }
-
- public void sendAMessage(String msg) throws JMSException {
-
- QueueSender send = session.createSender(que);
- ObjectMessage tm = session.createObjectMessage(msg);
- send.send(tm);
- send.close();
- }
-
-
- public static void main(String args[]) throws Exception
- {
- SendJMSMessage sm = new SendJMSMessage();
- sm.setupConnection();
- sm.sendAMessage(args[0]);
- sm.stop();
-
- }
-
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendJMSMessage.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendJMSMessage.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendJMSMessage.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer_wise4/test/SendJMSMessage.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,86 @@
+/*
+ * 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.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise4.test;
+
+import java.util.Properties;
+
+import javax.jms.JMSException;
+import javax.jms.ObjectMessage;
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.QueueSender;
+import javax.jms.QueueSession;
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+
+public class SendJMSMessage {
+ QueueConnection conn;
+ QueueSession session;
+ Queue que;
+
+
+ public void setupConnection() throws JMSException, NamingException
+ {
+ Properties properties1 = new Properties();
+ properties1.put(Context.INITIAL_CONTEXT_FACTORY,
+ "org.jnp.interfaces.NamingContextFactory");
+ properties1.put(Context.URL_PKG_PREFIXES,
+ "org.jboss.naming:org.jnp.interfaces");
+ properties1.put(Context.PROVIDER_URL, "jnp://127.0.0.1:1099");
+ InitialContext iniCtx = new InitialContext(properties1);
+
+ Object tmp = iniCtx.lookup("ConnectionFactory");
+ QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
+ conn = qcf.createQueueConnection();
+ que = (Queue) iniCtx.lookup("queue/quickstart_webservice_consumer1_Request_gw");
+ session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+ conn.start();
+ System.out.println("Connection Started");
+ }
+
+ public void stop() throws JMSException
+ {
+ conn.stop();
+ session.close();
+ conn.close();
+ }
+
+ public void sendAMessage(String msg) throws JMSException {
+
+ QueueSender send = session.createSender(que);
+ ObjectMessage tm = session.createObjectMessage(msg);
+ send.send(tm);
+ send.close();
+ }
+
+
+ public static void main(String args[]) throws Exception
+ {
+ SendJMSMessage sm = new SendJMSMessage();
+ sm.setupConnection();
+ sm.sendAMessage(args[0]);
+ sm.stop();
+
+ }
+
+}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/lib (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/lib)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/lib/ext (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/lib/ext)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/lib/ext/jbossws-client.jar
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/lib/ext/jbossws-client.jar (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/lib/ext/jbossws-client.jar)
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/resources)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/classes (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/classes)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/lib (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/lib)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/web.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/web.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/web.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,15 +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>HelloWorldWS</servlet-name>
- <servlet-class>org.jboss.soa.esb.samples.quickstart.webservice_consumer1.HelloWorldWS</servlet-class>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>HelloWorldWS</servlet-name>
- <url-pattern>/HelloWorldWS</url-pattern>
- </servlet-mapping>
-
-</web-app>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/web.xml (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/web.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/web.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/resources/WEB-INF/web.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,15 @@
+<?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>HelloWorldWS</servlet-name>
+ <servlet-class>org.jboss.soa.esb.samples.quickstart.webservice_consumer1.HelloWorldWS</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>HelloWorldWS</servlet-name>
+ <url-pattern>/HelloWorldWS</url-pattern>
+ </servlet-mapping>
+
+</web-app>
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/src)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/src/org)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart)
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1 (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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,
- * @author JBoss Inc.
- */
-package org.jboss.soa.esb.samples.quickstart.webservice_consumer1;
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-import javax.jws.soap.SOAPBinding;
-import javax.jws.WebParam;
-
- at WebService(name = "HelloWorld", targetNamespace = "http://webservice_consumer_wise4/helloworld")
-public class HelloWorldWS
-{
- @WebMethod
- public String sayHello(@WebParam(name = "toWhom")
- String toWhom)
- {
-
- String greeting = "Hello World Greeting for '" + toWhom + "' on " + new java.util.Date();
-
- return greeting;
-
- }
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer1/HelloWorldWS.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservice_consumer1;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.jws.WebParam;
+
+ at WebService(name = "HelloWorld", targetNamespace = "http://webservice_consumer_wise4/helloworld")
+public class HelloWorldWS
+{
+ @WebMethod
+ public String sayHello(@WebParam(name = "toWhom")
+ String toWhom)
+ {
+
+ String greeting = "Hello World Greeting for '" + toWhom + "' on " + new java.util.Date();
+
+ return greeting;
+
+ }
+}
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/view (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/view)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/view/index.jsp
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/view/index.jsp 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/view/index.jsp 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/view/index.jsp (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/war/view/index.jsp)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/view/index.jsp (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/war/view/index.jsp 2008-07-25 13:51:04 UTC (rev 21223)
@@ -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
Deleted: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/wise-core.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/wise-core.properties 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/wise-core.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,4 +0,0 @@
-wise.tmpDir=/home/oracle/wise
-wise.forceImportObject=true
-wise.keepGeneratedSources=true
-wise.wsImporter.verbose=true
Copied: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/wise-core.properties (from rev 21220, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer_wise4/wise-core.properties)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/wise-core.properties (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_consumer_wise4/wise-core.properties 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,4 @@
+wise.tmpDir=/home/oracle/wise
+wise.forceImportObject=true
+wise.keepGeneratedSources=true
+wise.wsImporter.verbose=true
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_mtom/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_mtom/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_mtom/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -21,9 +21,9 @@
<service category="MyServiceCategory" name="MyMTOMService" description="WS Frontend speaks natively to the ESB">
<listeners>
- <jbr-listener name="Http-Gateway" busidref="Http-1" is-gateway="true" maxThreads="1"/>
+ <jbr-listener name="Http-Gateway" busidref="Http-1" is-gateway="true"/>
- <jms-listener name="JMS-ESBListener" busidref="quickstartEsbChannel" maxThreads="1"/>
+ <jms-listener name="JMS-ESBListener" busidref="quickstartEsbChannel"/>
</listeners>
<actions>
<action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_producer/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_producer/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_producer/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -28,11 +28,11 @@
<service category="MyServiceCategory" name="MyWSProducerService" description="WS Frontend speaks natively to the ESB">
<listeners>
- <jms-listener name="JMS-Gateway" busidref="quickstartGwChannel" is-gateway="true" maxThreads="1"/>
- <jbr-listener name="Http-Gateway" busidref="Http-1" is-gateway="true" maxThreads="1"/>
- <jbr-listener name="Socket-Gateway" busidref="Socket-1" is-gateway="true" maxThreads="1"/>
+ <jms-listener name="JMS-Gateway" busidref="quickstartGwChannel" is-gateway="true"/>
+ <jbr-listener name="Http-Gateway" busidref="Http-1" is-gateway="true"/>
+ <jbr-listener name="Socket-Gateway" busidref="Socket-1" is-gateway="true"/>
- <jms-listener name="JMS-ESBListener" busidref="quickstartEsbChannel" maxThreads="1"/>
+ <jms-listener name="JMS-ESBListener" busidref="quickstartEsbChannel"/>
</listeners>
<actions>
<action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_wsaddressing/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_wsaddressing/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_wsaddressing/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -21,9 +21,9 @@
<service category="MyServiceCategory" name="MyWsaService" description="WS Frontend speaks natively to the ESB">
<listeners>
- <jbr-listener name="Http-Gateway" busidref="Http-1" is-gateway="true" maxThreads="1"/>
+ <jbr-listener name="Http-Gateway" busidref="Http-1" is-gateway="true"/>
- <jms-listener name="JMS-ESBListener" busidref="quickstartEsbChannel" maxThreads="1"/>
+ <jms-listener name="JMS-ESBListener" busidref="quickstartEsbChannel"/>
</listeners>
<actions>
<action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_wssecurity/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_wssecurity/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/webservice_wssecurity/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -21,9 +21,9 @@
<service category="MyServiceCategory" name="MyWssService" description="WS Frontend speaks natively to the ESB">
<listeners>
- <jbr-listener name="Http-Gateway" busidref="Http-1" is-gateway="true" maxThreads="1"/>
+ <jbr-listener name="Http-Gateway" busidref="Http-1" is-gateway="true"/>
- <jms-listener name="JMS-ESBListener" busidref="quickstartEsbChannel" maxThreads="1"/>
+ <jms-listener name="JMS-ESBListener" busidref="quickstartEsbChannel"/>
</listeners>
<actions>
<action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln">
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/wiretap/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/wiretap/jboss-esb.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/wiretap/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -44,8 +44,8 @@
<!-- CBR Service -->
<service category="wiretapCBRServices" name="FirstWiretapCBRServiceESB" description="ESB Listener" >
<listeners>
- <jms-listener name="the-CBR-gateway" busidref="wiretapCBRChannel" maxThreads="1" is-gateway="true" />
- <jms-listener name="XPathContentBasedRouter" busidref="wiretapEsbChannel" maxThreads="1" />
+ <jms-listener name="the-CBR-gateway" busidref="wiretapCBRChannel" is-gateway="true" />
+ <jms-listener name="XPathContentBasedRouter" busidref="wiretapEsbChannel"/>
</listeners>
<actions mep="OneWay">
<action class="org.jboss.soa.esb.actions.ContentBasedRouter" name="ContentBasedRouter">
@@ -62,7 +62,7 @@
<service category="wiretapCategory1" name="regularService" description="Static wiretap - regular service">
<listeners>
- <jms-listener name="native1" busidref="wiretapChannel1" maxThreads="1" />
+ <jms-listener name="native1" busidref="wiretapChannel1"/>
</listeners>
<actions mep="OneWay">
<action name="outaction1" class="org.jboss.soa.esb.actions.SystemPrintln" />
@@ -85,8 +85,8 @@
<service category="wiretapCategory2" name="wiretapService" description="Static wiretap - wiretap service">
<listeners>
- <jms-listener name="wiretapJMS-Gateway" busidref="wiretapGwChannel" maxThreads="1" is-gateway="true" />
- <jms-listener name="native2" busidref="wiretapChannel2" maxThreads="1" />
+ <jms-listener name="wiretapJMS-Gateway" busidref="wiretapGwChannel" is-gateway="true" />
+ <jms-listener name="native2" busidref="wiretapChannel2"/>
</listeners>
<actions mep="OneWay">
<action name="outaction2" class="org.jboss.soa.esb.actions.SystemPrintln" />
@@ -109,8 +109,8 @@
<service category="wiretapCategory3" name="WiretapStaticListener" description="Static Router">
<listeners>
- <jms-listener name="test-Gateway" busidref="wiretapStaticRouterChannel" maxThreads="1" is-gateway="true" />
- <jms-listener name="native3" busidref="wiretapChannel3" maxThreads="1" />
+ <jms-listener name="test-Gateway" busidref="wiretapStaticRouterChannel" is-gateway="true" />
+ <jms-listener name="native3" busidref="wiretapChannel3"/>
</listeners>
<actions mep="OneWay">
<action name="routeAction" class="org.jboss.soa.esb.actions.StaticRouter">
Modified: labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/Constants.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/Constants.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/Constants.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -64,6 +64,8 @@
public static final String ERROR_MESSAGE ="jbpmErrorMsg";
public static final String RETURN_CODE ="jbpmReturnCode";
public static final String JBPM_LOG_MAP ="jbpmLogMap";
+ public static final String REPLY_TO ="jbpmReplyTo";
+ public static final String FAULT_TO ="jbpmFaultTo";
// Possible values of return codes after execution of an action
public static final String RETCODE_OK ="jbpmReturnOK";
@@ -89,6 +91,7 @@
public static final String ONE_ACTOR_TAG ="actor";
public static final String OVERWRITE_SWIMLANE_TAG ="overwrite-swimlane";
public static final String KEY_TAG ="key";
+ public static final String REPLY_TO_ORIGINATOR_TAG ="reply-to-originator";
//tag names for xml configuration of jBPM actions
public static final String BPM_TO_ESB_VARS_TAG = "bpmToEsbVars";
@@ -97,6 +100,8 @@
public static final String BPM_NAME_ATTR = "bpm";
public static final String ESB_NAME_ATTR = "esb";
public static final String PROCESS_SCOPE_ATTR = "process-scope";
+ public static final String EPR_REPLY = "reply" ;
+ public static final String EPR_FAULT = "fault" ;
public enum OpCode
{
Modified: labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/JBpmObjectMapper.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/JBpmObjectMapper.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/JBpmObjectMapper.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -177,22 +177,7 @@
public HashMap<String,Object> mapFromEsbMessageToJBpmMap(Message message, final String esbToBpmXml)
throws ConfigurationException
{
- List<Mapping> mappingList = new ArrayList<Mapping>();
- if (esbToBpmXml!=null) {
- try {
- Document document = DocumentHelper.parseText(esbToBpmXml);
- Element element = document.getRootElement();
- Iterator iterator=element.elementIterator();
- while(iterator.hasNext()) {
- Element mappingElement = (Element) iterator.next();
- Mapping mapping = Mapping.parseMappingElement(mappingElement);
- mappingList.add(mapping);
- }
- } catch (DocumentException de) {
- throw new ConfigurationException(de.getMessage(), de);
- }
- }
- return mapFromEsbMessageToJBpmMap(message, mappingList);
+ return mapFromEsbMessageToJBpmMap(message, getMappingList(esbToBpmXml));
}
/**
* This
@@ -223,7 +208,68 @@
}
return map;
}
+ /**
+ *
+ * @param message
+ * @param esbToBpmXml
+ * @return
+ */
+ public HashMap<Mapping,Object> mapFromEsbMessageToJBpmMapping(Message message, final String esbToBpmXml)
+ throws ConfigurationException
+ {
+ return mapFromEsbMessageToJBpmMapping(message, getMappingList(esbToBpmXml));
+ }
+ /**
+ * This
+ * @param message
+ * @param token
+ * @throws Exception
+ */
+ public HashMap<Mapping,Object> mapFromEsbMessageToJBpmMapping(Message message, final List<Mapping> mappingList)
+ {
+ HashMap<Mapping,Object> map = new HashMap<Mapping, Object>();
+ if (null==mappingList || mappingList.size()<1) {
+ return null;
+ }
+ for (Mapping mapping: mappingList) {
+ if (mapping.getBpm()==null || "".equals(mapping.getBpm())) {
+
+ mapping.setBpm(mapping.getEsb());
+ }
+ Object value = null;
+ try {
+ value = getObjectFromMessage(message, mapping);
+ } catch (ConfigurationException ce) {
+ log.error(ce.getMessage(), ce);
+ }
+ // only put it in the map if it's not null
+ if (null!=value)
+ map.put(mapping, value);
+ }
+ return map;
+ }
+ private List<Mapping> getMappingList(final String esbToBpmXml)
+ throws ConfigurationException
+ {
+ final List<Mapping> mappingList = new ArrayList<Mapping>();
+ if (esbToBpmXml!=null) {
+ try {
+ Document document = DocumentHelper.parseText(esbToBpmXml);
+ Element element = document.getRootElement();
+ Iterator iterator=element.elementIterator();
+ while(iterator.hasNext()) {
+ Element mappingElement = (Element) iterator.next();
+ Mapping mapping = Mapping.parseMappingElement(mappingElement);
+ mappingList.add(mapping);
+ }
+ } catch (DocumentException de) {
+ throw new ConfigurationException(de.getMessage(), de);
+ }
+ }
+ return mappingList ;
+ }
+
private Object getObjectFromMessage(Message message, Mapping mapping)
throws ConfigurationException
{
Modified: labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/actionhandlers/EsbActionHandler.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/actionhandlers/EsbActionHandler.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/actionhandlers/EsbActionHandler.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -23,17 +23,22 @@
import org.apache.log4j.Logger;
import org.dom4j.tree.DefaultElement;
+import org.jboss.internal.soa.esb.addressing.helpers.EPRHelper;
import org.jboss.internal.soa.esb.util.LRUCache;
import org.jboss.soa.esb.ConfigurationException;
import org.jboss.soa.esb.addressing.EPR;
import org.jboss.soa.esb.addressing.PortReference;
import org.jboss.soa.esb.addressing.eprs.LogicalEPR;
import org.jboss.soa.esb.client.ServiceInvoker;
+import org.jboss.soa.esb.couriers.Courier;
+import org.jboss.soa.esb.couriers.CourierFactory;
+import org.jboss.soa.esb.couriers.CourierUtil;
import org.jboss.soa.esb.listeners.message.MessageDeliverException;
import org.jboss.soa.esb.message.Message;
import org.jboss.soa.esb.services.jbpm.Constants;
import org.jboss.soa.esb.services.jbpm.JBpmObjectMapper;
import org.jboss.soa.esb.services.jbpm.actions.JBpmCallback;
+import org.jbpm.context.exe.ContextInstance;
import org.jbpm.graph.def.ActionHandler;
import org.jbpm.graph.exe.ExecutionContext;
import org.jbpm.graph.exe.Token;
@@ -67,6 +72,8 @@
public String exceptionTransition;
+ public String replyToOriginator;
+
private transient Logger logger = Logger.getLogger(getClass());
private static transient LRUCache<String, ServiceInvoker> siCache = new LRUCache<String, ServiceInvoker>(20);
@@ -74,12 +81,18 @@
public void execute (ExecutionContext executionContext) throws Exception
{
//validation
- if (null == esbCategoryName)
- throw new ConfigurationException(
- "Service category (esbCategoryName element) must not be null");
- if (null == esbServiceName)
- throw new ConfigurationException(
- "Service name (esbServiceName element) must not be null");
+ if (replyToOriginator != null) {
+ if (!(Constants.EPR_REPLY.equals(replyToOriginator) || Constants.EPR_FAULT.equals(replyToOriginator))) {
+ throw new ConfigurationException("EPR type (replyToOriginator) must be \"" + Constants.EPR_REPLY + "\" or \"" + Constants.EPR_FAULT + "\"");
+ }
+ } else {
+ if (null == esbCategoryName)
+ throw new ConfigurationException(
+ "Service category (esbCategoryName element) must not be null");
+ if (null == esbServiceName)
+ throw new ConfigurationException(
+ "Service name (esbServiceName element) must not be null");
+ }
if (millisToWaitForResponse !=null) {
logger.info("millisToWaitForResponse is no longer a valid element, please use a " +
"jBPM timer for this node instead.");
@@ -101,7 +114,34 @@
}
//Sending the message on its way
if (logger.isDebugEnabled()) logger.debug("Created ESB message=" + message);
- getServiceInvoker().deliverAsync(message);
+
+ if (replyToOriginator != null) {
+ final EPR epr ;
+ final ContextInstance contextInstance = executionContext.getContextInstance() ;
+ final Object replyToEPR = contextInstance.getVariable(Constants.REPLY_TO);
+ final Object faultToEPR = contextInstance.getVariable(Constants.FAULT_TO);
+
+ if (Constants.EPR_FAULT.equals(replyToOriginator) && (faultToEPR != null)) {
+ epr = EPRHelper.fromXMLString(faultToEPR.toString()) ;
+ } else if (replyToEPR != null) {
+ epr = EPRHelper.fromXMLString(replyToEPR.toString()) ;
+ } else {
+ throw new ConfigurationException("No EPR present in process instance") ;
+ }
+ if(epr instanceof LogicalEPR) {
+ final ServiceInvoker invoker = ((LogicalEPR)epr).getServiceInvoker();
+ invoker.deliverAsync(message);
+ } else {
+ final Courier courier = CourierFactory.getCourier(epr);
+ try {
+ courier.deliver(message);
+ } finally {
+ CourierUtil.cleanCourier(courier);
+ }
+ }
+ } else {
+ getServiceInvoker().deliverAsync(message);
+ }
logger.debug("Message send successfully");
}
/**
@@ -113,8 +153,9 @@
private ServiceInvoker getServiceInvoker() throws MessageDeliverException
{
String key = esbCategoryName + esbServiceName;
- if (siCache.containsKey(key)) {
- return siCache.get(key);
+ final ServiceInvoker origInvoker = siCache.get(key) ;
+ if (origInvoker != null) {
+ return origInvoker;
} else {
ServiceInvoker invoker = new ServiceInvoker(esbCategoryName, esbServiceName);
siCache.put(key, invoker);
Modified: labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/actionhandlers/EsbNotifier.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/actionhandlers/EsbNotifier.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/actionhandlers/EsbNotifier.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -23,12 +23,20 @@
package org.jboss.soa.esb.services.jbpm.actionhandlers;
import org.apache.log4j.Logger;
import org.dom4j.tree.DefaultElement;
+import org.jboss.internal.soa.esb.addressing.helpers.EPRHelper;
import org.jboss.internal.soa.esb.util.LRUCache;
import org.jboss.soa.esb.ConfigurationException;
+import org.jboss.soa.esb.addressing.EPR;
+import org.jboss.soa.esb.addressing.eprs.LogicalEPR;
import org.jboss.soa.esb.client.ServiceInvoker;
+import org.jboss.soa.esb.couriers.Courier;
+import org.jboss.soa.esb.couriers.CourierFactory;
+import org.jboss.soa.esb.couriers.CourierUtil;
import org.jboss.soa.esb.listeners.message.MessageDeliverException;
import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.services.jbpm.Constants;
import org.jboss.soa.esb.services.jbpm.JBpmObjectMapper;
+import org.jbpm.context.exe.ContextInstance;
import org.jbpm.graph.def.ActionHandler;
import org.jbpm.graph.exe.ExecutionContext;
@@ -65,23 +73,60 @@
*/
public DefaultElement bpmToEsbVars;
/**
+ * Use the replyTo or faultTo EPR from the originator.
+ */
+ public String replyToOriginator;
+
+ /**
* Constructs an ESB Message and sends sends to the an ESB Service
* as defined in the processdefinition.xml.
*/
public void execute (ExecutionContext executionContext) throws Exception
{
- if (null == esbCategoryName) {
- throw new ConfigurationException(
- "Service category (esbCategoryName element) must not be null");
+ if (replyToOriginator != null) {
+ if (!(Constants.EPR_REPLY.equals(replyToOriginator) || Constants.EPR_FAULT.equals(replyToOriginator))) {
+ throw new ConfigurationException("EPR type (replyToOriginator) must be \"" + Constants.EPR_REPLY + "\" or \"" + Constants.EPR_FAULT + "\"");
+ }
+ } else {
+ if (null == esbCategoryName) {
+ throw new ConfigurationException(
+ "Service category (esbCategoryName element) must not be null");
+ }
+ if (null == esbServiceName) {
+ throw new ConfigurationException(
+ "Service name (esbServiceName element) must not be null");
+ }
}
- if (null == esbServiceName) {
- throw new ConfigurationException(
- "Service name (esbServiceName element) must not be null");
- }
JBpmObjectMapper mapper = new JBpmObjectMapper();
Message message = mapper.mapFromJBpmToEsbMessage(bpmToEsbVars, globalProcessScope, executionContext);
if (logger.isDebugEnabled()) logger.debug("Created ESB message=" + message);
- getServiceInvoker().deliverAsync(message);
+ if (replyToOriginator != null) {
+ final EPR epr ;
+ final ContextInstance contextInstance = executionContext.getContextInstance() ;
+ final Object replyToEPR = contextInstance.getVariable(Constants.REPLY_TO);
+ final Object faultToEPR = contextInstance.getVariable(Constants.FAULT_TO);
+
+ if (Constants.EPR_FAULT.equals(replyToOriginator) && (faultToEPR != null)) {
+ epr = EPRHelper.fromXMLString(faultToEPR.toString()) ;
+ } else if (replyToEPR != null) {
+ epr = EPRHelper.fromXMLString(replyToEPR.toString()) ;
+ } else {
+ throw new ConfigurationException("No EPR present in process instance") ;
+ }
+ if(epr instanceof LogicalEPR) {
+ final ServiceInvoker invoker = ((LogicalEPR)epr).getServiceInvoker();
+ invoker.deliverAsync(message);
+ } else {
+ final Courier courier = CourierFactory.getCourier(epr);
+ try {
+ courier.deliver(message);
+ } finally {
+ CourierUtil.cleanCourier(courier);
+ }
+ }
+ } else {
+ getServiceInvoker().deliverAsync(message);
+ }
logger.debug("Message send successfully");
}
/**
Modified: labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/cmd/AsyncProcessSignal.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/cmd/AsyncProcessSignal.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/cmd/AsyncProcessSignal.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -31,6 +31,7 @@
import org.apache.log4j.Logger;
import org.jboss.soa.esb.common.TransactionStrategy;
+import org.jboss.soa.esb.services.jbpm.Mapping;
import org.jbpm.JbpmContext;
import org.jbpm.JbpmException;
import org.jbpm.command.SignalCommand;
@@ -93,9 +94,11 @@
* @param token The token to signal.
* @param transitionName The transition to signal or null if the default transition is to be used.
* @param actor The actor to use.
+ * @param globalProcessScope The default process scope to use.
* @param variables Any variables to update.
*/
- static void createSignalJob(final JbpmContext jbpmContext, final Token token, final String transitionName, final String actor, final Map variables)
+ static void createSignalJob(final JbpmContext jbpmContext, final Token token, final String transitionName, final String actor,
+ final boolean defaultProcessScope, final Map<Mapping, Object> variables)
{
final boolean isDebugEnabled = logger.isDebugEnabled() ;
final long tokenId = token.getId() ;
@@ -115,19 +118,29 @@
setVariable(contextInstance, token, actorVariableName, actor) ;
final int numVariables = (variables == null ? 0 : variables.size()) ;
- setVariable(contextInstance, token, ESB_ASYNC_SIGNAL_VARIABLE_COUNT, Integer.toString(numVariables)) ;
if (numVariables > 0)
{
int count = 0 ;
- final Iterator<Map.Entry> variableEntryIter = variables.entrySet().iterator() ;
+ final Iterator<Map.Entry<Mapping, Object>> variableEntryIter = variables.entrySet().iterator() ;
do
{
- final Map.Entry variableEntry = variableEntryIter.next() ;
- final String name = variableEntry.getKey().toString() ;
+ final Map.Entry<Mapping, Object> variableEntry = variableEntryIter.next() ;
+ final Mapping mapping = (Mapping)variableEntry.getKey() ;
+ final String name = mapping.getBpm() ;
setVariable(contextInstance, token, name, variableEntry.getValue()) ;
- setVariable(contextInstance, token, ESB_ASYNC_SIGNAL_VARIABLE_NAMES + (count++), name) ;
+ final Boolean isProcessScope = mapping.getIsProcessScope() ;
+ final boolean setScope = (isProcessScope == null ? defaultProcessScope : isProcessScope.booleanValue()) ;
+ if (setScope)
+ {
+ setVariable(contextInstance, token, ESB_ASYNC_SIGNAL_VARIABLE_NAMES + (count++), name) ;
+ }
} while (variableEntryIter.hasNext()) ;
+ setVariable(contextInstance, token, ESB_ASYNC_SIGNAL_VARIABLE_COUNT, Integer.toString(count)) ;
}
+ else
+ {
+ setVariable(contextInstance, token, ESB_ASYNC_SIGNAL_VARIABLE_COUNT, String.valueOf(0)) ;
+ }
final ExecuteActionJob signalJob = new ExecuteActionJob(token) ;
signalJob.setAction(getAsyncSignalAction(token)) ;
Modified: labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/cmd/CallbackCommand.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/cmd/CallbackCommand.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/cmd/CallbackCommand.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -26,6 +26,7 @@
import org.apache.log4j.Logger;
import org.jboss.soa.esb.addressing.EPR;
import org.jboss.soa.esb.services.jbpm.Constants;
+import org.jboss.soa.esb.services.jbpm.Mapping;
import org.jbpm.JbpmContext;
import org.jbpm.command.Command;
import org.jbpm.context.exe.ContextInstance;
@@ -51,7 +52,7 @@
/**
* The variable map.
*/
- private Map variables ;
+ private Map<Mapping, Object> variables ;
private EPR callbackEpr;
@@ -70,7 +71,7 @@
this.transitionName = transitionName ;
}
- public void setVariables(final Map variables) {
+ public void setVariables(final Map<Mapping, Object> variables) {
this.variables = variables ;
}
@@ -118,7 +119,11 @@
") is not the expected version (version=" + processNodeVersion + ").");
}
- AsyncProcessSignal.createSignalJob(jbpmContext, token, transitionName, jbpmContext.getActorId(), variables) ;
+ final String globalProcessScopeVal = callbackEpr.getAddr().getExtensionValue(Constants.PROCESS_SCOPE_ATTR) ;
+ // Default to global scope as that matches the previous functionality
+ // N.B. This is different from retrieving variables!!
+ final boolean globalProcessScope = (globalProcessScopeVal == null ? true : Boolean.parseBoolean(globalProcessScopeVal));
+ AsyncProcessSignal.createSignalJob(jbpmContext, token, transitionName, jbpmContext.getActorId(), globalProcessScope, variables) ;
} catch (CallbackException jbpmCe) {
logger.warn(jbpmCe.getMessage());
}
Modified: labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/cmd/CommandExecutor.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/cmd/CommandExecutor.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/cmd/CommandExecutor.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -33,6 +33,7 @@
import org.jboss.soa.esb.message.mapping.ObjectMappingException;
import org.jboss.soa.esb.services.jbpm.Constants;
import org.jboss.soa.esb.services.jbpm.JBpmObjectMapper;
+import org.jboss.soa.esb.services.jbpm.Mapping;
import org.jbpm.JbpmConfiguration;
import org.jbpm.JbpmContext;
import org.jbpm.JbpmException;
@@ -53,7 +54,7 @@
*/
public class CommandExecutor
{
- static CommandExecutor commandExecutor;
+ private static CommandExecutor commandExecutor = new CommandExecutor();
private static Logger logger = Logger.getLogger(CommandExecutor.class);
private static JbpmConfiguration jbpmConfig;
@@ -61,9 +62,6 @@
public static CommandExecutor getInstance()
{
- if (commandExecutor==null) {
- commandExecutor =new CommandExecutor();
- }
return commandExecutor;
}
@@ -133,7 +131,7 @@
String esbToBpmXml = toEpr.getAddr().getExtensionValue(Constants.ESB_TO_BPM_VARS_TAG);
JBpmObjectMapper mapper = new JBpmObjectMapper();
//Obtaining the VariableMap that is going to be set callback command
- Map<String,Object> variableMap = mapper.mapFromEsbMessageToJBpmMap(message, esbToBpmXml);
+ Map<Mapping,Object> variableMap = mapper.mapFromEsbMessageToJBpmMapping(message, esbToBpmXml);
if (null!=variableMap) command.setVariables(variableMap);
String transition = (toEpr.getAddr().getExtensionValue(Constants.TRANSITION_NAME));
//The transition can be overriden if needed, by setting the following variable.
@@ -209,7 +207,22 @@
if (null!=actorId) command.setActorId(actorId);
Boolean createStartTask = MessageHelper.getBooleanValue(request, Constants.CREATE_START_TASK);
if (null!=createStartTask) command.setCreateStartTask(createStartTask);
+
Map<String, Object> variables = MessageHelper.getVariablesMap(request, Constants.VARIABLE_VALUES);
+
+ final String replyTo = MessageHelper.getStringValue(request, Constants.REPLY_TO) ;
+ final String faultTo = MessageHelper.getStringValue(request, Constants.FAULT_TO) ;
+
+ if ((replyTo != null) || (faultTo != null)) {
+ final Map<String, Object> newVariables = (variables == null ? new HashMap<String, Object>() : new HashMap<String, Object>(variables)) ;
+ if (replyTo != null) {
+ newVariables.put(Constants.REPLY_TO, replyTo) ;
+ }
+ if (faultTo != null) {
+ newVariables.put(Constants.FAULT_TO, faultTo) ;
+ }
+ variables = newVariables ;
+ }
if (null!=variables) command.setVariables(variables);
logger.debug("New process instance with command=" + command);
@@ -277,7 +290,7 @@
if (result instanceof ProcessInstance)
{
final ProcessInstance processInstance = (ProcessInstance)result ;
- AsyncProcessSignal.createSignalJob(jbpmContext, processInstance.getRootToken(), transitionName, getActorId(), null) ;
+ AsyncProcessSignal.createSignalJob(jbpmContext, processInstance.getRootToken(), transitionName, getActorId(), false, null) ;
}
return result ;
}
Modified: labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/cmd/NewProcessInstanceFacade.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/cmd/NewProcessInstanceFacade.java 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/java/org/jboss/soa/esb/services/jbpm/cmd/NewProcessInstanceFacade.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -25,7 +25,11 @@
import java.util.List;
import java.util.Map;
+import org.jboss.internal.soa.esb.addressing.helpers.EPRHelper;
import org.jboss.soa.esb.ConfigurationException;
+import org.jboss.soa.esb.MarshalException;
+import org.jboss.soa.esb.addressing.Call;
+import org.jboss.soa.esb.addressing.EPR;
import org.jboss.soa.esb.helpers.ConfigTree;
import org.jboss.soa.esb.message.Body;
import org.jboss.soa.esb.message.Message;
@@ -68,6 +72,7 @@
if (_start) {
_transitionName = config.getAttribute(Constants.TRANSITION_NAME_TAG);
}
+ _replyToOriginator = config.getBooleanAttribute(Constants.REPLY_TO_ORIGINATOR_TAG, false) ;
}
public void setJBPMContextParameters(Message message)
@@ -86,7 +91,25 @@
Map<String,Object> variableMap = _mapper.mapFromEsbMessageToJBpmMap(message,_esbToBpm);
if (null!=variableMap)
body.add(Constants.VARIABLE_VALUES, variableMap);
+ if (_replyToOriginator) {
+ final Call call = message.getHeader().getCall() ;
+ body.add(Constants.REPLY_TO, getEPR(call.getReplyTo())) ;
+ body.add(Constants.FAULT_TO, getEPR(call.getFaultTo())) ;
+ }
}
+
+ private String getEPR(final EPR epr)
+ {
+ if (epr == null) {
+ return null ;
+ }
+
+ try {
+ return EPRHelper.toXMLString(epr) ;
+ } catch (final MarshalException me) {
+ throw new IllegalArgumentException("Failed to marshall epr", me) ;
+ }
+ }
boolean _start;
String _keyPath;
@@ -96,4 +119,5 @@
Long _processId;
List<Mapping> _esbToBpm;
JBpmObjectMapper _mapper = new JBpmObjectMapper();
+ private boolean _replyToOriginator ;
}
Modified: labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/resources/jbpm-service.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/resources/jbpm-service.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/resources/jbpm-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -8,7 +8,8 @@
<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/jbpm.jpdl.hsqldb.sql,
+ jbpm-sql/import.sql
</attribute>
<depends>jboss.jca:service=DataSourceBinding,name=JbpmDS</depends>
<attribute name="UseEOL">true</attribute>
Copied: labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/resources/jbpm-sql/import.sql (from rev 21220, labs/jbossesb/trunk/product/services/jbpm/src/main/resources/jbpm-sql/import.sql)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/resources/jbpm-sql/import.sql (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/services/jbpm/src/main/resources/jbpm-sql/import.sql 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,23 @@
+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
Copied: labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/Wise-core.jar (from rev 21220, labs/jbossesb/trunk/product/services/soap/lib/ext/Wise-core.jar)
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jaxb-xjc.jar (from rev 21220, labs/jbossesb/trunk/product/services/soap/lib/ext/jaxb-xjc.jar)
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jaxws-rt.jar (from rev 21220, labs/jbossesb/trunk/product/services/soap/lib/ext/jaxws-rt.jar)
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jaxws-tools.jar (from rev 21220, labs/jbossesb/trunk/product/services/soap/lib/ext/jaxws-tools.jar)
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jboss-jaxws.jar (from rev 21220, labs/jbossesb/trunk/product/services/soap/lib/ext/jboss-jaxws.jar)
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jboss-saaj.jar (from rev 21220, labs/jbossesb/trunk/product/services/soap/lib/ext/jboss-saaj.jar)
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jboss-system.jar (from rev 21220, labs/jbossesb/trunk/product/services/soap/lib/ext/jboss-system.jar)
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jbossall-client.jar (from rev 21220, labs/jbossesb/trunk/product/services/soap/lib/ext/jbossall-client.jar)
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jbossws-common.jar (from rev 21220, labs/jbossesb/trunk/product/services/soap/lib/ext/jbossws-common.jar)
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/jbossws-spi.jar (from rev 21220, labs/jbossesb/trunk/product/services/soap/lib/ext/jbossws-spi.jar)
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/stax-ex.jar (from rev 21220, labs/jbossesb/trunk/product/services/soap/lib/ext/stax-ex.jar)
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/services/soap/lib/ext/streambuffer.jar (from rev 21220, labs/jbossesb/trunk/product/services/soap/lib/ext/streambuffer.jar)
===================================================================
(Binary files differ)
Copied: labs/jbossesb/workspace/dbevenius/security/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/wise (from rev 21220, labs/jbossesb/trunk/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/wise)
Deleted: labs/jbossesb/workspace/dbevenius/security/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/wise/SOAPClient.java
===================================================================
--- labs/jbossesb/trunk/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/wise/SOAPClient.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/wise/SOAPClient.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,289 +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.actions.soap.wise;
-
-import it.javalinux.wise.core.client.InvocationResult;
-import it.javalinux.wise.core.client.WSDynamicClient;
-import it.javalinux.wise.core.client.WSDynamicClientFactory;
-import it.javalinux.wise.core.client.WSEndpoint;
-import it.javalinux.wise.core.client.WSMethod;
-import it.javalinux.wise.core.client.handler.LoggingHandler;
-import it.javalinux.wise.core.client.handler.SmooksHandler;
-import it.javalinux.wise.core.exceptions.WiseException;
-import it.javalinux.wise.core.mapper.SmooksMapper;
-import it.javalinux.wise.core.mapper.WiseMapper;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-import javax.xml.ws.handler.Handler;
-import org.apache.log4j.Logger;
-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;
-
-/**
- * SOAP Client action processor. <p/> Uses the Wise Client Service to generate JAXWS client class and call the target service.
- * This action then routes that message to that service.
- * <h2>Endpoint Operation Specification</h2>
- * Specifying the endpoint operation is a straightforward task. Simply specify the "wsdl" and "SOAPAction" properties on the
- * SOAPClient action as follows:
- *
- * <pre>
- * <action name="soap-wise-client-action" class="org.jboss.soa.esb.actions.soap.wise.SOAPClient">
- * <property name="wsdl" value="http://localhost:8080/acme/services/OrderManagement?wsdl"/>
- * <property name="SOAPAction" value="http://www.acme.com/OrderManagement/SendSalesOrderNotification"/>
- * </action>
- * </pre>
- *
- * The SOAP operation is derived from the SOAPAction. There are some optional attribute:
- *
- * <pre>
- * <property name="EndPointName" value="PingWSPort"/>
- * </pre>
- *
- * The EndPoint invoked. Webservices can have multiple endpoint. If it's not specified the first specified in wsdl will be used
- *
- * <pre>
- * <property name="SmooksRequestMapper" value="smooks-request-config.xml"/>
- * </pre>
- *
- * It's a smooks config file to define the mapping java-to-java defined for the request
- *
- * <pre>
- * <property name="SmooksResponseMapper" value="smooks-response-config.xml"/>
- * </pre>
- *
- * It's a smooks config file to define the mapping java-to-java defined for the response
- *
- * <pre>
- * <property name="serviceName" value="PingWS"/>
- * </pre>
- *
- * It's a symbolic service name used by wise to cache object generation and/or use already generated object. It it isn't provided
- * wise use the servlet name of wsdl.
- *
- * <pre>
- * <property name="userName" value=""/>
- * <property name="password" value=""/>
- * </pre>
- *
- * User and password used if webservice is protected by BAsic Authentication HTTP user and password
- * <h2 id="request-construction">SOAP Request Message Construction</h2>
- * The SOAP operation parameters are supplied in one of 2 ways:
- * <ol>
- * <li>As a {@link Map} instance set on the <i>default body location</i> (Message.getBody().add(Map))</li>
- * <li>As a {@link Map} instance set on in a <i>named body location</i> (Message.getBody().add(String, Map)), where the name of
- * that body location is specified as the value of the "paramsLocation" action property. </li>
- * </ol>
- * The parameter {@link Map} itself can also be populated in one of 2 ways:
- * <ol>
- * <li><b>Option 1</b>: With a set of Objects of any type. In this case a smooks config have to be specified in action attribute
- * SmooksRequestMapper and smooks is used to make the java-to-java conversion
- * <li><b>Option 2</b>: With a set of String based key-value pairs(<String, Object>), where the key is the name of the
- * SOAP parameter as specified in wsdls (or in generated class) to be populated with the key's value. </li>
- * </ol>
- * <h2>SOAP Response Message Consumption</h2>
- * The SOAP response object instance can be is attached to the ESB {@link Message} instance in one of the following ways:
- * <ol>
- * <li>On the <i>default body location</i> (Message.getBody().add(Map))</li>
- * <li>On in a <i>named body location</i> (Message.getBody().add(String, Map)), where the name of that body location is
- * specified as the value of the "responseLocation" action property. </li>
- * </ol>
- * The response object instance can also be populated (from the SOAP response) in one of 3 ways:
- * <ol>
- * <li><b>Option 1</b>: With a set of Objects of any type. In this case a smooks config have to be specified in action attribute
- * SmooksResponseMapper and smooks is used to make the java-to-java conversion
- * <li><b>Option 2</b>: With a set of String based key-value pairs(<String, Object>), where the key is the name of the
- * SOAP answer as specified in wsdls (or in generated class) to be populated with the key's value. </li>
- * </ol>
- * <h2>JAX-WS Handler for the SOAP Request/Response Message</h2>
- * It's often necessary to be able to transform the SOAP request or response, especially in header. This may be to simply add some
- * standard SOAP handlers. Wise support JAXWS Soap Handler, both custom or a predefined one based on smooks. Current
- * implementation of the action have some limitation: support only smooks ones and all handler is intended to transform both input
- * and output messages. These limitations will be removed in future. <p/> Transformation of the SOAP request (before sending) is
- * supported by configuring the SOAPClient action with a Smooks transformation configuration property as follows:
- *
- * <pre>
- * <property name="smooksTransform" value="/transforms/order-transform.xml" />
- * </pre>
- *
- * The value of the "smooksTransform" property is resolved by first checking it as a filesystem based resource. Failing that, it's
- * checked as a classpath resource and failing that, as a URI based resource.
- * <h2>Logging the SOAP Request/Response Message</h2>
- * It's useful for debug purpose to view soap Message sent and response received. Wise achieve this goal using a JAX-WS handler
- * printing all messages exchanged on System.out You can enable as follow:
- *
- * <pre>
- * <property name="LoggingMessages" value="true" />
- * </pre>
- *
- * @author <a href="mailto:stefano.maestri at javalinux.it">stefano.maestri at javalinux.it</a>
- */
-public class SOAPClient extends AbstractActionPipelineProcessor {
-
- private final Logger logger = Logger.getLogger(SOAPClient.class);
- private final String wsdl;
- private final String soapAction;
- private final String endPointName;
- private final String smooksRequestMapperURL;
- private final String smooksResponseMapperURL;
- private String serviceName;
- private final String username;
- private final String password;
- // private WSDynamicClient client;
- private final List<String> smooksHandler = new ArrayList<String>();
- private final List<String> customHandlers = new ArrayList<String>();
- private final MessagePayloadProxy payloadProxy;
- private boolean loggingEnabled = false;
-
- public SOAPClient( ConfigTree config ) throws ConfigurationException {
- wsdl = config.getRequiredAttribute("wsdl");
- soapAction = config.getRequiredAttribute("SOAPAction");
- endPointName = config.getRequiredAttribute("EndPointName");
- smooksRequestMapperURL = config.getAttribute("SmooksRequestMapper");
- smooksResponseMapperURL = config.getAttribute("SmooksResponseMapper");
- serviceName = config.getAttribute("serviceName");
- serviceName = serviceName != null ? serviceName : wsdl.substring(wsdl.lastIndexOf("/"), wsdl.lastIndexOf("?"));
- username = config.getAttribute("username");
- password = config.getAttribute("password");
- logger.info(config.getAttribute("LoggingMessages"));
- loggingEnabled = Boolean.parseBoolean(config.getAttribute("LoggingMessages"));
- logger.info("loggingEnabled:" + loggingEnabled);
- ConfigTree[] handlersConfig;
- if (config.getAttribute("smooks-handler-config") != null) {
- smooksHandler.add(config.getAttribute("smooks-handler-config"));
- }
- if (config.getAttribute("custom-handlers") != null) {
- for (String className : config.getAttribute("custom-handlers").split(";")) {
- customHandlers.add(className);
- }
-
- }
- handlersConfig = config.getChildren("custom-handlers");
-
- payloadProxy = new MessagePayloadProxy(config);
-
- }
-
- @Override
- public void initialise() throws ActionLifecycleException {
- super.initialise();
- try {
- WSDynamicClientFactory.getInstace().clearCache();
- } catch (Exception e) {
- throw new ActionLifecycleException("Error durinfg wise client cache cleaning", e);
- }
-
- }
-
- @Override
- public void destroy() throws ActionLifecycleException {
- // nop
- }
-
- public Message process( final Message message ) throws ActionProcessingException {
- Map params;
- WSDynamicClient client = null;
- try {
- client = WSDynamicClientFactory.getInstace().getClient(wsdl, serviceName, username, password);
- } catch (Exception e) {
- e.printStackTrace();
- throw new ActionProcessingException("Error durinfg wise client creation", e);
- }
-
- try {
- params = (Map)payloadProxy.getPayload(message);
- } catch (MessageDeliverException e) {
- throw new ActionProcessingException("Could not locate SOAP message parameters from payload", e);
- }
-
- if (params.isEmpty()) {
- logger.warn("Params Map found in message, but the map is empty.");
- }
- Map<String, WSEndpoint> endpointsMap = client.processEndpoints();
- WSEndpoint endpoint;
- if (endPointName != null) {
- endpoint = endpointsMap.get(endPointName);
- } else {
- endpoint = endpointsMap.values().iterator().next();
- }
-
- for (String config : smooksHandler) {
- logger.info("adding smooks handler:" + config);
- endpoint.addHandler(new SmooksHandler(config, params));
- }
-
- for (String config : customHandlers) {
- logger.info("adding custom handler:" + config);
- try {
- Class<?> clazz = Thread.currentThread().getContextClassLoader().loadClass(config);
- endpoint.addHandler((Handler)clazz.newInstance());
- } catch (Exception e) {
- logger.info("Failed during custom handler addition:" + e.getLocalizedMessage());
- }
- }
-
- if (loggingEnabled) {
- logger.info("adding logging handler");
- endpoint.addHandler(new LoggingHandler());
- }
-
- Map<String, WSMethod> wsmethodsMap = endpoint.getWSMethods();
-
- InvocationResult result;
- try {
- WiseMapper mapper = null;
- if (this.smooksRequestMapperURL != null) {
- mapper = new SmooksMapper(this.smooksRequestMapperURL, "smook/report/report.html");
- }
- result = wsmethodsMap.get(this.soapAction).invoke(params, mapper);
- } catch (WiseException e) {
- throw new ActionProcessingException("Could not call method" + this.soapAction, e);
- }
- System.out.println("#3:" + result.getType());
- System.out.println("#3:" + result.getValue());
-
- WiseMapper mapper = null;
- if (this.smooksResponseMapperURL != null) {
- mapper = new SmooksMapper(this.smooksResponseMapperURL, "smook/report/report.html");
- }
- result.setMapper(mapper);
-
- // And process the response into the message...
-
- try {
- System.out.println("#4:" + (result.getMappedResult()).toString());
- payloadProxy.setPayload(message, result.getMappedResult());
- } catch (Exception e) {
- throw new ActionProcessingException("Could not set payload to SOAP message", e);
- }
-
- return message;
- }
-
-}
Copied: labs/jbossesb/workspace/dbevenius/security/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/wise/SOAPClient.java (from rev 21220, labs/jbossesb/trunk/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/wise/SOAPClient.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/wise/SOAPClient.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/wise/SOAPClient.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,289 @@
+/*
+ * 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.actions.soap.wise;
+
+import it.javalinux.wise.core.client.InvocationResult;
+import it.javalinux.wise.core.client.WSDynamicClient;
+import it.javalinux.wise.core.client.WSDynamicClientFactory;
+import it.javalinux.wise.core.client.WSEndpoint;
+import it.javalinux.wise.core.client.WSMethod;
+import it.javalinux.wise.core.client.handler.LoggingHandler;
+import it.javalinux.wise.core.client.handler.SmooksHandler;
+import it.javalinux.wise.core.exceptions.WiseException;
+import it.javalinux.wise.core.mapper.SmooksMapper;
+import it.javalinux.wise.core.mapper.WiseMapper;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import javax.xml.ws.handler.Handler;
+import org.apache.log4j.Logger;
+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;
+
+/**
+ * SOAP Client action processor. <p/> Uses the Wise Client Service to generate JAXWS client class and call the target service.
+ * This action then routes that message to that service.
+ * <h2>Endpoint Operation Specification</h2>
+ * Specifying the endpoint operation is a straightforward task. Simply specify the "wsdl" and "SOAPAction" properties on the
+ * SOAPClient action as follows:
+ *
+ * <pre>
+ * <action name="soap-wise-client-action" class="org.jboss.soa.esb.actions.soap.wise.SOAPClient">
+ * <property name="wsdl" value="http://localhost:8080/acme/services/OrderManagement?wsdl"/>
+ * <property name="SOAPAction" value="http://www.acme.com/OrderManagement/SendSalesOrderNotification"/>
+ * </action>
+ * </pre>
+ *
+ * The SOAP operation is derived from the SOAPAction. There are some optional attribute:
+ *
+ * <pre>
+ * <property name="EndPointName" value="PingWSPort"/>
+ * </pre>
+ *
+ * The EndPoint invoked. Webservices can have multiple endpoint. If it's not specified the first specified in wsdl will be used
+ *
+ * <pre>
+ * <property name="SmooksRequestMapper" value="smooks-request-config.xml"/>
+ * </pre>
+ *
+ * It's a smooks config file to define the mapping java-to-java defined for the request
+ *
+ * <pre>
+ * <property name="SmooksResponseMapper" value="smooks-response-config.xml"/>
+ * </pre>
+ *
+ * It's a smooks config file to define the mapping java-to-java defined for the response
+ *
+ * <pre>
+ * <property name="serviceName" value="PingWS"/>
+ * </pre>
+ *
+ * It's a symbolic service name used by wise to cache object generation and/or use already generated object. It it isn't provided
+ * wise use the servlet name of wsdl.
+ *
+ * <pre>
+ * <property name="userName" value=""/>
+ * <property name="password" value=""/>
+ * </pre>
+ *
+ * User and password used if webservice is protected by BAsic Authentication HTTP user and password
+ * <h2 id="request-construction">SOAP Request Message Construction</h2>
+ * The SOAP operation parameters are supplied in one of 2 ways:
+ * <ol>
+ * <li>As a {@link Map} instance set on the <i>default body location</i> (Message.getBody().add(Map))</li>
+ * <li>As a {@link Map} instance set on in a <i>named body location</i> (Message.getBody().add(String, Map)), where the name of
+ * that body location is specified as the value of the "paramsLocation" action property. </li>
+ * </ol>
+ * The parameter {@link Map} itself can also be populated in one of 2 ways:
+ * <ol>
+ * <li><b>Option 1</b>: With a set of Objects of any type. In this case a smooks config have to be specified in action attribute
+ * SmooksRequestMapper and smooks is used to make the java-to-java conversion
+ * <li><b>Option 2</b>: With a set of String based key-value pairs(<String, Object>), where the key is the name of the
+ * SOAP parameter as specified in wsdls (or in generated class) to be populated with the key's value. </li>
+ * </ol>
+ * <h2>SOAP Response Message Consumption</h2>
+ * The SOAP response object instance can be is attached to the ESB {@link Message} instance in one of the following ways:
+ * <ol>
+ * <li>On the <i>default body location</i> (Message.getBody().add(Map))</li>
+ * <li>On in a <i>named body location</i> (Message.getBody().add(String, Map)), where the name of that body location is
+ * specified as the value of the "responseLocation" action property. </li>
+ * </ol>
+ * The response object instance can also be populated (from the SOAP response) in one of 3 ways:
+ * <ol>
+ * <li><b>Option 1</b>: With a set of Objects of any type. In this case a smooks config have to be specified in action attribute
+ * SmooksResponseMapper and smooks is used to make the java-to-java conversion
+ * <li><b>Option 2</b>: With a set of String based key-value pairs(<String, Object>), where the key is the name of the
+ * SOAP answer as specified in wsdls (or in generated class) to be populated with the key's value. </li>
+ * </ol>
+ * <h2>JAX-WS Handler for the SOAP Request/Response Message</h2>
+ * It's often necessary to be able to transform the SOAP request or response, especially in header. This may be to simply add some
+ * standard SOAP handlers. Wise support JAXWS Soap Handler, both custom or a predefined one based on smooks. Current
+ * implementation of the action have some limitation: support only smooks ones and all handler is intended to transform both input
+ * and output messages. These limitations will be removed in future. <p/> Transformation of the SOAP request (before sending) is
+ * supported by configuring the SOAPClient action with a Smooks transformation configuration property as follows:
+ *
+ * <pre>
+ * <property name="smooksTransform" value="/transforms/order-transform.xml" />
+ * </pre>
+ *
+ * The value of the "smooksTransform" property is resolved by first checking it as a filesystem based resource. Failing that, it's
+ * checked as a classpath resource and failing that, as a URI based resource.
+ * <h2>Logging the SOAP Request/Response Message</h2>
+ * It's useful for debug purpose to view soap Message sent and response received. Wise achieve this goal using a JAX-WS handler
+ * printing all messages exchanged on System.out You can enable as follow:
+ *
+ * <pre>
+ * <property name="LoggingMessages" value="true" />
+ * </pre>
+ *
+ * @author <a href="mailto:stefano.maestri at javalinux.it">stefano.maestri at javalinux.it</a>
+ */
+public class SOAPClient extends AbstractActionPipelineProcessor {
+
+ private final Logger logger = Logger.getLogger(SOAPClient.class);
+ private final String wsdl;
+ private final String soapAction;
+ private final String endPointName;
+ private final String smooksRequestMapperURL;
+ private final String smooksResponseMapperURL;
+ private String serviceName;
+ private final String username;
+ private final String password;
+ // private WSDynamicClient client;
+ private final List<String> smooksHandler = new ArrayList<String>();
+ private final List<String> customHandlers = new ArrayList<String>();
+ private final MessagePayloadProxy payloadProxy;
+ private boolean loggingEnabled = false;
+
+ public SOAPClient( ConfigTree config ) throws ConfigurationException {
+ wsdl = config.getRequiredAttribute("wsdl");
+ soapAction = config.getRequiredAttribute("SOAPAction");
+ endPointName = config.getRequiredAttribute("EndPointName");
+ smooksRequestMapperURL = config.getAttribute("SmooksRequestMapper");
+ smooksResponseMapperURL = config.getAttribute("SmooksResponseMapper");
+ serviceName = config.getAttribute("serviceName");
+ serviceName = serviceName != null ? serviceName : wsdl.substring(wsdl.lastIndexOf("/"), wsdl.lastIndexOf("?"));
+ username = config.getAttribute("username");
+ password = config.getAttribute("password");
+ logger.info(config.getAttribute("LoggingMessages"));
+ loggingEnabled = Boolean.parseBoolean(config.getAttribute("LoggingMessages"));
+ logger.info("loggingEnabled:" + loggingEnabled);
+ ConfigTree[] handlersConfig;
+ if (config.getAttribute("smooks-handler-config") != null) {
+ smooksHandler.add(config.getAttribute("smooks-handler-config"));
+ }
+ if (config.getAttribute("custom-handlers") != null) {
+ for (String className : config.getAttribute("custom-handlers").split(";")) {
+ customHandlers.add(className);
+ }
+
+ }
+ handlersConfig = config.getChildren("custom-handlers");
+
+ payloadProxy = new MessagePayloadProxy(config);
+
+ }
+
+ @Override
+ public void initialise() throws ActionLifecycleException {
+ super.initialise();
+ try {
+ WSDynamicClientFactory.getInstace().clearCache();
+ } catch (Exception e) {
+ throw new ActionLifecycleException("Error durinfg wise client cache cleaning", e);
+ }
+
+ }
+
+ @Override
+ public void destroy() throws ActionLifecycleException {
+ // nop
+ }
+
+ public Message process( final Message message ) throws ActionProcessingException {
+ Map params;
+ WSDynamicClient client = null;
+ try {
+ client = WSDynamicClientFactory.getInstace().getClient(wsdl, serviceName, username, password);
+ } catch (Exception e) {
+ e.printStackTrace();
+ throw new ActionProcessingException("Error durinfg wise client creation", e);
+ }
+
+ try {
+ params = (Map)payloadProxy.getPayload(message);
+ } catch (MessageDeliverException e) {
+ throw new ActionProcessingException("Could not locate SOAP message parameters from payload", e);
+ }
+
+ if (params.isEmpty()) {
+ logger.warn("Params Map found in message, but the map is empty.");
+ }
+ Map<String, WSEndpoint> endpointsMap = client.processEndpoints();
+ WSEndpoint endpoint;
+ if (endPointName != null) {
+ endpoint = endpointsMap.get(endPointName);
+ } else {
+ endpoint = endpointsMap.values().iterator().next();
+ }
+
+ for (String config : smooksHandler) {
+ logger.info("adding smooks handler:" + config);
+ endpoint.addHandler(new SmooksHandler(config, params));
+ }
+
+ for (String config : customHandlers) {
+ logger.info("adding custom handler:" + config);
+ try {
+ Class<?> clazz = Thread.currentThread().getContextClassLoader().loadClass(config);
+ endpoint.addHandler((Handler)clazz.newInstance());
+ } catch (Exception e) {
+ logger.info("Failed during custom handler addition:" + e.getLocalizedMessage());
+ }
+ }
+
+ if (loggingEnabled) {
+ logger.info("adding logging handler");
+ endpoint.addHandler(new LoggingHandler());
+ }
+
+ Map<String, WSMethod> wsmethodsMap = endpoint.getWSMethods();
+
+ InvocationResult result;
+ try {
+ WiseMapper mapper = null;
+ if (this.smooksRequestMapperURL != null) {
+ mapper = new SmooksMapper(this.smooksRequestMapperURL, "smook/report/report.html");
+ }
+ result = wsmethodsMap.get(this.soapAction).invoke(params, mapper);
+ } catch (WiseException e) {
+ throw new ActionProcessingException("Could not call method" + this.soapAction, e);
+ }
+ System.out.println("#3:" + result.getType());
+ System.out.println("#3:" + result.getValue());
+
+ WiseMapper mapper = null;
+ if (this.smooksResponseMapperURL != null) {
+ mapper = new SmooksMapper(this.smooksResponseMapperURL, "smook/report/report.html");
+ }
+ result.setMapper(mapper);
+
+ // And process the response into the message...
+
+ try {
+ System.out.println("#4:" + (result.getMappedResult()).toString());
+ payloadProxy.setPayload(message, result.getMappedResult());
+ } catch (Exception e) {
+ throw new ActionProcessingException("Could not set payload to SOAP message", e);
+ }
+
+ return message;
+ }
+
+}
Modified: labs/jbossesb/workspace/dbevenius/security/qa/junit/build.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/build.xml 2008-07-25 12:59:39 UTC (rev 21222)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/build.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -133,6 +133,34 @@
<include name="META-INF/*.xml"/>
</fileset>
</jar>
+ <jar jarfile="${qa.build.lib}/jbpm-local-test.esb">
+ <fileset dir="${qa.junit.classes}">
+ <include name="org/jboss/soa/esb/server/jbpmLocal/*.class"/>
+ </fileset>
+ <fileset dir="${qa.junit.classes}">
+ <include name="org/jboss/soa/esb/server/Redelivery*.class"/>
+ </fileset>
+ <fileset dir="${qa.junit.resources}/server/jbpmLocal">
+ <include name="esb-${org.jboss.soa.esb.qa.jmsprovider}-service.xml"/>
+ <include name="test-jbpm-service.xml"/>
+ <include name="jbpmLocalTest.xml"/>
+ <include name="META-INF/*.xml"/>
+ </fileset>
+ </jar>
+ <jar jarfile="${qa.build.lib}/jbpm-reply-test.esb">
+ <fileset dir="${qa.junit.classes}">
+ <include name="org/jboss/soa/esb/server/jbpmReply/*.class"/>
+ </fileset>
+ <fileset dir="${qa.junit.classes}">
+ <include name="org/jboss/soa/esb/server/Redelivery*.class"/>
+ </fileset>
+ <fileset dir="${qa.junit.resources}/server/jbpmReply">
+ <include name="esb-${org.jboss.soa.esb.qa.jmsprovider}-service.xml"/>
+ <include name="test-jbpm-service.xml"/>
+ <include name="jbpmReplyTest.xml"/>
+ <include name="META-INF/*.xml"/>
+ </fileset>
+ </jar>
</target>
<target name="one-test" if="test" depends="jars"
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal (from rev 21220, labs/jbossesb/trunk/qa/junit/resources/server/jbpmLocal)
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF (from rev 21220, labs/jbossesb/trunk/qa/junit/resources/server/jbpmLocal/META-INF)
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF/deployment.xml
===================================================================
--- labs/jbossesb/trunk/qa/junit/resources/server/jbpmLocal/META-INF/deployment.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF/deployment.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,4 +0,0 @@
-<jbossesb-deployment>
- <depends>jboss.esb.qa.junit.destination:service=Queue,name=jbpm_local_channel</depends>
- <depends>jboss.esb:test=JbpmLocalServer</depends>
-</jbossesb-deployment>
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF/deployment.xml (from rev 21220, labs/jbossesb/trunk/qa/junit/resources/server/jbpmLocal/META-INF/deployment.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF/deployment.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF/deployment.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,4 @@
+<jbossesb-deployment>
+ <depends>jboss.esb.qa.junit.destination:service=Queue,name=jbpm_local_channel</depends>
+ <depends>jboss.esb:test=JbpmLocalServer</depends>
+</jbossesb-deployment>
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/qa/junit/resources/server/jbpmLocal/META-INF/jboss-esb.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,21 +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-jca-provider name="JMS" connection-factory="ConnectionFactory">
- <jms-bus busid="jbpm_local_channel">
- <jms-message-filter dest-type="QUEUE" dest-name="queue/jbpm_local_channel"/>
- </jms-bus>
- </jms-jca-provider>
- </providers>
-
- <services>
- <service category="TestJBPMLocalESB" name="Counter" description="Echo service">
- <listeners>
- <jms-listener name="JBPM-ESBListener" busidref="jbpm_local_channel" maxThreads="1"/>
- </listeners>
- <actions>
- <action name="echoAction" class="org.jboss.soa.esb.server.jbpmLocal.CounterAction"/>
- </actions>
- </service>
- </services>
-</jbossesb>
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF/jboss-esb.xml (from rev 21220, labs/jbossesb/trunk/qa/junit/resources/server/jbpmLocal/META-INF/jboss-esb.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF/jboss-esb.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/META-INF/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,21 @@
+<?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-jca-provider name="JMS" connection-factory="ConnectionFactory">
+ <jms-bus busid="jbpm_local_channel">
+ <jms-message-filter dest-type="QUEUE" dest-name="queue/jbpm_local_channel"/>
+ </jms-bus>
+ </jms-jca-provider>
+ </providers>
+
+ <services>
+ <service category="TestJBPMLocalESB" name="Counter" description="Echo service">
+ <listeners>
+ <jms-listener name="JBPM-ESBListener" busidref="jbpm_local_channel" maxThreads="1"/>
+ </listeners>
+ <actions>
+ <action name="echoAction" class="org.jboss.soa.esb.server.jbpmLocal.CounterAction"/>
+ </actions>
+ </service>
+ </services>
+</jbossesb>
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/esb-jbm-service.xml
===================================================================
--- labs/jbossesb/trunk/qa/junit/resources/server/jbpmLocal/esb-jbm-service.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/esb-jbm-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.qa.junit.destination:service=Queue,name=jbpm_local_channel"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-</server>
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/esb-jbm-service.xml (from rev 21220, labs/jbossesb/trunk/qa/junit/resources/server/jbpmLocal/esb-jbm-service.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/esb-jbm-service.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/esb-jbm-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.qa.junit.destination:service=Queue,name=jbpm_local_channel"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/esb-jbmq-service.xml
===================================================================
--- labs/jbossesb/trunk/qa/junit/resources/server/jbpmLocal/esb-jbmq-service.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/esb-jbmq-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.qa.junit.destination:service=Queue,name=jbpm_local_channel">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
-</server>
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/esb-jbmq-service.xml (from rev 21220, labs/jbossesb/trunk/qa/junit/resources/server/jbpmLocal/esb-jbmq-service.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/esb-jbmq-service.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/esb-jbmq-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.qa.junit.destination:service=Queue,name=jbpm_local_channel">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+</server>
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/jbpmLocalTest.xml
===================================================================
--- labs/jbossesb/trunk/qa/junit/resources/server/jbpmLocal/jbpmLocalTest.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/jbpmLocalTest.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<process-definition name="jBPMLocalTest">
- <start-state name="start">
- <transition to="node1"/>
- </start-state>
-
- <node name="node1">
- <action name="sendToESB" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
- <esbCategoryName>TestJBPMLocalESB</esbCategoryName>
- <esbServiceName>Counter</esbServiceName>
- <esbToBpmVars>
- <!-- should be set on root as that is the active task -->
- <mapping esb="BODY_CONTENT" bpm="theBody" process-scope="false"/>
- </esbToBpmVars>
- </action>
- <transition to="fork"/>
- </node>
-
- <fork name="fork">
- <event type="node-enter">
- <action name="logRoot" class="org.jboss.soa.esb.server.jbpmLocal.JbpmLocalLogHandler"/>
- </event>
- <transition name="child1" to="child1"/>
- <transition name="child2" to="child2"/>
- </fork>
-
- <node name="child1">
- <action name="child1SendToESB" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
- <esbCategoryName>TestJBPMLocalESB</esbCategoryName>
- <esbServiceName>Counter</esbServiceName>
- <bpmToEsbVars>
- <!-- should inherit the root value as current task is not set -->
- <mapping bpm="theBody" esb="BODY_CONTENT" process-scope="false"/>
- </bpmToEsbVars>
- <esbToBpmVars>
- <!-- should be set on child as that is the active task -->
- <mapping esb="BODY_CONTENT" bpm="theBody" process-scope="false"/>
- </esbToBpmVars>
- </action>
- <transition to="join"/>
- </node>
-
- <node name="child2">
- <action name="child2SendToESB" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
- <esbCategoryName>TestJBPMLocalESB</esbCategoryName>
- <esbServiceName>Counter</esbServiceName>
- <bpmToEsbVars>
- <!-- should inherit the root value as current task is not set -->
- <mapping bpm="theBody" esb="BODY_CONTENT" process-scope="false"/>
- </bpmToEsbVars>
- <esbToBpmVars>
- <!-- should be set on child as that is the active task -->
- <mapping esb="BODY_CONTENT" bpm="theBody" process-scope="false"/>
- </esbToBpmVars>
- </action>
- <transition to="join"/>
- </node>
-
- <join name="join">
- <event type="node-enter">
- <action name="logChild" class="org.jboss.soa.esb.server.jbpmLocal.JbpmLocalLogHandler"/>
- </event>
- <transition to="end"/>
- </join>
-
- <end-state name="end">
- <event type="node-enter">
- <action name="logRoot2" class="org.jboss.soa.esb.server.jbpmLocal.JbpmLocalLogHandler"/>
- </event>
- </end-state>
-</process-definition>
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/jbpmLocalTest.xml (from rev 21220, labs/jbossesb/trunk/qa/junit/resources/server/jbpmLocal/jbpmLocalTest.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/jbpmLocalTest.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/jbpmLocalTest.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<process-definition name="jBPMLocalTest">
+ <start-state name="start">
+ <transition to="node1"/>
+ </start-state>
+
+ <node name="node1">
+ <action name="sendToESB" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
+ <esbCategoryName>TestJBPMLocalESB</esbCategoryName>
+ <esbServiceName>Counter</esbServiceName>
+ <esbToBpmVars>
+ <!-- should be set on root as that is the active task -->
+ <mapping esb="BODY_CONTENT" bpm="theBody" process-scope="false"/>
+ </esbToBpmVars>
+ </action>
+ <transition to="fork"/>
+ </node>
+
+ <fork name="fork">
+ <event type="node-enter">
+ <action name="logRoot" class="org.jboss.soa.esb.server.jbpmLocal.JbpmLocalLogHandler"/>
+ </event>
+ <transition name="child1" to="child1"/>
+ <transition name="child2" to="child2"/>
+ </fork>
+
+ <node name="child1">
+ <action name="child1SendToESB" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
+ <esbCategoryName>TestJBPMLocalESB</esbCategoryName>
+ <esbServiceName>Counter</esbServiceName>
+ <bpmToEsbVars>
+ <!-- should inherit the root value as current task is not set -->
+ <mapping bpm="theBody" esb="BODY_CONTENT" process-scope="false"/>
+ </bpmToEsbVars>
+ <esbToBpmVars>
+ <!-- should be set on child as that is the active task -->
+ <mapping esb="BODY_CONTENT" bpm="theBody" process-scope="false"/>
+ </esbToBpmVars>
+ </action>
+ <transition to="join"/>
+ </node>
+
+ <node name="child2">
+ <action name="child2SendToESB" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
+ <esbCategoryName>TestJBPMLocalESB</esbCategoryName>
+ <esbServiceName>Counter</esbServiceName>
+ <bpmToEsbVars>
+ <!-- should inherit the root value as current task is not set -->
+ <mapping bpm="theBody" esb="BODY_CONTENT" process-scope="false"/>
+ </bpmToEsbVars>
+ <esbToBpmVars>
+ <!-- should be set on child as that is the active task -->
+ <mapping esb="BODY_CONTENT" bpm="theBody" process-scope="false"/>
+ </esbToBpmVars>
+ </action>
+ <transition to="join"/>
+ </node>
+
+ <join name="join">
+ <event type="node-enter">
+ <action name="logChild" class="org.jboss.soa.esb.server.jbpmLocal.JbpmLocalLogHandler"/>
+ </event>
+ <transition to="end"/>
+ </join>
+
+ <end-state name="end">
+ <event type="node-enter">
+ <action name="logRoot2" class="org.jboss.soa.esb.server.jbpmLocal.JbpmLocalLogHandler"/>
+ </event>
+ </end-state>
+</process-definition>
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/test-jbpm-service.xml
===================================================================
--- labs/jbossesb/trunk/qa/junit/resources/server/jbpmLocal/test-jbpm-service.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/test-jbpm-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<server>
- <mbean name="jboss.esb:test=JbpmLocalServer" code="org.jboss.soa.esb.server.jbpmLocal.JbpmServer"/>
- <mbean name="jboss.esb:test=RedeliveryServer" code="org.jboss.soa.esb.server.Redelivery"/>
-</server>
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/test-jbpm-service.xml (from rev 21220, labs/jbossesb/trunk/qa/junit/resources/server/jbpmLocal/test-jbpm-service.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/test-jbpm-service.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmLocal/test-jbpm-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+ <mbean name="jboss.esb:test=JbpmLocalServer" code="org.jboss.soa.esb.server.jbpmLocal.JbpmServer"/>
+ <mbean name="jboss.esb:test=RedeliveryServer" code="org.jboss.soa.esb.server.Redelivery"/>
+</server>
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply (from rev 21220, labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply)
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF (from rev 21220, labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply/META-INF)
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF/deployment.xml
===================================================================
--- labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply/META-INF/deployment.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF/deployment.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,5 +0,0 @@
-<jbossesb-deployment>
- <depends>jboss.esb.qa.junit.destination:service=Queue,name=jbpm_reply_create_channel</depends>
- <depends>jboss.esb.qa.junit.destination:service=Queue,name=jbpm_reply_channel</depends>
- <depends>jboss.esb:test=JbpmReplyServer</depends>
-</jbossesb-deployment>
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF/deployment.xml (from rev 21220, labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply/META-INF/deployment.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF/deployment.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF/deployment.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,5 @@
+<jbossesb-deployment>
+ <depends>jboss.esb.qa.junit.destination:service=Queue,name=jbpm_reply_create_channel</depends>
+ <depends>jboss.esb.qa.junit.destination:service=Queue,name=jbpm_reply_channel</depends>
+ <depends>jboss.esb:test=JbpmReplyServer</depends>
+</jbossesb-deployment>
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply/META-INF/jboss-esb.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,37 +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-jca-provider name="JMS" connection-factory="ConnectionFactory">
- <jms-bus busid="jbpm_reply_channel">
- <jms-message-filter dest-type="QUEUE" dest-name="queue/jbpm_reply_channel"/>
- </jms-bus>
- <jms-bus busid="jbpm_reply_create_channel">
- <jms-message-filter dest-type="QUEUE" dest-name="queue/jbpm_reply_create_channel"/>
- </jms-bus>
- </jms-jca-provider>
- </providers>
-
- <services>
- <service category="TestJBPMReplyESB" name="Create" description="Create service">
- <listeners>
- <jms-listener name="JBPM-ESBListener" busidref="jbpm_reply_create_channel"/>
- </listeners>
- <actions mep="OneWay">
- <action name="create_new_process_instance"
- class="org.jboss.soa.esb.services.jbpm.actions.BpmProcessor">
- <property name="command" value="StartProcessInstanceCommand"/>
- <property name="process-definition-name" value="jBPMReplyTest"/>
- <property name="reply-to-originator" value="true"/>
- </action>
- </actions>
- </service>
- <service category="TestJBPMReplyESB" name="Reply" description="Reply service">
- <listeners>
- <jms-listener name="JBPM-ESBListener" busidref="jbpm_reply_channel"/>
- </listeners>
- <actions>
- <action name="replyAction" class="org.jboss.soa.esb.server.jbpmReply.ReplyAction"/>
- </actions>
- </service>
- </services>
-</jbossesb>
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF/jboss-esb.xml (from rev 21220, labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply/META-INF/jboss-esb.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF/jboss-esb.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/META-INF/jboss-esb.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,37 @@
+<?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-jca-provider name="JMS" connection-factory="ConnectionFactory">
+ <jms-bus busid="jbpm_reply_channel">
+ <jms-message-filter dest-type="QUEUE" dest-name="queue/jbpm_reply_channel"/>
+ </jms-bus>
+ <jms-bus busid="jbpm_reply_create_channel">
+ <jms-message-filter dest-type="QUEUE" dest-name="queue/jbpm_reply_create_channel"/>
+ </jms-bus>
+ </jms-jca-provider>
+ </providers>
+
+ <services>
+ <service category="TestJBPMReplyESB" name="Create" description="Create service">
+ <listeners>
+ <jms-listener name="JBPM-ESBListener" busidref="jbpm_reply_create_channel"/>
+ </listeners>
+ <actions mep="OneWay">
+ <action name="create_new_process_instance"
+ class="org.jboss.soa.esb.services.jbpm.actions.BpmProcessor">
+ <property name="command" value="StartProcessInstanceCommand"/>
+ <property name="process-definition-name" value="jBPMReplyTest"/>
+ <property name="reply-to-originator" value="true"/>
+ </action>
+ </actions>
+ </service>
+ <service category="TestJBPMReplyESB" name="Reply" description="Reply service">
+ <listeners>
+ <jms-listener name="JBPM-ESBListener" busidref="jbpm_reply_channel"/>
+ </listeners>
+ <actions>
+ <action name="replyAction" class="org.jboss.soa.esb.server.jbpmReply.ReplyAction"/>
+ </actions>
+ </service>
+ </services>
+</jbossesb>
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/esb-jbm-service.xml
===================================================================
--- labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply/esb-jbm-service.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/esb-jbm-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.qa.junit.destination:service=Queue,name=jbpm_reply_create_channel"
- 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.qa.junit.destination:service=Queue,name=jbpm_reply_channel"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-</server>
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/esb-jbm-service.xml (from rev 21220, labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply/esb-jbm-service.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/esb-jbm-service.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/esb-jbm-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.qa.junit.destination:service=Queue,name=jbpm_reply_create_channel"
+ 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.qa.junit.destination:service=Queue,name=jbpm_reply_channel"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/esb-jbmq-service.xml
===================================================================
--- labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply/esb-jbmq-service.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/esb-jbmq-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.qa.junit.destination:service=Queue,name=jbpm_reply_create_channel">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.qa.junit.destination:service=Queue,name=jbpm_reply_channel">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
-</server>
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/esb-jbmq-service.xml (from rev 21220, labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply/esb-jbmq-service.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/esb-jbmq-service.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/esb-jbmq-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.qa.junit.destination:service=Queue,name=jbpm_reply_create_channel">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.esb.qa.junit.destination:service=Queue,name=jbpm_reply_channel">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+</server>
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/jbpmReplyTest.xml
===================================================================
--- labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply/jbpmReplyTest.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/jbpmReplyTest.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<process-definition name="jBPMReplyTest">
- <start-state name="start">
- <transition to="reply"/>
- </start-state>
-
- <node name="reply">
- <event type="node-enter">
- <action name="notify" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbNotifier">
- <replyToOriginator>reply</replyToOriginator>
- </action>
- </event>
- <action name="sendToESB" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
- <replyToOriginator>reply</replyToOriginator>
- </action>
- <transition to="fault"/>
- </node>
-
- <node name="fault">
- <event type="node-enter">
- <action name="notify" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbNotifier">
- <replyToOriginator>fault</replyToOriginator>
- </action>
- </event>
- <action name="sendToESB" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
- <replyToOriginator>fault</replyToOriginator>
- </action>
- <transition to="end"/>
- </node>
-
- <end-state name="end"/>
-</process-definition>
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/jbpmReplyTest.xml (from rev 21220, labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply/jbpmReplyTest.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/jbpmReplyTest.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/jbpmReplyTest.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<process-definition name="jBPMReplyTest">
+ <start-state name="start">
+ <transition to="reply"/>
+ </start-state>
+
+ <node name="reply">
+ <event type="node-enter">
+ <action name="notify" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbNotifier">
+ <replyToOriginator>reply</replyToOriginator>
+ </action>
+ </event>
+ <action name="sendToESB" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
+ <replyToOriginator>reply</replyToOriginator>
+ </action>
+ <transition to="fault"/>
+ </node>
+
+ <node name="fault">
+ <event type="node-enter">
+ <action name="notify" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbNotifier">
+ <replyToOriginator>fault</replyToOriginator>
+ </action>
+ </event>
+ <action name="sendToESB" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
+ <replyToOriginator>fault</replyToOriginator>
+ </action>
+ <transition to="end"/>
+ </node>
+
+ <end-state name="end"/>
+</process-definition>
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/test-jbpm-service.xml
===================================================================
--- labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply/test-jbpm-service.xml 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/test-jbpm-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<server>
- <mbean name="jboss.esb:test=JbpmReplyServer" code="org.jboss.soa.esb.server.jbpmReply.JbpmServer"/>
- <mbean name="jboss.esb:test=RedeliveryServer" code="org.jboss.soa.esb.server.Redelivery"/>
-</server>
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/test-jbpm-service.xml (from rev 21220, labs/jbossesb/trunk/qa/junit/resources/server/jbpmReply/test-jbpm-service.xml)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/test-jbpm-service.xml (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/resources/server/jbpmReply/test-jbpm-service.xml 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+ <mbean name="jboss.esb:test=JbpmReplyServer" code="org.jboss.soa.esb.server.jbpmReply.JbpmServer"/>
+ <mbean name="jboss.esb:test=RedeliveryServer" code="org.jboss.soa.esb.server.Redelivery"/>
+</server>
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal (from rev 21220, labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal)
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/CounterAction.java
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/CounterAction.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/CounterAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,62 +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.server.jbpmLocal;
-
-import org.jboss.soa.esb.actions.AbstractActionLifecycle;
-import org.jboss.soa.esb.actions.ActionPipelineProcessor;
-import org.jboss.soa.esb.actions.ActionProcessingException;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.message.Message;
-
-/**
- * Action class using a counter as response message.
- *
- * @author <a href='mailto:Kevin.Conner at jboss.com'>Kevin Conner</a>
- */
-public class CounterAction extends AbstractActionLifecycle implements ActionPipelineProcessor
-{
- private int counter ;
-
- public CounterAction(final ConfigTree config)
- {
- }
-
- public Message process(final Message message)
- throws ActionProcessingException
- {
- message.getBody().add(getCounter()) ;
- return message ;
- }
-
- private synchronized int getCounter()
- {
- return counter++ ;
- }
-
- public void processException(final Message message, final Throwable th)
- {
- }
-
- public void processSuccess(final Message message)
- {
- }
-}
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/CounterAction.java (from rev 21220, labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/CounterAction.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/CounterAction.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/CounterAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,62 @@
+/*
+* 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.server.jbpmLocal;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.actions.ActionPipelineProcessor;
+import org.jboss.soa.esb.actions.ActionProcessingException;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+
+/**
+ * Action class using a counter as response message.
+ *
+ * @author <a href='mailto:Kevin.Conner at jboss.com'>Kevin Conner</a>
+ */
+public class CounterAction extends AbstractActionLifecycle implements ActionPipelineProcessor
+{
+ private int counter ;
+
+ public CounterAction(final ConfigTree config)
+ {
+ }
+
+ public Message process(final Message message)
+ throws ActionProcessingException
+ {
+ message.getBody().add(getCounter()) ;
+ return message ;
+ }
+
+ private synchronized int getCounter()
+ {
+ return counter++ ;
+ }
+
+ public void processException(final Message message, final Throwable th)
+ {
+ }
+
+ public void processSuccess(final Message message)
+ {
+ }
+}
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalLogHandler.java
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalLogHandler.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalLogHandler.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,65 +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.server.jbpmLocal;
-
-import javax.management.MBeanServer;
-import javax.management.MalformedObjectNameException;
-
-import org.jboss.mx.util.MBeanProxyExt;
-import org.jboss.mx.util.MBeanServerLocator;
-import org.jboss.soa.esb.server.RedeliveryMBean;
-import org.jbpm.context.exe.ContextInstance;
-import org.jbpm.graph.def.ActionHandler;
-import org.jbpm.graph.exe.ExecutionContext;
-import org.jbpm.graph.exe.Token;
-
-/**
- * Action Handler for jBPM local test.
- */
-public class JbpmLocalLogHandler implements ActionHandler
-{
- /**
- * Serial version UID for this class.
- */
- private static final long serialVersionUID = -2640937298056584812L;
-
- /**
- * Wait for a notification from the test.
- */
- public void execute(final ExecutionContext executionContext)
- throws Exception
- {
- final ContextInstance contextInstance = executionContext.getContextInstance() ;
- final Token token = executionContext.getToken() ;
- final Object value = contextInstance.getVariable("theBody", token) ;
-
- getRedeliveryMBean().logMessage(String.valueOf(value)) ;
- }
-
- private RedeliveryMBean getRedeliveryMBean()
- throws MalformedObjectNameException
- {
- final MBeanServer server = MBeanServerLocator.locateJBoss();
-
- return (RedeliveryMBean) MBeanProxyExt.create(RedeliveryMBean.class, RedeliveryMBean.objectName, server);
- }
-}
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalLogHandler.java (from rev 21220, labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalLogHandler.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalLogHandler.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalLogHandler.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,65 @@
+/*
+ * 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.server.jbpmLocal;
+
+import javax.management.MBeanServer;
+import javax.management.MalformedObjectNameException;
+
+import org.jboss.mx.util.MBeanProxyExt;
+import org.jboss.mx.util.MBeanServerLocator;
+import org.jboss.soa.esb.server.RedeliveryMBean;
+import org.jbpm.context.exe.ContextInstance;
+import org.jbpm.graph.def.ActionHandler;
+import org.jbpm.graph.exe.ExecutionContext;
+import org.jbpm.graph.exe.Token;
+
+/**
+ * Action Handler for jBPM local test.
+ */
+public class JbpmLocalLogHandler implements ActionHandler
+{
+ /**
+ * Serial version UID for this class.
+ */
+ private static final long serialVersionUID = -2640937298056584812L;
+
+ /**
+ * Wait for a notification from the test.
+ */
+ public void execute(final ExecutionContext executionContext)
+ throws Exception
+ {
+ final ContextInstance contextInstance = executionContext.getContextInstance() ;
+ final Token token = executionContext.getToken() ;
+ final Object value = contextInstance.getVariable("theBody", token) ;
+
+ getRedeliveryMBean().logMessage(String.valueOf(value)) ;
+ }
+
+ private RedeliveryMBean getRedeliveryMBean()
+ throws MalformedObjectNameException
+ {
+ final MBeanServer server = MBeanServerLocator.locateJBoss();
+
+ return (RedeliveryMBean) MBeanProxyExt.create(RedeliveryMBean.class, RedeliveryMBean.objectName, server);
+ }
+}
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalUnitTest.java
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalUnitTest.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalUnitTest.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,86 +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.server.jbpmLocal;
-
-import javax.management.ObjectName;
-
-import junit.framework.Test;
-
-import org.jboss.soa.esb.server.RedeliveryMBean;
-import org.jboss.test.JBossTestCase;
-
-/**
- * Test local variables for jBPM processes.
- *
- * @author <a href='mailto:kevin.conner at jboss.com'>Kevin Conner</a>
- */
-public class JbpmLocalUnitTest extends JBossTestCase
-{
- /**
- * The name of the deployment archive.
- */
- private static final String ESB_ARCHIVE = "jbpm-local-test.esb" ;
-
- /**
- * Construct the test case with the specified name.
- * @param name The name of the test case.
- */
- public JbpmLocalUnitTest(final String name)
- {
- super(name) ;
- }
-
- /**
- * Test for local variables.
- * @throws Exception For any failures.
- */
- public void testLocalVariables()
- throws Exception
- {
- getServer().invoke(new ObjectName(JbpmServerMBean.OBJECT_NAME), "startProcess", null, null) ;
-
- final String expected = "0" ;
-
- final int numMessages = 4 ;
- final String[] messages = (String[])getServer().invoke(new ObjectName(RedeliveryMBean.objectName), "waitForMessages",
- new Integer[] {Integer.valueOf(numMessages)}, new String[] { Integer.TYPE.getName() });
- assertNotNull("log messages", messages) ;
- assertEquals("Message count", numMessages, messages.length) ;
- for(int count = 0 ; count < numMessages ; count++)
- {
- assertNotNull("Message: " + count, messages[count]) ;
- }
- assertEquals("Initial message", expected, messages[0]) ;
- assertFalse("First child message", expected.equals(messages[1])) ;
- assertFalse("Second child message", expected.equals(messages[2])) ;
- assertFalse("Children are identical", messages[1].equals(messages[2])) ;
- assertEquals("Last message", expected, messages[3]) ;
- }
-
- /**
- * Create the test suite.
- * @return The suite representing this test case.
- */
- public static Test suite()
- throws Exception
- {
- return getDeploySetup(JbpmLocalUnitTest.class, ESB_ARCHIVE);
- }
-}
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalUnitTest.java (from rev 21220, labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalUnitTest.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalUnitTest.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmLocalUnitTest.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,86 @@
+/*
+ * 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.server.jbpmLocal;
+
+import javax.management.ObjectName;
+
+import junit.framework.Test;
+
+import org.jboss.soa.esb.server.RedeliveryMBean;
+import org.jboss.test.JBossTestCase;
+
+/**
+ * Test local variables for jBPM processes.
+ *
+ * @author <a href='mailto:kevin.conner at jboss.com'>Kevin Conner</a>
+ */
+public class JbpmLocalUnitTest extends JBossTestCase
+{
+ /**
+ * The name of the deployment archive.
+ */
+ private static final String ESB_ARCHIVE = "jbpm-local-test.esb" ;
+
+ /**
+ * Construct the test case with the specified name.
+ * @param name The name of the test case.
+ */
+ public JbpmLocalUnitTest(final String name)
+ {
+ super(name) ;
+ }
+
+ /**
+ * Test for local variables.
+ * @throws Exception For any failures.
+ */
+ public void testLocalVariables()
+ throws Exception
+ {
+ getServer().invoke(new ObjectName(JbpmServerMBean.OBJECT_NAME), "startProcess", null, null) ;
+
+ final String expected = "0" ;
+
+ final int numMessages = 4 ;
+ final String[] messages = (String[])getServer().invoke(new ObjectName(RedeliveryMBean.objectName), "waitForMessages",
+ new Integer[] {Integer.valueOf(numMessages)}, new String[] { Integer.TYPE.getName() });
+ assertNotNull("log messages", messages) ;
+ assertEquals("Message count", numMessages, messages.length) ;
+ for(int count = 0 ; count < numMessages ; count++)
+ {
+ assertNotNull("Message: " + count, messages[count]) ;
+ }
+ assertEquals("Initial message", expected, messages[0]) ;
+ assertFalse("First child message", expected.equals(messages[1])) ;
+ assertFalse("Second child message", expected.equals(messages[2])) ;
+ assertFalse("Children are identical", messages[1].equals(messages[2])) ;
+ assertEquals("Last message", expected, messages[3]) ;
+ }
+
+ /**
+ * Create the test suite.
+ * @return The suite representing this test case.
+ */
+ public static Test suite()
+ throws Exception
+ {
+ return getDeploySetup(JbpmLocalUnitTest.class, ESB_ARCHIVE);
+ }
+}
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServer.java
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServer.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServer.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,57 +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.server.jbpmLocal;
-
-import java.io.InputStream;
-
-import org.jboss.soa.esb.util.ClassUtil;
-import org.jbpm.JbpmConfiguration;
-import org.jbpm.JbpmContext;
-import org.jbpm.graph.def.ProcessDefinition;
-import org.jbpm.graph.exe.ProcessInstance;
-
-/**
- * MBean to manage jBPM local variable tests.
- *
- * @author <a href='mailto:kevin.conner at jboss.com'>Kevin Conner</a>
- */
-public class JbpmServer implements JbpmServerMBean
-{
- private static final String PROCESS_DEFINITION = "/jbpmLocalTest.xml" ;
-
- public synchronized void startProcess()
- {
- final JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance() ;
- final JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext() ;
-
- // Create process definition
- final InputStream is = ClassUtil.getResourceAsStream(PROCESS_DEFINITION, getClass()) ;
- final ProcessDefinition processDefinition = ProcessDefinition.parseXmlInputStream(is) ;
- jbpmContext.deployProcessDefinition(processDefinition) ;
-
- // Create process instance
- final ProcessInstance processInstance = jbpmContext.newProcessInstance(processDefinition.getName()) ;
-
- // Start process instance
- processInstance.signal() ;
-
- jbpmContext.close() ;
- }
-}
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServer.java (from rev 21220, labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServer.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServer.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServer.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,57 @@
+/*
+ * 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.server.jbpmLocal;
+
+import java.io.InputStream;
+
+import org.jboss.soa.esb.util.ClassUtil;
+import org.jbpm.JbpmConfiguration;
+import org.jbpm.JbpmContext;
+import org.jbpm.graph.def.ProcessDefinition;
+import org.jbpm.graph.exe.ProcessInstance;
+
+/**
+ * MBean to manage jBPM local variable tests.
+ *
+ * @author <a href='mailto:kevin.conner at jboss.com'>Kevin Conner</a>
+ */
+public class JbpmServer implements JbpmServerMBean
+{
+ private static final String PROCESS_DEFINITION = "/jbpmLocalTest.xml" ;
+
+ public synchronized void startProcess()
+ {
+ final JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance() ;
+ final JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext() ;
+
+ // Create process definition
+ final InputStream is = ClassUtil.getResourceAsStream(PROCESS_DEFINITION, getClass()) ;
+ final ProcessDefinition processDefinition = ProcessDefinition.parseXmlInputStream(is) ;
+ jbpmContext.deployProcessDefinition(processDefinition) ;
+
+ // Create process instance
+ final ProcessInstance processInstance = jbpmContext.newProcessInstance(processDefinition.getName()) ;
+
+ // Start process instance
+ processInstance.signal() ;
+
+ jbpmContext.close() ;
+ }
+}
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServerMBean.java
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServerMBean.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServerMBean.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,32 +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.server.jbpmLocal;
-
-/**
- * MBean to manage jBPM local variable tests.
- *
- * @author <a href='mailto:kevin.conner at jboss.com'>Kevin Conner</a>
- */
-public interface JbpmServerMBean
-{
- public static final String OBJECT_NAME="jboss.esb:test=JbpmLocalServer" ;
-
- public void startProcess() ;
-}
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServerMBean.java (from rev 21220, labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServerMBean.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServerMBean.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmLocal/JbpmServerMBean.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,32 @@
+/*
+ * 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.server.jbpmLocal;
+
+/**
+ * MBean to manage jBPM local variable tests.
+ *
+ * @author <a href='mailto:kevin.conner at jboss.com'>Kevin Conner</a>
+ */
+public interface JbpmServerMBean
+{
+ public static final String OBJECT_NAME="jboss.esb:test=JbpmLocalServer" ;
+
+ public void startProcess() ;
+}
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply (from rev 21220, labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmReply)
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmReplyUnitTest.java
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmReplyUnitTest.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmReplyUnitTest.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,102 +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.server.jbpmReply;
-
-import javax.management.ObjectName;
-
-import junit.framework.Test;
-
-import org.jboss.soa.esb.addressing.Call;
-import org.jboss.soa.esb.addressing.EPR;
-import org.jboss.soa.esb.addressing.eprs.LogicalEPR;
-import org.jboss.soa.esb.client.ServiceInvoker;
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.esb.message.format.MessageFactory;
-import org.jboss.soa.esb.server.RedeliveryMBean;
-import org.jboss.test.JBossTestCase;
-
-/**
- * Test local variables for jBPM processes.
- *
- * @author <a href='mailto:kevin.conner at jboss.com'>Kevin Conner</a>
- */
-public class JbpmReplyUnitTest extends JBossTestCase
-{
- /**
- * The name of the deployment archive.
- */
- private static final String ESB_ARCHIVE = "jbpm-reply-test.esb" ;
-
- /**
- * Construct the test case with the specified name.
- * @param name The name of the test case.
- */
- public JbpmReplyUnitTest(final String name)
- {
- super(name) ;
- }
-
- /**
- * Test for replies.
- * @throws Exception For any failures.
- */
- public void testReplies()
- throws Exception
- {
- getServer().invoke(new ObjectName(JbpmServerMBean.OBJECT_NAME), "deployProcess", null, null) ;
-
- final Message message = MessageFactory.getInstance().getMessage() ;
- final Call call = message.getHeader().getCall() ;
- final EPR replyToEPR = new LogicalEPR("TestJBPMReplyESB", "Reply") ;
- replyToEPR.getAddr().addExtension(ReplyAction.REPLY_TYPE, "reply") ;
- call.setReplyTo(replyToEPR) ;
-
- final EPR faultToEPR = new LogicalEPR("TestJBPMReplyESB", "Reply") ;
- faultToEPR.getAddr().addExtension(ReplyAction.REPLY_TYPE, "fault") ;
- call.setFaultTo(faultToEPR) ;
-
- final ServiceInvoker si = new ServiceInvoker("TestJBPMReplyESB", "Create") ;
- si.deliverAsync(message) ;
-
- final int numMessages = 4 ;
- final String[] messages = (String[])getServer().invoke(new ObjectName(RedeliveryMBean.objectName), "waitForMessages",
- new Integer[] {Integer.valueOf(numMessages)}, new String[] { Integer.TYPE.getName() });
- assertNotNull("log messages", messages) ;
- assertEquals("Message count", numMessages, messages.length) ;
- for(int count = 0 ; count < numMessages ; count++)
- {
- assertNotNull("Message: " + count, messages[count]) ;
- }
- assertEquals("Reply notification", "EsbNotifier:reply", messages[0]) ;
- assertEquals("Reply action", "EsbActionHandler:reply", messages[1]) ;
- assertEquals("Fault notification", "EsbNotifier:fault", messages[2]) ;
- assertEquals("Fault action", "EsbActionHandler:fault", messages[3]) ;
- }
-
- /**
- * Create the test suite.
- * @return The suite representing this test case.
- */
- public static Test suite()
- throws Exception
- {
- return getDeploySetup(JbpmReplyUnitTest.class, ESB_ARCHIVE);
- }
-}
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmReplyUnitTest.java (from rev 21220, labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmReplyUnitTest.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmReplyUnitTest.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmReplyUnitTest.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,102 @@
+/*
+ * 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.server.jbpmReply;
+
+import javax.management.ObjectName;
+
+import junit.framework.Test;
+
+import org.jboss.soa.esb.addressing.Call;
+import org.jboss.soa.esb.addressing.EPR;
+import org.jboss.soa.esb.addressing.eprs.LogicalEPR;
+import org.jboss.soa.esb.client.ServiceInvoker;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.format.MessageFactory;
+import org.jboss.soa.esb.server.RedeliveryMBean;
+import org.jboss.test.JBossTestCase;
+
+/**
+ * Test local variables for jBPM processes.
+ *
+ * @author <a href='mailto:kevin.conner at jboss.com'>Kevin Conner</a>
+ */
+public class JbpmReplyUnitTest extends JBossTestCase
+{
+ /**
+ * The name of the deployment archive.
+ */
+ private static final String ESB_ARCHIVE = "jbpm-reply-test.esb" ;
+
+ /**
+ * Construct the test case with the specified name.
+ * @param name The name of the test case.
+ */
+ public JbpmReplyUnitTest(final String name)
+ {
+ super(name) ;
+ }
+
+ /**
+ * Test for replies.
+ * @throws Exception For any failures.
+ */
+ public void testReplies()
+ throws Exception
+ {
+ getServer().invoke(new ObjectName(JbpmServerMBean.OBJECT_NAME), "deployProcess", null, null) ;
+
+ final Message message = MessageFactory.getInstance().getMessage() ;
+ final Call call = message.getHeader().getCall() ;
+ final EPR replyToEPR = new LogicalEPR("TestJBPMReplyESB", "Reply") ;
+ replyToEPR.getAddr().addExtension(ReplyAction.REPLY_TYPE, "reply") ;
+ call.setReplyTo(replyToEPR) ;
+
+ final EPR faultToEPR = new LogicalEPR("TestJBPMReplyESB", "Reply") ;
+ faultToEPR.getAddr().addExtension(ReplyAction.REPLY_TYPE, "fault") ;
+ call.setFaultTo(faultToEPR) ;
+
+ final ServiceInvoker si = new ServiceInvoker("TestJBPMReplyESB", "Create") ;
+ si.deliverAsync(message) ;
+
+ final int numMessages = 4 ;
+ final String[] messages = (String[])getServer().invoke(new ObjectName(RedeliveryMBean.objectName), "waitForMessages",
+ new Integer[] {Integer.valueOf(numMessages)}, new String[] { Integer.TYPE.getName() });
+ assertNotNull("log messages", messages) ;
+ assertEquals("Message count", numMessages, messages.length) ;
+ for(int count = 0 ; count < numMessages ; count++)
+ {
+ assertNotNull("Message: " + count, messages[count]) ;
+ }
+ assertEquals("Reply notification", "EsbNotifier:reply", messages[0]) ;
+ assertEquals("Reply action", "EsbActionHandler:reply", messages[1]) ;
+ assertEquals("Fault notification", "EsbNotifier:fault", messages[2]) ;
+ assertEquals("Fault action", "EsbActionHandler:fault", messages[3]) ;
+ }
+
+ /**
+ * Create the test suite.
+ * @return The suite representing this test case.
+ */
+ public static Test suite()
+ throws Exception
+ {
+ return getDeploySetup(JbpmReplyUnitTest.class, ESB_ARCHIVE);
+ }
+}
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServer.java
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServer.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServer.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,50 +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.server.jbpmReply;
-
-import java.io.InputStream;
-
-import org.jboss.soa.esb.util.ClassUtil;
-import org.jbpm.JbpmConfiguration;
-import org.jbpm.JbpmContext;
-import org.jbpm.graph.def.ProcessDefinition;
-
-/**
- * MBean to manage jBPM reply tests.
- *
- * @author <a href='mailto:kevin.conner at jboss.com'>Kevin Conner</a>
- */
-public class JbpmServer implements JbpmServerMBean
-{
- private static final String PROCESS_DEFINITION = "/jbpmReplyTest.xml" ;
-
- public synchronized void deployProcess()
- {
- final JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance() ;
- final JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext() ;
-
- // Create process definition
- final InputStream is = ClassUtil.getResourceAsStream(PROCESS_DEFINITION, getClass()) ;
- final ProcessDefinition processDefinition = ProcessDefinition.parseXmlInputStream(is) ;
- jbpmContext.deployProcessDefinition(processDefinition) ;
-
- jbpmContext.close() ;
- }
-}
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServer.java (from rev 21220, labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServer.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServer.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServer.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,50 @@
+/*
+ * 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.server.jbpmReply;
+
+import java.io.InputStream;
+
+import org.jboss.soa.esb.util.ClassUtil;
+import org.jbpm.JbpmConfiguration;
+import org.jbpm.JbpmContext;
+import org.jbpm.graph.def.ProcessDefinition;
+
+/**
+ * MBean to manage jBPM reply tests.
+ *
+ * @author <a href='mailto:kevin.conner at jboss.com'>Kevin Conner</a>
+ */
+public class JbpmServer implements JbpmServerMBean
+{
+ private static final String PROCESS_DEFINITION = "/jbpmReplyTest.xml" ;
+
+ public synchronized void deployProcess()
+ {
+ final JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance() ;
+ final JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext() ;
+
+ // Create process definition
+ final InputStream is = ClassUtil.getResourceAsStream(PROCESS_DEFINITION, getClass()) ;
+ final ProcessDefinition processDefinition = ProcessDefinition.parseXmlInputStream(is) ;
+ jbpmContext.deployProcessDefinition(processDefinition) ;
+
+ jbpmContext.close() ;
+ }
+}
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServerMBean.java
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServerMBean.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServerMBean.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,32 +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.server.jbpmReply;
-
-/**
- * MBean to manage jBPM local variable tests.
- *
- * @author <a href='mailto:kevin.conner at jboss.com'>Kevin Conner</a>
- */
-public interface JbpmServerMBean
-{
- public static final String OBJECT_NAME="jboss.esb:test=JbpmReplyServer" ;
-
- public void deployProcess() ;
-}
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServerMBean.java (from rev 21220, labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServerMBean.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServerMBean.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/JbpmServerMBean.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,32 @@
+/*
+ * 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.server.jbpmReply;
+
+/**
+ * MBean to manage jBPM local variable tests.
+ *
+ * @author <a href='mailto:kevin.conner at jboss.com'>Kevin Conner</a>
+ */
+public interface JbpmServerMBean
+{
+ public static final String OBJECT_NAME="jboss.esb:test=JbpmReplyServer" ;
+
+ public void deployProcess() ;
+}
Deleted: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/ReplyAction.java
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/ReplyAction.java 2008-07-25 11:13:06 UTC (rev 21220)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/ReplyAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -1,105 +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.server.jbpmReply;
-
-import javax.management.MBeanServer;
-import javax.management.MalformedObjectNameException;
-
-import org.jboss.mx.util.MBeanProxyExt;
-import org.jboss.mx.util.MBeanServerLocator;
-import org.jboss.soa.esb.actions.AbstractActionLifecycle;
-import org.jboss.soa.esb.actions.ActionPipelineProcessor;
-import org.jboss.soa.esb.actions.ActionProcessingException;
-import org.jboss.soa.esb.addressing.Call;
-import org.jboss.soa.esb.addressing.EPR;
-import org.jboss.soa.esb.helpers.ConfigTree;
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.esb.server.RedeliveryMBean;
-
-/**
- * Action Handler for jBPM local test.
- */
-public class ReplyAction extends AbstractActionLifecycle implements ActionPipelineProcessor
-{
- /**
- * The reply type extension on the EPR.
- */
- public static final String REPLY_TYPE = "replyType" ;
- /**
- * Construct the action.
- */
- public ReplyAction(final ConfigTree config)
- {
- }
-
- /**
- * Handle reply.
- */
- public Message process(final Message message)
- throws ActionProcessingException
- {
- final Call call = message.getHeader().getCall() ;
- final EPR replyEPR = call.getReplyTo() ;
- final EPR toEPR = call.getTo() ;
-
- final String type = toEPR.getAddr().getExtensionValue(REPLY_TYPE) ;
-
- final String value ;
- final Message reply ;
- if (replyEPR == null)
- {
- value = "EsbNotifier:" + type ;
- reply = null ;
- }
- else
- {
- value = "EsbActionHandler:" + type ;
- reply = message ;
- }
- getRedeliveryMBean().logMessage(value) ;
-
- return reply ;
- }
-
- private RedeliveryMBean getRedeliveryMBean()
- throws ActionProcessingException
- {
- final MBeanServer server = MBeanServerLocator.locateJBoss();
-
- try
- {
- return (RedeliveryMBean) MBeanProxyExt.create(RedeliveryMBean.class, RedeliveryMBean.objectName, server);
- }
- catch (final MalformedObjectNameException mone)
- {
- throw new ActionProcessingException("Error retrieving MBean", mone) ;
- }
- }
-
- public void processException(final Message message, final Throwable th)
- {
- }
-
- public void processSuccess(final Message message)
- {
- }
-}
Copied: labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/ReplyAction.java (from rev 21220, labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/ReplyAction.java)
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/ReplyAction.java (rev 0)
+++ labs/jbossesb/workspace/dbevenius/security/qa/junit/src/org/jboss/soa/esb/server/jbpmReply/ReplyAction.java 2008-07-25 13:51:04 UTC (rev 21223)
@@ -0,0 +1,105 @@
+/*
+ * 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.server.jbpmReply;
+
+import javax.management.MBeanServer;
+import javax.management.MalformedObjectNameException;
+
+import org.jboss.mx.util.MBeanProxyExt;
+import org.jboss.mx.util.MBeanServerLocator;
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.actions.ActionPipelineProcessor;
+import org.jboss.soa.esb.actions.ActionProcessingException;
+import org.jboss.soa.esb.addressing.Call;
+import org.jboss.soa.esb.addressing.EPR;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.server.RedeliveryMBean;
+
+/**
+ * Action Handler for jBPM local test.
+ */
+public class ReplyAction extends AbstractActionLifecycle implements ActionPipelineProcessor
+{
+ /**
+ * The reply type extension on the EPR.
+ */
+ public static final String REPLY_TYPE = "replyType" ;
+ /**
+ * Construct the action.
+ */
+ public ReplyAction(final ConfigTree config)
+ {
+ }
+
+ /**
+ * Handle reply.
+ */
+ public Message process(final Message message)
+ throws ActionProcessingException
+ {
+ final Call call = message.getHeader().getCall() ;
+ final EPR replyEPR = call.getReplyTo() ;
+ final EPR toEPR = call.getTo() ;
+
+ final String type = toEPR.getAddr().getExtensionValue(REPLY_TYPE) ;
+
+ final String value ;
+ final Message reply ;
+ if (replyEPR == null)
+ {
+ value = "EsbNotifier:" + type ;
+ reply = null ;
+ }
+ else
+ {
+ value = "EsbActionHandler:" + type ;
+ reply = message ;
+ }
+ getRedeliveryMBean().logMessage(value) ;
+
+ return reply ;
+ }
+
+ private RedeliveryMBean getRedeliveryMBean()
+ throws ActionProcessingException
+ {
+ final MBeanServer server = MBeanServerLocator.locateJBoss();
+
+ try
+ {
+ return (RedeliveryMBean) MBeanProxyExt.create(RedeliveryMBean.class, RedeliveryMBean.objectName, server);
+ }
+ catch (final MalformedObjectNameException mone)
+ {
+ throw new ActionProcessingException("Error retrieving MBean", mone) ;
+ }
+ }
+
+ public void processException(final Message message, final Throwable th)
+ {
+ }
+
+ public void processSuccess(final Message message)
+ {
+ }
+}
More information about the jboss-svn-commits
mailing list