You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2011/06/09 17:08:27 UTC

svn commit: r1133913 [11/13] - in /cxf/trunk: rt/core/src/test/java/org/apache/cxf/endpoint/ rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/search/client/ rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/ext/search/client/ rt/frontend/jax...

Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/jms_test.wsdl
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/jms_test.wsdl?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/jms_test.wsdl (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/jms_test.wsdl Thu Jun  9 15:08:22 2011
@@ -1,177 +1,177 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements. See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership. The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License. You may obtain a copy of the License at
- 
-  http://www.apache.org/licenses/LICENSE-2.0
- 
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied. See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<definitions name="HelloWorldService" 
-    targetNamespace="http://cxf.apache.org/hello_world_jms" 
-    xmlns="http://schemas.xmlsoap.org/wsdl/" 
-    xmlns:jms="http://cxf.apache.org/transports/jms" 
-    xmlns:x1="http://cxf.apache.org/hello_world_jms/types"
-    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
-    xmlns:tns="http://cxf.apache.org/hello_world_jms" 
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-    <types>
-        <schema targetNamespace="http://cxf.apache.org/hello_world_jms/types"      xmlns="http://www.w3.org/2001/XMLSchema" xmlns:x1="http://cxf.apache.org/hello_world_jms/types" elementFormDefault="qualified">
-	    <complexType name="ErrorCode">
-		<sequence>
-		    <element name="minor" type="short"/>
-		    <element name="major" type="short"/>
-		</sequence>
-	    </complexType>
-	    <complexType name="testRpcLitFault">
-		<sequence>
-		    <element name="faultType" type="string"/>
-		</sequence>
-	    </complexType>
-	    <complexType name="testRpcLitFaultResponse">
-		<sequence/>
-	    </complexType>
-	    
-	    <element name="NoSuchCodeLit" type="x1:NoSuchCodeLit"/>
-	    <complexType name="NoSuchCodeLit">
-		<sequence>
-		    <element name="code" type="x1:ErrorCode"/>
-		</sequence>
-	    </complexType>
-
-	    <element name="BadRecordLit" type="x1:BadRecordLit"/>
-	    <complexType name="BadRecordLit">
-		<sequence>
-		    <element name="reason" type="string"/>
-		    <element name="code" type="short"/>
-		</sequence>
-	    </complexType>
-	</schema>
-    </types>
-
-    <message name="greetMe">
-        <part name="stringParam0" type="xsd:string"/>
-    </message>
-    <message name="greetMeResponse">
-        <part name="return" type="xsd:string"/>
-    </message>
-    <message name="sayHi"/>
-    <message name="sayHiResponse">
-        <part name="return" type="xsd:string"/>
-    </message>
-    <message name="greetMeOneWay">
-        <part name="stringParam0" type="xsd:string"/>
-    </message>
-    
-    <message name="testRpcLitFaultRequest">
-        <part name="in" type="xsd:string"/>
-    </message>
-    <message name="testRpcLitFaultResponse">
-        <part name="out" type="x1:testRpcLitFaultResponse"/>
-    </message>
-    <message name="NoSuchCodeLitFault">
-        <part name="NoSuchCodeLit" element="x1:NoSuchCodeLit"/>
-    </message>
-    <message name="BadRecordLitFault">
-        <part name="BadRecordLit" element="x1:BadRecordLit"/>
-    </message>
-    
-    <portType name="HelloWorldPortType">
-        <operation name="greetMe">
-            <input message="tns:greetMe" name="greetMe"/>
-            <output message="tns:greetMeResponse" name="greetMeResponse"/>
-        </operation>
-        <operation name="sayHi">
-            <input message="tns:sayHi" name="sayHi"/>
-            <output message="tns:sayHiResponse" name="sayHiResponse"/>
-        </operation>
-        <operation name="greetMeOneWay">
-            <input message="tns:greetMeOneWay" name="greetMeOneWay"/>
-        </operation>
-        <operation name="testRpcLitFault">
-            <input name="testRpcLitFaultRequest" message="tns:testRpcLitFaultRequest"/>
-            <output name="testRpcLitFaultResponse" message="tns:testRpcLitFaultResponse"/>
-            <fault name="NoSuchCodeLitFault" message="tns:NoSuchCodeLitFault"/>
-            <fault name="BadRecordLitFault" message="tns:BadRecordLitFault"/>
-        </operation>
-    </portType>
-    
-    
-    <binding name="HelloWorldPortBinding" type="tns:HelloWorldPortType">
-        <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms"/>
-        <operation name="greetMe">
-            <soap:operation soapAction="" style="rpc"/>
-            <input name="greetMe">
-                <soap:body 
-                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
-            </input>
-            <output name="greetMeResponse">
-                <soap:body  
-                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
-            </output>
-        </operation>
-        <operation name="sayHi">
-            <soap:operation soapAction="" style="rpc"/>
-            <input name="sayHi">
-                <soap:body 
-                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
-            </input>
-            <output name="sayHiResponse">
-                <soap:body 
-                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
-            </output>
-        </operation>
-        <operation name="greetMeOneWay">
-            <soap:operation style="rpc"/>
-            <input name="greetMeOneWay">
-                <soap:body 
-                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
-            </input>
-        </operation>
-
-         <operation name="testRpcLitFault">
-            <soap:operation style="rpc"/>
-            <input>
-                <soap:body namespace="http://cxf.apache.org/hello_world_jms"  use="literal"/>
-            </input>
-            <output>
-                <soap:body namespace="http://cxf.apache.org/hello_world_jms"  use="literal"/>
-            </output>
-            <fault name="NoSuchCodeLitFault">
-                <soap:fault name="NoSuchCodeLitFault" use="literal"/>
-            </fault>
-            <fault name="BadRecordLitFault">
-                <soap:fault name="BadRecordLitFault" use="literal"/>
-            </fault>
-        </operation>
-    </binding>
-
-            
-    <service name="HelloWorldService">
-           <port binding="tns:HelloWorldPortBinding" name="HelloWorldPort">
-               <jms:clientConfig clientReceiveTimeout="500000" messageTimeToLive="500000"/>
-               <jms:address
-                   jndiConnectionFactoryName="ConnectionFactory" 
-                   jndiDestinationName="dynamicQueues/test.jmstransport.text">
-                   <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
-                   <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
-               </jms:address>
-            
-               <jms:server durableSubscriberName="CXF_subscriber"/>
-           </port>
-    </service>
-    
-        
-</definitions>
-
-
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+ 
+  http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<definitions name="HelloWorldService" 
+    targetNamespace="http://cxf.apache.org/hello_world_jms" 
+    xmlns="http://schemas.xmlsoap.org/wsdl/" 
+    xmlns:jms="http://cxf.apache.org/transports/jms" 
+    xmlns:x1="http://cxf.apache.org/hello_world_jms/types"
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
+    xmlns:tns="http://cxf.apache.org/hello_world_jms" 
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+    <types>
+        <schema targetNamespace="http://cxf.apache.org/hello_world_jms/types"      xmlns="http://www.w3.org/2001/XMLSchema" xmlns:x1="http://cxf.apache.org/hello_world_jms/types" elementFormDefault="qualified">
+	    <complexType name="ErrorCode">
+		<sequence>
+		    <element name="minor" type="short"/>
+		    <element name="major" type="short"/>
+		</sequence>
+	    </complexType>
+	    <complexType name="testRpcLitFault">
+		<sequence>
+		    <element name="faultType" type="string"/>
+		</sequence>
+	    </complexType>
+	    <complexType name="testRpcLitFaultResponse">
+		<sequence/>
+	    </complexType>
+	    
+	    <element name="NoSuchCodeLit" type="x1:NoSuchCodeLit"/>
+	    <complexType name="NoSuchCodeLit">
+		<sequence>
+		    <element name="code" type="x1:ErrorCode"/>
+		</sequence>
+	    </complexType>
+
+	    <element name="BadRecordLit" type="x1:BadRecordLit"/>
+	    <complexType name="BadRecordLit">
+		<sequence>
+		    <element name="reason" type="string"/>
+		    <element name="code" type="short"/>
+		</sequence>
+	    </complexType>
+	</schema>
+    </types>
+
+    <message name="greetMe">
+        <part name="stringParam0" type="xsd:string"/>
+    </message>
+    <message name="greetMeResponse">
+        <part name="return" type="xsd:string"/>
+    </message>
+    <message name="sayHi"/>
+    <message name="sayHiResponse">
+        <part name="return" type="xsd:string"/>
+    </message>
+    <message name="greetMeOneWay">
+        <part name="stringParam0" type="xsd:string"/>
+    </message>
+    
+    <message name="testRpcLitFaultRequest">
+        <part name="in" type="xsd:string"/>
+    </message>
+    <message name="testRpcLitFaultResponse">
+        <part name="out" type="x1:testRpcLitFaultResponse"/>
+    </message>
+    <message name="NoSuchCodeLitFault">
+        <part name="NoSuchCodeLit" element="x1:NoSuchCodeLit"/>
+    </message>
+    <message name="BadRecordLitFault">
+        <part name="BadRecordLit" element="x1:BadRecordLit"/>
+    </message>
+    
+    <portType name="HelloWorldPortType">
+        <operation name="greetMe">
+            <input message="tns:greetMe" name="greetMe"/>
+            <output message="tns:greetMeResponse" name="greetMeResponse"/>
+        </operation>
+        <operation name="sayHi">
+            <input message="tns:sayHi" name="sayHi"/>
+            <output message="tns:sayHiResponse" name="sayHiResponse"/>
+        </operation>
+        <operation name="greetMeOneWay">
+            <input message="tns:greetMeOneWay" name="greetMeOneWay"/>
+        </operation>
+        <operation name="testRpcLitFault">
+            <input name="testRpcLitFaultRequest" message="tns:testRpcLitFaultRequest"/>
+            <output name="testRpcLitFaultResponse" message="tns:testRpcLitFaultResponse"/>
+            <fault name="NoSuchCodeLitFault" message="tns:NoSuchCodeLitFault"/>
+            <fault name="BadRecordLitFault" message="tns:BadRecordLitFault"/>
+        </operation>
+    </portType>
+    
+    
+    <binding name="HelloWorldPortBinding" type="tns:HelloWorldPortType">
+        <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms"/>
+        <operation name="greetMe">
+            <soap:operation soapAction="" style="rpc"/>
+            <input name="greetMe">
+                <soap:body 
+                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+            </input>
+            <output name="greetMeResponse">
+                <soap:body  
+                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+            </output>
+        </operation>
+        <operation name="sayHi">
+            <soap:operation soapAction="" style="rpc"/>
+            <input name="sayHi">
+                <soap:body 
+                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+            </input>
+            <output name="sayHiResponse">
+                <soap:body 
+                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+            </output>
+        </operation>
+        <operation name="greetMeOneWay">
+            <soap:operation style="rpc"/>
+            <input name="greetMeOneWay">
+                <soap:body 
+                    namespace="http://cxf.apache.org/hello_world_jms" use="literal"/>
+            </input>
+        </operation>
+
+         <operation name="testRpcLitFault">
+            <soap:operation style="rpc"/>
+            <input>
+                <soap:body namespace="http://cxf.apache.org/hello_world_jms"  use="literal"/>
+            </input>
+            <output>
+                <soap:body namespace="http://cxf.apache.org/hello_world_jms"  use="literal"/>
+            </output>
+            <fault name="NoSuchCodeLitFault">
+                <soap:fault name="NoSuchCodeLitFault" use="literal"/>
+            </fault>
+            <fault name="BadRecordLitFault">
+                <soap:fault name="BadRecordLitFault" use="literal"/>
+            </fault>
+        </operation>
+    </binding>
+
+            
+    <service name="HelloWorldService">
+           <port binding="tns:HelloWorldPortBinding" name="HelloWorldPort">
+               <jms:clientConfig clientReceiveTimeout="500000" messageTimeToLive="500000"/>
+               <jms:address
+                   jndiConnectionFactoryName="ConnectionFactory" 
+                   jndiDestinationName="dynamicQueues/test.jmstransport.text">
+                   <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
+                   <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
+               </jms:address>
+            
+               <jms:server durableSubscriberName="CXF_subscriber"/>
+           </port>
+    </service>
+    
+        
+</definitions>
+
+

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/jms_test.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/jms_test.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/jms_test.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/jms_test_config.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/jms_test_config.xml?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/jms_test_config.xml (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/jms_test_config.xml Thu Jun  9 15:08:22 2011
@@ -1,74 +1,74 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements. See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership. The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License. You may obtain a copy of the License at
- 
-  http://www.apache.org/licenses/LICENSE-2.0
- 
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied. See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-
-<beans 
-    xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:ct="http://cxf.apache.org/configuration/types"
-    xmlns:jms="http://cxf.apache.org/transports/jms"
-    xmlns:p="http://www.springframework.org/schema/p"
-    xsi:schemaLocation="
-http://cxf.apache.org/transports/jms http://cxf.apache.org/schemas/configuration/jms.xsd
-http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
-http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-    <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
-    
-    <jms:conduit name="{http://cxf.apache.org/systest/jaxws}HelloContinuationPort.jms-conduit">
-      <jms:clientConfig clientReceiveTimeout="500000" messageTimeToLive="500000"/>
-      <jms:address jndiConnectionFactoryName="ConnectionFactory" 
-                   jndiDestinationName="dynamicQueues/test.jmstransport.text">
-                   <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
-                   <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:${testutil.ports.EmbeddedJMSBrokerLauncher}"/>
-               </jms:address>
-      <jms:jmsConfig-ref>jmsConf1</jms:jmsConfig-ref>
-    </jms:conduit>
-    
-   <bean id="jmsConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory"
-  	p:brokerURL="tcp://localhost:${testutil.ports.EmbeddedJMSBrokerLauncher}"/>
-  
-  <bean id="singleConnectionFactory"
-    class="org.springframework.jms.connection.SingleConnectionFactory" destroy-method="destroy">
-    <property name="targetConnectionFactory" ref="jmsConnectionFactory"/>
-  </bean>
-    
-  <bean id="jmsConf1" class="org.apache.cxf.transport.jms.JMSConfiguration"
-    p:connectionFactory-ref="singleConnectionFactory" 
-  	p:concurrentConsumers="1"
-  	p:maxConcurrentConsumers="1"/>
-
-  <jms:destination name="{http://cxf.apache.org/systest/jaxws}HelloContinuationPort.jms-destination">     
-      <jms:address jndiConnectionFactoryName="ConnectionFactory" 
-                   jndiDestinationName="dynamicQueues/test.jmstransport.text">
-                   <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
-                   <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:${testutil.ports.EmbeddedJMSBrokerLauncher}"/>
-               </jms:address>
-      <jms:jmsConfig-ref>jmsConf2</jms:jmsConfig-ref>  
-  </jms:destination>
-
-  <bean id="jmsConf2" class="org.apache.cxf.transport.jms.JMSConfiguration"
-  	p:connectionFactory-ref="jmsConnectionFactory"
-  	p:timeToLive="500000"
-  	p:concurrentConsumers="1"
-  	p:maxConcurrentConsumers="1"
-  	p:maxSuspendedContinuations="1"
-  	p:cacheLevel="2"
-  />  
-
-</beans>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+ 
+  http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<beans 
+    xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:ct="http://cxf.apache.org/configuration/types"
+    xmlns:jms="http://cxf.apache.org/transports/jms"
+    xmlns:p="http://www.springframework.org/schema/p"
+    xsi:schemaLocation="
+http://cxf.apache.org/transports/jms http://cxf.apache.org/schemas/configuration/jms.xsd
+http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
+    <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
+    
+    <jms:conduit name="{http://cxf.apache.org/systest/jaxws}HelloContinuationPort.jms-conduit">
+      <jms:clientConfig clientReceiveTimeout="500000" messageTimeToLive="500000"/>
+      <jms:address jndiConnectionFactoryName="ConnectionFactory" 
+                   jndiDestinationName="dynamicQueues/test.jmstransport.text">
+                   <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
+                   <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:${testutil.ports.EmbeddedJMSBrokerLauncher}"/>
+               </jms:address>
+      <jms:jmsConfig-ref>jmsConf1</jms:jmsConfig-ref>
+    </jms:conduit>
+    
+   <bean id="jmsConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory"
+  	p:brokerURL="tcp://localhost:${testutil.ports.EmbeddedJMSBrokerLauncher}"/>
+  
+  <bean id="singleConnectionFactory"
+    class="org.springframework.jms.connection.SingleConnectionFactory" destroy-method="destroy">
+    <property name="targetConnectionFactory" ref="jmsConnectionFactory"/>
+  </bean>
+    
+  <bean id="jmsConf1" class="org.apache.cxf.transport.jms.JMSConfiguration"
+    p:connectionFactory-ref="singleConnectionFactory" 
+  	p:concurrentConsumers="1"
+  	p:maxConcurrentConsumers="1"/>
+
+  <jms:destination name="{http://cxf.apache.org/systest/jaxws}HelloContinuationPort.jms-destination">     
+      <jms:address jndiConnectionFactoryName="ConnectionFactory" 
+                   jndiDestinationName="dynamicQueues/test.jmstransport.text">
+                   <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
+                   <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:${testutil.ports.EmbeddedJMSBrokerLauncher}"/>
+               </jms:address>
+      <jms:jmsConfig-ref>jmsConf2</jms:jmsConfig-ref>  
+  </jms:destination>
+
+  <bean id="jmsConf2" class="org.apache.cxf.transport.jms.JMSConfiguration"
+  	p:connectionFactory-ref="jmsConnectionFactory"
+  	p:timeToLive="500000"
+  	p:concurrentConsumers="1"
+  	p:maxConcurrentConsumers="1"
+  	p:maxSuspendedContinuations="1"
+  	p:cacheLevel="2"
+  />  
+
+</beans>

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/jms_test_config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/jms_test_config.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/jms_test_config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/resources/GreetMeDocLiteralResp.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/resources/GreetMeDocLiteralResp.xml?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/resources/GreetMeDocLiteralResp.xml (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/resources/GreetMeDocLiteralResp.xml Thu Jun  9 15:08:22 2011
@@ -1,20 +1,20 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements. See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership. The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License. You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied. See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns1:greetMeResponse xmlns:ns1="http://cxf.apache.org/hello_world_jms"><return xmlns:ns2="http://cxf.apache.org/hello_world_jms/types">Hi Fred Ruby</return></ns1:greetMeResponse></soap:Body></soap:Envelope>
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns1:greetMeResponse xmlns:ns1="http://cxf.apache.org/hello_world_jms"><return xmlns:ns2="http://cxf.apache.org/hello_world_jms/types">Hi Fred Ruby</return></ns1:greetMeResponse></soap:Body></soap:Envelope>

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/resources/GreetMeDocLiteralResp.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/resources/GreetMeDocLiteralResp.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/resources/GreetMeDocLiteralResp.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/test.wsdl
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/test.wsdl?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/test.wsdl (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/test.wsdl Thu Jun  9 15:08:22 2011
@@ -1,87 +1,87 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<definitions name="HelloContinuationService" 
-   targetNamespace="http://cxf.apache.org/systest/jaxws" 
-   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
-   xmlns:tns="http://cxf.apache.org/systest/jaxws" 
-   xmlns="http://schemas.xmlsoap.org/wsdl/" 
-   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-   xmlns:jms="http://cxf.apache.org/transports/jms">
-  
-  <message name="isRequestSuspended">
-    <part name="arg0" type="xsd:string"/>
-  </message>
-  <message name="sayHiResponse">
-    <part name="return" type="xsd:string"/>
-  </message>
-  <message name="sayHi">
-    <part name="arg0" type="xsd:string"/>
-    <part name="arg1" type="xsd:string"/>
-  </message>
-  <message name="resumeRequestResponse"/>
-
-  <message name="isRequestSuspendedResponse">
-    <part name="return" type="xsd:boolean"/>
-  </message>
-  
-  <message name="resumeRequest">
-    <part name="arg0" type="xsd:string"/>
-  </message>
-  <portType name="HelloContinuation">
-    <operation name="isRequestSuspended">
-      <input message="tns:isRequestSuspended" name="isRequestSuspended"/>
-      <output message="tns:isRequestSuspendedResponse" name="isRequestSuspendedResponse"/>
-    </operation>
-    <operation name="resumeRequest">
-      <input message="tns:resumeRequest" name="resumeRequest"/>
-      <output message="tns:resumeRequestResponse" name="resumeRequestResponse"/>
-    </operation>
-    <operation name="sayHi">
-      <input message="tns:sayHi" name="sayHi"/>
-      <output message="tns:sayHiResponse" name="sayHiResponse"/>
-    </operation>
-  </portType>
-  <binding name="HelloContinuationServiceSoapBinding" type="tns:HelloContinuation">
-    <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms" />
-    <operation name="isRequestSuspended">
-      <soap:operation soapAction="" style="rpc" />
-      <input name="isRequestSuspended">
-        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
-      </input>
-      <output name="isRequestSuspendedResponse">
-        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
-      </output>
-    </operation>
-    <operation name="resumeRequest">
-      <soap:operation soapAction="" style="rpc" />
-      <input name="resumeRequest">
-        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
-      </input>
-      <output name="resumeRequestResponse">
-        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
-      </output>
-    </operation>
-    <operation name="sayHi">
-      <soap:operation soapAction="" style="rpc" />
-      <input name="sayHi">
-        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
-      </input>
-      <output name="sayHiResponse">
-        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
-      </output>
-    </operation>
-  </binding>
-  <service name="HelloContinuationService">
-    <port binding="tns:HelloContinuationServiceSoapBinding" name="HelloContinuationPort">
-      <jms:clientConfig clientReceiveTimeout="500000" messageTimeToLive="500000"/>
-      <jms:serverConfig messageTimeToLive="500000"/>
-               <jms:address
-                   jndiConnectionFactoryName="ConnectionFactory" 
-                   jndiDestinationName="dynamicQueues/test.jmstransport.text">
-                   <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
-                   <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
-               </jms:address>
-            
-               <jms:server durableSubscriberName="CXF_subscriber"/>
-    </port>
-  </service>
+<?xml version='1.0' encoding='UTF-8'?>
+<definitions name="HelloContinuationService" 
+   targetNamespace="http://cxf.apache.org/systest/jaxws" 
+   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
+   xmlns:tns="http://cxf.apache.org/systest/jaxws" 
+   xmlns="http://schemas.xmlsoap.org/wsdl/" 
+   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+   xmlns:jms="http://cxf.apache.org/transports/jms">
+  
+  <message name="isRequestSuspended">
+    <part name="arg0" type="xsd:string"/>
+  </message>
+  <message name="sayHiResponse">
+    <part name="return" type="xsd:string"/>
+  </message>
+  <message name="sayHi">
+    <part name="arg0" type="xsd:string"/>
+    <part name="arg1" type="xsd:string"/>
+  </message>
+  <message name="resumeRequestResponse"/>
+
+  <message name="isRequestSuspendedResponse">
+    <part name="return" type="xsd:boolean"/>
+  </message>
+  
+  <message name="resumeRequest">
+    <part name="arg0" type="xsd:string"/>
+  </message>
+  <portType name="HelloContinuation">
+    <operation name="isRequestSuspended">
+      <input message="tns:isRequestSuspended" name="isRequestSuspended"/>
+      <output message="tns:isRequestSuspendedResponse" name="isRequestSuspendedResponse"/>
+    </operation>
+    <operation name="resumeRequest">
+      <input message="tns:resumeRequest" name="resumeRequest"/>
+      <output message="tns:resumeRequestResponse" name="resumeRequestResponse"/>
+    </operation>
+    <operation name="sayHi">
+      <input message="tns:sayHi" name="sayHi"/>
+      <output message="tns:sayHiResponse" name="sayHiResponse"/>
+    </operation>
+  </portType>
+  <binding name="HelloContinuationServiceSoapBinding" type="tns:HelloContinuation">
+    <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms" />
+    <operation name="isRequestSuspended">
+      <soap:operation soapAction="" style="rpc" />
+      <input name="isRequestSuspended">
+        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
+      </input>
+      <output name="isRequestSuspendedResponse">
+        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
+      </output>
+    </operation>
+    <operation name="resumeRequest">
+      <soap:operation soapAction="" style="rpc" />
+      <input name="resumeRequest">
+        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
+      </input>
+      <output name="resumeRequestResponse">
+        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
+      </output>
+    </operation>
+    <operation name="sayHi">
+      <soap:operation soapAction="" style="rpc" />
+      <input name="sayHi">
+        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
+      </input>
+      <output name="sayHiResponse">
+        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
+      </output>
+    </operation>
+  </binding>
+  <service name="HelloContinuationService">
+    <port binding="tns:HelloContinuationServiceSoapBinding" name="HelloContinuationPort">
+      <jms:clientConfig clientReceiveTimeout="500000" messageTimeToLive="500000"/>
+      <jms:serverConfig messageTimeToLive="500000"/>
+               <jms:address
+                   jndiConnectionFactoryName="ConnectionFactory" 
+                   jndiDestinationName="dynamicQueues/test.jmstransport.text">
+                   <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
+                   <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>
+               </jms:address>
+            
+               <jms:server durableSubscriberName="CXF_subscriber"/>
+    </port>
+  </service>
 </definitions>
\ No newline at end of file

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/test.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/test.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/test.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/test2.wsdl
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/test2.wsdl?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/test2.wsdl (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/test2.wsdl Thu Jun  9 15:08:22 2011
@@ -1,76 +1,76 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<definitions name="HelloContinuationService" 
-   targetNamespace="http://cxf.apache.org/systest/jaxws" 
-   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
-   xmlns:tns="http://cxf.apache.org/systest/jaxws" 
-   xmlns="http://schemas.xmlsoap.org/wsdl/" 
-   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-   xmlns:jms="http://cxf.apache.org/transports/jms">
-  
-  <message name="isRequestSuspended">
-    <part name="arg0" type="xsd:string"/>
-  </message>
-  <message name="sayHiResponse">
-    <part name="return" type="xsd:string"/>
-  </message>
-  <message name="sayHi">
-    <part name="arg0" type="xsd:string"/>
-    <part name="arg1" type="xsd:string"/>
-  </message>
-  <message name="resumeRequestResponse"/>
-
-  <message name="isRequestSuspendedResponse">
-    <part name="return" type="xsd:boolean"/>
-  </message>
-  
-  <message name="resumeRequest">
-    <part name="arg0" type="xsd:string"/>
-  </message>
-  <portType name="HelloContinuation">
-    <operation name="isRequestSuspended">
-      <input message="tns:isRequestSuspended" name="isRequestSuspended"/>
-      <output message="tns:isRequestSuspendedResponse" name="isRequestSuspendedResponse"/>
-    </operation>
-    <operation name="resumeRequest">
-      <input message="tns:resumeRequest" name="resumeRequest"/>
-      <output message="tns:resumeRequestResponse" name="resumeRequestResponse"/>
-    </operation>
-    <operation name="sayHi">
-      <input message="tns:sayHi" name="sayHi"/>
-      <output message="tns:sayHiResponse" name="sayHiResponse"/>
-    </operation>
-  </portType>
-  <binding name="HelloContinuationServiceSoapBinding" type="tns:HelloContinuation">
-    <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms" />
-    <operation name="isRequestSuspended">
-      <soap:operation soapAction="" style="rpc" />
-      <input name="isRequestSuspended">
-        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
-      </input>
-      <output name="isRequestSuspendedResponse">
-        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
-      </output>
-    </operation>
-    <operation name="resumeRequest">
-      <soap:operation soapAction="" style="rpc" />
-      <input name="resumeRequest">
-        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
-      </input>
-      <output name="resumeRequestResponse">
-        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
-      </output>
-    </operation>
-    <operation name="sayHi">
-      <soap:operation soapAction="" style="rpc" />
-      <input name="sayHi">
-        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
-      </input>
-      <output name="sayHiResponse">
-        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
-      </output>
-    </operation>
-  </binding>
-  <service name="HelloContinuationService">
-    <port binding="tns:HelloContinuationServiceSoapBinding" name="HelloContinuationPort"/>
-  </service>
+<?xml version='1.0' encoding='UTF-8'?>
+<definitions name="HelloContinuationService" 
+   targetNamespace="http://cxf.apache.org/systest/jaxws" 
+   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
+   xmlns:tns="http://cxf.apache.org/systest/jaxws" 
+   xmlns="http://schemas.xmlsoap.org/wsdl/" 
+   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+   xmlns:jms="http://cxf.apache.org/transports/jms">
+  
+  <message name="isRequestSuspended">
+    <part name="arg0" type="xsd:string"/>
+  </message>
+  <message name="sayHiResponse">
+    <part name="return" type="xsd:string"/>
+  </message>
+  <message name="sayHi">
+    <part name="arg0" type="xsd:string"/>
+    <part name="arg1" type="xsd:string"/>
+  </message>
+  <message name="resumeRequestResponse"/>
+
+  <message name="isRequestSuspendedResponse">
+    <part name="return" type="xsd:boolean"/>
+  </message>
+  
+  <message name="resumeRequest">
+    <part name="arg0" type="xsd:string"/>
+  </message>
+  <portType name="HelloContinuation">
+    <operation name="isRequestSuspended">
+      <input message="tns:isRequestSuspended" name="isRequestSuspended"/>
+      <output message="tns:isRequestSuspendedResponse" name="isRequestSuspendedResponse"/>
+    </operation>
+    <operation name="resumeRequest">
+      <input message="tns:resumeRequest" name="resumeRequest"/>
+      <output message="tns:resumeRequestResponse" name="resumeRequestResponse"/>
+    </operation>
+    <operation name="sayHi">
+      <input message="tns:sayHi" name="sayHi"/>
+      <output message="tns:sayHiResponse" name="sayHiResponse"/>
+    </operation>
+  </portType>
+  <binding name="HelloContinuationServiceSoapBinding" type="tns:HelloContinuation">
+    <soap:binding style="rpc" transport="http://cxf.apache.org/transports/jms" />
+    <operation name="isRequestSuspended">
+      <soap:operation soapAction="" style="rpc" />
+      <input name="isRequestSuspended">
+        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
+      </input>
+      <output name="isRequestSuspendedResponse">
+        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
+      </output>
+    </operation>
+    <operation name="resumeRequest">
+      <soap:operation soapAction="" style="rpc" />
+      <input name="resumeRequest">
+        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
+      </input>
+      <output name="resumeRequestResponse">
+        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
+      </output>
+    </operation>
+    <operation name="sayHi">
+      <soap:operation soapAction="" style="rpc" />
+      <input name="sayHi">
+        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
+      </input>
+      <output name="sayHiResponse">
+        <soap:body namespace="http://cxf.apache.org/systest/jaxws" use="literal" />
+      </output>
+    </operation>
+  </binding>
+  <service name="HelloContinuationService">
+    <port binding="tns:HelloContinuationServiceSoapBinding" name="HelloContinuationPort"/>
+  </service>
 </definitions>
\ No newline at end of file

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/test2.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/test2.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/continuations/test2.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/gzipBus.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/gzipBus.xml?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/gzipBus.xml (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/gzipBus.xml Thu Jun  9 15:08:22 2011
@@ -1,47 +1,47 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements. See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership. The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License. You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied. See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-
-<beans xmlns="http://www.springframework.org/schema/beans"
-      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-      xmlns:cxf="http://cxf.apache.org/core"
-      xmlns:jms="http://cxf.apache.org/transports/jms"
-      xsi:schemaLocation="
-http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
-http://cxf.apache.org/transports/jms http://cxf.apache.org/schemas/configuration/jms.xsd
-http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-
-    <cxf:bus>
-        <cxf:features>
-            <bean class="org.apache.cxf.feature.LoggingFeature"/>
-            <bean class="org.apache.cxf.transport.common.gzip.GZIPFeature">
-                <property name="threshold">
-                    <!-- set threshold as 10 byte to ensure gzip compress happen for short test message-->
-                    <value>10</value>
-                </property>
-            </bean>
-        </cxf:features>
-    </cxf:bus> 
-    <jms:conduit name="{http://apache.org/hello_world_doc_lit}SoapPort2.jms-conduit">
-        <!--must use binary message format for gzip compress-->
-        <jms:runtimePolicy messageType="binary"/>
-    </jms:conduit>
-</beans>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<beans xmlns="http://www.springframework.org/schema/beans"
+      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+      xmlns:cxf="http://cxf.apache.org/core"
+      xmlns:jms="http://cxf.apache.org/transports/jms"
+      xsi:schemaLocation="
+http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
+http://cxf.apache.org/transports/jms http://cxf.apache.org/schemas/configuration/jms.xsd
+http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+
+    <cxf:bus>
+        <cxf:features>
+            <bean class="org.apache.cxf.feature.LoggingFeature"/>
+            <bean class="org.apache.cxf.transport.common.gzip.GZIPFeature">
+                <property name="threshold">
+                    <!-- set threshold as 10 byte to ensure gzip compress happen for short test message-->
+                    <value>10</value>
+                </property>
+            </bean>
+        </cxf:features>
+    </cxf:bus> 
+    <jms:conduit name="{http://apache.org/hello_world_doc_lit}SoapPort2.jms-conduit">
+        <!--must use binary message format for gzip compress-->
+        <jms:runtimePolicy messageType="binary"/>
+    </jms:conduit>
+</beans>
+

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/gzipBus.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/gzipBus.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/gzipBus.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/GreeterImplWithTransaction.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/GreeterImplWithTransaction.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/GreeterImplWithTransaction.java (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/GreeterImplWithTransaction.java Thu Jun  9 15:08:22 2011
@@ -1,46 +1,46 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.cxf.systest.jms.tx;
-
-import java.util.concurrent.atomic.AtomicBoolean;
-
-import javax.jws.WebService;
-
-
-import org.apache.cxf.systest.jms.GreeterImplDocBase;
-
-@WebService(endpointInterface = "org.apache.hello_world_doc_lit.Greeter")
-public class GreeterImplWithTransaction extends GreeterImplDocBase {
-    private AtomicBoolean flag = new AtomicBoolean(true);
-       
-    public String greetMe(String requestType) {
-        System.out.println("Reached here :" + requestType);
-        if ("Bad guy".equals(requestType)) {
-            if (flag.getAndSet(false)) {
-                System.out.println("Throw exception here :" + requestType);
-                throw new RuntimeException("Got a bad guy call for greetMe");
-            } else {
-                requestType = "[Bad guy]";
-                flag.set(true);
-            }
-        }
-        return "Hello " + requestType;
-    }
-    
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.cxf.systest.jms.tx;
+
+import java.util.concurrent.atomic.AtomicBoolean;
+
+import javax.jws.WebService;
+
+
+import org.apache.cxf.systest.jms.GreeterImplDocBase;
+
+@WebService(endpointInterface = "org.apache.hello_world_doc_lit.Greeter")
+public class GreeterImplWithTransaction extends GreeterImplDocBase {
+    private AtomicBoolean flag = new AtomicBoolean(true);
+       
+    public String greetMe(String requestType) {
+        System.out.println("Reached here :" + requestType);
+        if ("Bad guy".equals(requestType)) {
+            if (flag.getAndSet(false)) {
+                System.out.println("Throw exception here :" + requestType);
+                throw new RuntimeException("Got a bad guy call for greetMe");
+            } else {
+                requestType = "[Bad guy]";
+                flag.set(true);
+            }
+        }
+        return "Hello " + requestType;
+    }
+    
+}

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/GreeterImplWithTransaction.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/GreeterImplWithTransaction.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/JMSTransactionClientServerTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/JMSTransactionClientServerTest.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/JMSTransactionClientServerTest.java (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/JMSTransactionClientServerTest.java Thu Jun  9 15:08:22 2011
@@ -1,141 +1,141 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.cxf.systest.jms.tx;
-
-import java.lang.reflect.UndeclaredThrowableException;
-import java.net.URL;
-import java.util.HashMap;
-import java.util.Map;
-
-import javax.jms.ConnectionFactory;
-import javax.xml.namespace.QName;
-
-import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
-import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
-import org.apache.cxf.testutil.common.EmbeddedJMSBrokerLauncher;
-import org.apache.cxf.transport.jms.JMSConfigFeature;
-import org.apache.cxf.transport.jms.JMSConfiguration;
-import org.apache.hello_world_doc_lit.Greeter;
-import org.apache.hello_world_doc_lit.PingMeFault;
-import org.apache.hello_world_doc_lit.SOAPService2;
-import org.junit.Before;
-import org.junit.Test;
-
-public class JMSTransactionClientServerTest extends AbstractBusClientServerTestBase {
-    protected static boolean serversStarted;
-    static final String JMS_PORT = EmbeddedJMSBrokerLauncher.PORT;
-
-
-    @Before
-    public void startServers() throws Exception {
-        if (serversStarted) {
-            return;
-        }
-        Map<String, String> props = new HashMap<String, String>();                
-        if (System.getProperty("org.apache.activemq.default.directory.prefix") != null) {
-            props.put("org.apache.activemq.default.directory.prefix",
-                      System.getProperty("org.apache.activemq.default.directory.prefix"));
-        }
-        props.put("java.util.logging.config.file", 
-                  System.getProperty("java.util.logging.config.file"));
-        
-        assertTrue("server did not launch correctly", 
-                   launchServer(EmbeddedJMSBrokerLauncher.class, props, null));
-
-        assertTrue("server did not launch correctly", 
-                   launchServer(Server.class, false));
-        serversStarted = true;
-    }
-    
-    public URL getWSDLURL(String s) throws Exception {
-        return getClass().getResource(s);
-    }
-    public QName getServiceName(QName q) {
-        return q;
-    }
-    public QName getPortName(QName q) {
-        return q;
-    }
-    
-    @Test
-    public void testDocBasicConnection() throws Exception {
-        QName serviceName = getServiceName(new QName("http://apache.org/hello_world_doc_lit", 
-                                 "SOAPService2"));
-        QName portName = getPortName(new QName("http://apache.org/hello_world_doc_lit", "SoapPort2"));
-        URL wsdl = getWSDLURL("/wsdl/hello_world_doc_lit.wsdl");
-        assertNotNull(wsdl);
-        String wsdlString = wsdl.toString();
-        SOAPService2 service = new SOAPService2(wsdl, serviceName);
-        EmbeddedJMSBrokerLauncher.updateWsdlExtensors(getBus(), wsdlString);
-        assertNotNull(service);
-
-        Greeter greeter = service.getPort(portName, Greeter.class);
-        doService(greeter, true);
-    }
-    @Test
-    public void testNonAopTransaction() throws Exception {
-        JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
-        factory.setServiceClass(Greeter.class);
-        factory.setAddress("jms://");
-
-        JMSConfiguration jmsConfig = new JMSConfiguration();
-        ConnectionFactory connectionFactory
-            = new org.apache.activemq.ActiveMQConnectionFactory("tcp://localhost:" + JMS_PORT);
-        jmsConfig.setConnectionFactory(connectionFactory);
-        jmsConfig.setTargetDestination("greeter.queue.noaop");
-        jmsConfig.setPubSubDomain(false);
-        jmsConfig.setUseJms11(true);
-
-        JMSConfigFeature jmsConfigFeature = new JMSConfigFeature();
-        jmsConfigFeature.setJmsConfig(jmsConfig);
-        factory.getFeatures().add(jmsConfigFeature);
-
-        Greeter greeter = (Greeter)factory.create();
-        doService(greeter, false);
-    }    
-    public void doService(Greeter greeter, boolean doEx) throws Exception {
-
-        String response1 = new String("Hello ");
-        
-        try {
-                          
-            String greeting = greeter.greetMe("Good guy");
-            assertNotNull("No response received from service", greeting);
-            String exResponse = response1 + "Good guy";
-            assertEquals("Get unexcpeted result", exResponse, greeting);
-
-            greeting = greeter.greetMe("Bad guy");
-            assertNotNull("No response received from service", greeting);
-            exResponse = response1 + "[Bad guy]";
-            assertEquals("Get unexcpeted result", exResponse, greeting);
-            
-            if (doEx) {
-                try {
-                    greeter.pingMe();
-                    fail("Should have thrown FaultException");
-                } catch (PingMeFault ex) {
-                    assertNotNull(ex.getFaultInfo());
-                }
-            }
-        } catch (UndeclaredThrowableException ex) {
-            throw (Exception)ex.getCause();
-        }
-    }
-
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.cxf.systest.jms.tx;
+
+import java.lang.reflect.UndeclaredThrowableException;
+import java.net.URL;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.jms.ConnectionFactory;
+import javax.xml.namespace.QName;
+
+import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
+import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
+import org.apache.cxf.testutil.common.EmbeddedJMSBrokerLauncher;
+import org.apache.cxf.transport.jms.JMSConfigFeature;
+import org.apache.cxf.transport.jms.JMSConfiguration;
+import org.apache.hello_world_doc_lit.Greeter;
+import org.apache.hello_world_doc_lit.PingMeFault;
+import org.apache.hello_world_doc_lit.SOAPService2;
+import org.junit.Before;
+import org.junit.Test;
+
+public class JMSTransactionClientServerTest extends AbstractBusClientServerTestBase {
+    protected static boolean serversStarted;
+    static final String JMS_PORT = EmbeddedJMSBrokerLauncher.PORT;
+
+
+    @Before
+    public void startServers() throws Exception {
+        if (serversStarted) {
+            return;
+        }
+        Map<String, String> props = new HashMap<String, String>();                
+        if (System.getProperty("org.apache.activemq.default.directory.prefix") != null) {
+            props.put("org.apache.activemq.default.directory.prefix",
+                      System.getProperty("org.apache.activemq.default.directory.prefix"));
+        }
+        props.put("java.util.logging.config.file", 
+                  System.getProperty("java.util.logging.config.file"));
+        
+        assertTrue("server did not launch correctly", 
+                   launchServer(EmbeddedJMSBrokerLauncher.class, props, null));
+
+        assertTrue("server did not launch correctly", 
+                   launchServer(Server.class, false));
+        serversStarted = true;
+    }
+    
+    public URL getWSDLURL(String s) throws Exception {
+        return getClass().getResource(s);
+    }
+    public QName getServiceName(QName q) {
+        return q;
+    }
+    public QName getPortName(QName q) {
+        return q;
+    }
+    
+    @Test
+    public void testDocBasicConnection() throws Exception {
+        QName serviceName = getServiceName(new QName("http://apache.org/hello_world_doc_lit", 
+                                 "SOAPService2"));
+        QName portName = getPortName(new QName("http://apache.org/hello_world_doc_lit", "SoapPort2"));
+        URL wsdl = getWSDLURL("/wsdl/hello_world_doc_lit.wsdl");
+        assertNotNull(wsdl);
+        String wsdlString = wsdl.toString();
+        SOAPService2 service = new SOAPService2(wsdl, serviceName);
+        EmbeddedJMSBrokerLauncher.updateWsdlExtensors(getBus(), wsdlString);
+        assertNotNull(service);
+
+        Greeter greeter = service.getPort(portName, Greeter.class);
+        doService(greeter, true);
+    }
+    @Test
+    public void testNonAopTransaction() throws Exception {
+        JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
+        factory.setServiceClass(Greeter.class);
+        factory.setAddress("jms://");
+
+        JMSConfiguration jmsConfig = new JMSConfiguration();
+        ConnectionFactory connectionFactory
+            = new org.apache.activemq.ActiveMQConnectionFactory("tcp://localhost:" + JMS_PORT);
+        jmsConfig.setConnectionFactory(connectionFactory);
+        jmsConfig.setTargetDestination("greeter.queue.noaop");
+        jmsConfig.setPubSubDomain(false);
+        jmsConfig.setUseJms11(true);
+
+        JMSConfigFeature jmsConfigFeature = new JMSConfigFeature();
+        jmsConfigFeature.setJmsConfig(jmsConfig);
+        factory.getFeatures().add(jmsConfigFeature);
+
+        Greeter greeter = (Greeter)factory.create();
+        doService(greeter, false);
+    }    
+    public void doService(Greeter greeter, boolean doEx) throws Exception {
+
+        String response1 = new String("Hello ");
+        
+        try {
+                          
+            String greeting = greeter.greetMe("Good guy");
+            assertNotNull("No response received from service", greeting);
+            String exResponse = response1 + "Good guy";
+            assertEquals("Get unexcpeted result", exResponse, greeting);
+
+            greeting = greeter.greetMe("Bad guy");
+            assertNotNull("No response received from service", greeting);
+            exResponse = response1 + "[Bad guy]";
+            assertEquals("Get unexcpeted result", exResponse, greeting);
+            
+            if (doEx) {
+                try {
+                    greeter.pingMe();
+                    fail("Should have thrown FaultException");
+                } catch (PingMeFault ex) {
+                    assertNotNull(ex.getFaultInfo());
+                }
+            }
+        } catch (UndeclaredThrowableException ex) {
+            throw (Exception)ex.getCause();
+        }
+    }
+
+}

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/JMSTransactionClientServerTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/JMSTransactionClientServerTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/Server.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/Server.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/Server.java (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/Server.java Thu Jun  9 15:08:22 2011
@@ -1,71 +1,71 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.cxf.systest.jms.tx;
-
-import javax.jms.ConnectionFactory;
-
-import org.apache.cxf.jaxws.EndpointImpl;
-import org.apache.cxf.testutil.common.AbstractBusTestServerBase;
-import org.apache.cxf.transport.jms.JMSConfigFeature;
-import org.apache.cxf.transport.jms.JMSConfiguration;
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-import org.springframework.jms.connection.JmsTransactionManager;
-
-public class Server extends AbstractBusTestServerBase {
-
-
-    protected void run()  {
-        // create the application context
-        ClassPathXmlApplicationContext context = 
-            new ClassPathXmlApplicationContext("org/apache/cxf/systest/jms/tx/jms_server_config.xml");
-        context.start();
-        
-        EndpointImpl endpoint = new EndpointImpl(new GreeterImplWithTransaction());
-        endpoint.setAddress("jms://");
-        JMSConfiguration jmsConfig = new JMSConfiguration();
-
-        ConnectionFactory connectionFactory
-            = (ConnectionFactory)context.getBean("jmsConnectionFactory", ConnectionFactory.class);
-        jmsConfig.setConnectionFactory(connectionFactory);
-        jmsConfig.setTargetDestination("greeter.queue.noaop");
-        jmsConfig.setSessionTransacted(true);
-        jmsConfig.setPubSubDomain(false);
-        jmsConfig.setUseJms11(true);
-        jmsConfig.setTransactionManager(new JmsTransactionManager(connectionFactory));
-        jmsConfig.setCacheLevel(3);
-
-        JMSConfigFeature jmsConfigFeature = new JMSConfigFeature();
-        jmsConfigFeature.setJmsConfig(jmsConfig);
-        endpoint.getFeatures().add(jmsConfigFeature);
-        endpoint.publish();
-    }
-
-
-    public static void main(String[] args) {
-        try {
-            Server s = new Server();
-            s.start();
-        } catch (Exception ex) {
-            ex.printStackTrace();
-            System.exit(-1);
-        } finally {
-            System.out.println("done!");
-        }
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.cxf.systest.jms.tx;
+
+import javax.jms.ConnectionFactory;
+
+import org.apache.cxf.jaxws.EndpointImpl;
+import org.apache.cxf.testutil.common.AbstractBusTestServerBase;
+import org.apache.cxf.transport.jms.JMSConfigFeature;
+import org.apache.cxf.transport.jms.JMSConfiguration;
+import org.springframework.context.support.ClassPathXmlApplicationContext;
+import org.springframework.jms.connection.JmsTransactionManager;
+
+public class Server extends AbstractBusTestServerBase {
+
+
+    protected void run()  {
+        // create the application context
+        ClassPathXmlApplicationContext context = 
+            new ClassPathXmlApplicationContext("org/apache/cxf/systest/jms/tx/jms_server_config.xml");
+        context.start();
+        
+        EndpointImpl endpoint = new EndpointImpl(new GreeterImplWithTransaction());
+        endpoint.setAddress("jms://");
+        JMSConfiguration jmsConfig = new JMSConfiguration();
+
+        ConnectionFactory connectionFactory
+            = (ConnectionFactory)context.getBean("jmsConnectionFactory", ConnectionFactory.class);
+        jmsConfig.setConnectionFactory(connectionFactory);
+        jmsConfig.setTargetDestination("greeter.queue.noaop");
+        jmsConfig.setSessionTransacted(true);
+        jmsConfig.setPubSubDomain(false);
+        jmsConfig.setUseJms11(true);
+        jmsConfig.setTransactionManager(new JmsTransactionManager(connectionFactory));
+        jmsConfig.setCacheLevel(3);
+
+        JMSConfigFeature jmsConfigFeature = new JMSConfigFeature();
+        jmsConfigFeature.setJmsConfig(jmsConfig);
+        endpoint.getFeatures().add(jmsConfigFeature);
+        endpoint.publish();
+    }
+
+
+    public static void main(String[] args) {
+        try {
+            Server s = new Server();
+            s.start();
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            System.exit(-1);
+        } finally {
+            System.out.println("done!");
+        }
+    }
+}

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/Server.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/Server.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/jms_server_config.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/jms_server_config.xml?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/jms_server_config.xml (original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/jms_server_config.xml Thu Jun  9 15:08:22 2011
@@ -1,84 +1,84 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements. See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership. The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License. You may obtain a copy of the License at
- 
-  http://www.apache.org/licenses/LICENSE-2.0
- 
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied. See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-
-<beans 
-    xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:ct="http://cxf.apache.org/configuration/types"
-    xmlns:jms="http://cxf.apache.org/transports/jms"
-    xmlns:p="http://www.springframework.org/schema/p"
-    xmlns:jaxws="http://cxf.apache.org/jaxws"    
-    xsi:schemaLocation="
-http://cxf.apache.org/transports/jms http://cxf.apache.org/schemas/configuration/jms.xsd
-http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
-http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
-    
- <import resource="classpath:META-INF/cxf/cxf.xml" />
- 
- <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
- 
- <jaxws:endpoint implementor="#transactionalImplementor" 
- 	implementorClass="org.apache.hello_world_doc_lit.Greeter"
- 	wsdlLocation="testutils/hello_world_doc_lit.wsdl"
- 	serviceName="s:SOAPService2" 
-    endpointName="s:SoapPort2"
-    xmlns:s= "http://apache.org/hello_world_doc_lit" />
-    
-    <jms:destination name="{http://apache.org/hello_world_doc_lit}SoapPort2.jms-destination">      
-      <jms:jmsConfig-ref>jmsConf</jms:jmsConfig-ref>
-    </jms:destination>
-    
-  
-  <bean id="jmsConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory"
-  	p:brokerURL="tcp://localhost:${testutil.ports.EmbeddedJMSBrokerLauncher}"
-  />
-  
-  <bean id="singleConnectionFactory"
-    class="org.springframework.jms.connection.SingleConnectionFactory" destroy-method="destroy">
-    <property name="targetConnectionFactory" ref="jmsConnectionFactory"/>
-  </bean>
-  
-  <bean id="jmsTransactionManager" class="org.springframework.jms.connection.JmsTransactionManager">
-     <property name="connectionFactory" ref="singleConnectionFactory"/>
-  </bean>
-  
-  <bean id="implementor" class="org.apache.cxf.systest.jms.tx.GreeterImplWithTransaction"/>
-  
-  <bean id="transactionalImplementor"
-     class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
-  	<property name="transactionManager" ref="jmsTransactionManager" />
-  	<property name="target" ref="implementor" />
-  	<property name="transactionAttributes">
-  	  <props>
-  	  	<prop key="greetMe">PROPAGATION_REQUIRED</prop>
-  	  	<!-- Commit if pingMe throw PingMeFault -->
-  	  	<prop key="pingMe">PROPAGATION_REQUIRED,+PingMeFault</prop>  	  	
-  	  </props>
-    </property>
-  </bean>  
-  
-  <bean id="jmsConf" class="org.apache.cxf.transport.jms.JMSConfiguration"
-  	p:connectionFactory-ref="singleConnectionFactory"
-  	p:sessionTransacted="true"
-  	p:transactionManager-ref="jmsTransactionManager"  	
-  	p:usingEndpointInfo="true"
-  />
-
-</beans>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+ 
+  http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<beans 
+    xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:ct="http://cxf.apache.org/configuration/types"
+    xmlns:jms="http://cxf.apache.org/transports/jms"
+    xmlns:p="http://www.springframework.org/schema/p"
+    xmlns:jaxws="http://cxf.apache.org/jaxws"    
+    xsi:schemaLocation="
+http://cxf.apache.org/transports/jms http://cxf.apache.org/schemas/configuration/jms.xsd
+http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
+    
+ <import resource="classpath:META-INF/cxf/cxf.xml" />
+ 
+ <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
+ 
+ <jaxws:endpoint implementor="#transactionalImplementor" 
+ 	implementorClass="org.apache.hello_world_doc_lit.Greeter"
+ 	wsdlLocation="testutils/hello_world_doc_lit.wsdl"
+ 	serviceName="s:SOAPService2" 
+    endpointName="s:SoapPort2"
+    xmlns:s= "http://apache.org/hello_world_doc_lit" />
+    
+    <jms:destination name="{http://apache.org/hello_world_doc_lit}SoapPort2.jms-destination">      
+      <jms:jmsConfig-ref>jmsConf</jms:jmsConfig-ref>
+    </jms:destination>
+    
+  
+  <bean id="jmsConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory"
+  	p:brokerURL="tcp://localhost:${testutil.ports.EmbeddedJMSBrokerLauncher}"
+  />
+  
+  <bean id="singleConnectionFactory"
+    class="org.springframework.jms.connection.SingleConnectionFactory" destroy-method="destroy">
+    <property name="targetConnectionFactory" ref="jmsConnectionFactory"/>
+  </bean>
+  
+  <bean id="jmsTransactionManager" class="org.springframework.jms.connection.JmsTransactionManager">
+     <property name="connectionFactory" ref="singleConnectionFactory"/>
+  </bean>
+  
+  <bean id="implementor" class="org.apache.cxf.systest.jms.tx.GreeterImplWithTransaction"/>
+  
+  <bean id="transactionalImplementor"
+     class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
+  	<property name="transactionManager" ref="jmsTransactionManager" />
+  	<property name="target" ref="implementor" />
+  	<property name="transactionAttributes">
+  	  <props>
+  	  	<prop key="greetMe">PROPAGATION_REQUIRED</prop>
+  	  	<!-- Commit if pingMe throw PingMeFault -->
+  	  	<prop key="pingMe">PROPAGATION_REQUIRED,+PingMeFault</prop>  	  	
+  	  </props>
+    </property>
+  </bean>  
+  
+  <bean id="jmsConf" class="org.apache.cxf.transport.jms.JMSConfiguration"
+  	p:connectionFactory-ref="singleConnectionFactory"
+  	p:sessionTransacted="true"
+  	p:transactionManager-ref="jmsTransactionManager"  	
+  	p:usingEndpointInfo="true"
+  />
+
+</beans>

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/jms_server_config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/jms_server_config.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/jms_server_config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: cxf/trunk/systests/transport-jms/src/test/resources/jms/testcase.xjb
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/resources/jms/testcase.xjb?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/resources/jms/testcase.xjb (original)
+++ cxf/trunk/systests/transport-jms/src/test/resources/jms/testcase.xjb Thu Jun  9 15:08:22 2011
@@ -1,31 +1,31 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements. See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership. The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License. You may obtain a copy of the License at
- 
-  http://www.apache.org/licenses/LICENSE-2.0
- 
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied. See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<jaxb:bindings version="1.0" 
-  xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" 
-  xmlns:xs="http://www.w3.org/2001/XMLSchema" 
-  xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" 
-  jaxb:extensionBindingPrefixes="xjc">
-    <jaxb:bindings schemaLocation="testcase.xsd" node="/xs:schema">
-        <jaxb:schemaBindings>
-            <jaxb:package name="org.apache.cxf.testsuite.testcase"/>
-        </jaxb:schemaBindings>
-        <jaxb:globalBindings generateIsSetMethod="true"/>
-    </jaxb:bindings>
-</jaxb:bindings>
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+ 
+  http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<jaxb:bindings version="1.0" 
+  xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" 
+  xmlns:xs="http://www.w3.org/2001/XMLSchema" 
+  xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" 
+  jaxb:extensionBindingPrefixes="xjc">
+    <jaxb:bindings schemaLocation="testcase.xsd" node="/xs:schema">
+        <jaxb:schemaBindings>
+            <jaxb:package name="org.apache.cxf.testsuite.testcase"/>
+        </jaxb:schemaBindings>
+        <jaxb:globalBindings generateIsSetMethod="true"/>
+    </jaxb:bindings>
+</jaxb:bindings>

Propchange: cxf/trunk/systests/transport-jms/src/test/resources/jms/testcase.xjb
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/transport-jms/src/test/resources/jms/testcase.xjb
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/transport-jms/src/test/resources/jms/testcase.xjb
------------------------------------------------------------------------------
    svn:mime-type = text/xml