You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bi...@apache.org on 2010/08/31 01:31:27 UTC

svn commit: r991023 - in /cxf/trunk/distribution/src/main/release/samples: java_first_jaxws/ java_first_jaxws_jms/ java_first_jaxws_jms/src/ java_first_jaxws_jms/src/main/ java_first_jaxws_jms/src/main/java/ java_first_jaxws_jms/src/main/java/test/ jav...

Author: bimargulies
Date: Mon Aug 30 23:31:27 2010
New Revision: 991023

URL: http://svn.apache.org/viewvc?rev=991023&view=rev
Log:
A not-quite-correct import of the JMS sample that was floating around confluence. Expect improvements.

Added:
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/pom.xml   (with props)
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/client/
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/client/ClientHTTP.java   (with props)
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/client/ClientJMS.java   (with props)
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/server/
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/server/ServerHTTP.java   (with props)
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/server/ServerJMS.java   (with props)
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/service/
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/service/HelloWorld.java   (with props)
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/service/impl/
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/service/impl/HelloWorldImpl.java   (with props)
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/resources/
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/resources/cxf.xml   (with props)
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/test/
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/test/resources/
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/test/resources/log4j.properties   (with props)
Modified:
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/pom.xml

Modified: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/pom.xml?rev=991023&r1=991022&r2=991023&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/pom.xml Mon Aug 30 23:31:27 2010
@@ -100,7 +100,6 @@
             <artifactId>cxf-rt-transports-http</artifactId>
             <version>${cxf.version}</version>
         </dependency>
-        <!-- Jetty is needed if you're using the CXFServlet -->
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http-jetty</artifactId>

Added: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/pom.xml?rev=991023&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/pom.xml (added)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/pom.xml Mon Aug 30 23:31:27 2010
@@ -0,0 +1,115 @@
+<?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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.cxf.samples</groupId>
+    <artifactId>java_first_jaxws_jms</artifactId>
+    <name>Java First demo using JAX-WS and JMS</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.3.0-SNAPSHOT</version>
+    </parent>
+    <properties>
+        <cxf.version>${project.version}</cxf.version>
+    </properties>
+    <build>
+        <sourceDirectory>src</sourceDirectory>
+        <plugins>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    <profiles>
+        <profile>
+            <id>server</id>
+            <build>
+                <defaultGoal>test</defaultGoal>
+                <plugins>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>exec-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <phase>test</phase>
+                                <goals>
+                                    <goal>java</goal>
+                                </goals>
+                                <configuration>
+                                    <mainClass>demo.hw.server.Server</mainClass>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
+            <id>client</id>
+            <build>
+                <defaultGoal>test</defaultGoal>
+                <plugins>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>exec-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <phase>test</phase>
+                                <goals>
+                                    <goal>java</goal>
+                                </goals>
+                                <configuration>
+                                    <mainClass>demo.hw.client.Client</mainClass>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.activemq</groupId>
+            <artifactId>activemq-core</artifactId>
+            <version>5.4.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-rt-frontend-jaxws</artifactId>
+            <version>${cxf.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-rt-transports-http</artifactId>
+            <version>${cxf.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-rt-transports-jms</artifactId>
+            <version>${cxf.version}</version>
+        </dependency>
+    </dependencies>
+</project>

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/client/ClientHTTP.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/client/ClientHTTP.java?rev=991023&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/client/ClientHTTP.java (added)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/client/ClientHTTP.java Mon Aug 30 23:31:27 2010
@@ -0,0 +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 test.client;
+
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+import org.apache.cxf.interceptor.LoggingInInterceptor;
+import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
+
+import test.service.HelloWorld;
+
+public final class ClientHTTP {
+
+     public static void main(String args[]) throws Exception {
+    	Logger.getLogger("").setLevel(Level.FINE);
+        JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
+        factory.getInInterceptors().add(new LoggingInInterceptor());
+        factory.getOutInterceptors().add(new LoggingInInterceptor());
+    	factory.setServiceClass(HelloWorld.class);
+    	factory.setAddress("http://localhost:9000/helloWorld");
+    	HelloWorld client = (HelloWorld) factory.create();
+    	
+    	String reply = client.sayHi("HI");
+        System.out.println("Server said: " + reply);
+        System.exit(0); 
+    }
+
+}

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/client/ClientHTTP.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/client/ClientHTTP.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/client/ClientJMS.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/client/ClientJMS.java?rev=991023&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/client/ClientJMS.java (added)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/client/ClientJMS.java Mon Aug 30 23:31:27 2010
@@ -0,0 +1,41 @@
+/**
+ * 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 test.client;
+
+import org.apache.cxf.interceptor.LoggingInInterceptor;
+import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
+
+import test.service.HelloWorld;
+
+public final class ClientJMS {
+
+	public static void main(String[] args) throws Exception {
+		//Bus bus = new SpringBusFactory().createBus("jms.xml");
+		JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
+        factory.getInInterceptors().add(new LoggingInInterceptor());
+        factory.getOutInterceptors().add(new LoggingInInterceptor());
+    	factory.setServiceClass(HelloWorld.class);
+    	factory.setAddress("jms://");
+    	HelloWorld client = (HelloWorld) factory.create();
+		String reply = client.sayHi("HI");
+		System.out.println(reply);
+		System.exit(0);
+	}
+}

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/client/ClientJMS.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/client/ClientJMS.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/server/ServerHTTP.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/server/ServerHTTP.java?rev=991023&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/server/ServerHTTP.java (added)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/server/ServerHTTP.java Mon Aug 30 23:31:27 2010
@@ -0,0 +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 test.server;
+
+import org.apache.cxf.interceptor.LoggingInInterceptor;
+import org.apache.cxf.jaxws.JaxWsServerFactoryBean;
+
+import test.service.HelloWorld;
+import test.service.impl.HelloWorldImpl;
+
+
+public class ServerHTTP {
+
+    public static void main(String args[]) throws Exception {
+        System.out.println("Starting Server");
+        Object implementor = new HelloWorldImpl();
+        // Create our Server
+        JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
+        svrFactory.setServiceClass(HelloWorld.class);
+        svrFactory.setAddress("http://localhost:9000/helloWorld");
+        svrFactory.setServiceBean(implementor);
+        svrFactory.getInInterceptors().add(new LoggingInInterceptor());
+        svrFactory.getOutInterceptors().add(new LoggingInInterceptor());
+        svrFactory.create();
+
+        System.in.read();
+        System.exit(0);
+    }
+}

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/server/ServerHTTP.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/server/ServerHTTP.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/server/ServerJMS.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/server/ServerJMS.java?rev=991023&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/server/ServerJMS.java (added)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/server/ServerJMS.java Mon Aug 30 23:31:27 2010
@@ -0,0 +1,45 @@
+/**
+ * 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 test.server;
+
+import org.apache.cxf.interceptor.LoggingInInterceptor;
+import org.apache.cxf.jaxws.JaxWsServerFactoryBean;
+
+import test.service.HelloWorld;
+import test.service.impl.HelloWorldImpl;
+
+public class ServerJMS {
+
+    public static void main(String args[]) throws Exception {
+    	Object implementor = new HelloWorldImpl();
+    	JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
+        svrFactory.setServiceClass(HelloWorld.class);
+        svrFactory.setAddress("jms://");
+        svrFactory.setServiceBean(implementor);
+        svrFactory.getInInterceptors().add(new LoggingInInterceptor());
+        svrFactory.getOutInterceptors().add(new LoggingInInterceptor());
+        svrFactory.create();
+        
+        System.out.println("Server ready... Press any key to exit");
+        System.in.read();
+        System.out.println("Server exiting");
+        System.exit(0);
+    }
+}

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/server/ServerJMS.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/server/ServerJMS.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/service/HelloWorld.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/service/HelloWorld.java?rev=991023&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/service/HelloWorld.java (added)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/service/HelloWorld.java Mon Aug 30 23:31:27 2010
@@ -0,0 +1,11 @@
+package test.service;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebService;
+
+@WebService
+public interface HelloWorld {
+	@WebMethod
+	public abstract String sayHi(@WebParam(name="name") String name);
+}
\ No newline at end of file

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/service/HelloWorld.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/service/HelloWorld.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/service/impl/HelloWorldImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/service/impl/HelloWorldImpl.java?rev=991023&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/service/impl/HelloWorldImpl.java (added)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/service/impl/HelloWorldImpl.java Mon Aug 30 23:31:27 2010
@@ -0,0 +1,15 @@
+package test.service.impl;
+
+import javax.jws.WebService;
+
+import test.service.HelloWorld;
+
+@WebService
+public class HelloWorldImpl implements HelloWorld {
+  /* (non-Javadoc)
+ * @see test.IHello#sayHi(java.lang.String)
+ */
+public String sayHi(String name) {
+    return "Hello " + name;
+  }
+}
\ No newline at end of file

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/service/impl/HelloWorldImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/java/test/service/impl/HelloWorldImpl.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/resources/cxf.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/resources/cxf.xml?rev=991023&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/resources/cxf.xml (added)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/resources/cxf.xml Mon Aug 30 23:31:27 2010
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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:soap="http://cxf.apache.org/bindings/soap"
+	xmlns:jaxws="http://cxf.apache.org/jaxws"
+	xmlns:jms="http://cxf.apache.org/transports/jms"
+	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+	http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
+	http://cxf.apache.org/bindings/soap http://cxf.apache.org/schema/bindings/soap.xsd
+	http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
+	http://cxf.apache.org/transports/jms http://cxf.apache.org/schemas/configuration/jms.xsd
+	">
+
+	<import resource="classpath:META-INF/cxf/cxf.xml" />
+	<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
+	<import resource="classpath:META-INF/cxf/cxf-extension-local.xml" />
+	<import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
+	<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
+	<import resource="classpath:META-INF/cxf/cxf-extension-jms.xml" />
+	
+	<cxf:bus>
+        <cxf:features>
+            <cxf:logging/>
+        </cxf:features>
+    </cxf:bus> 
+
+	<jms:conduit
+		name="{http://service.test/}HelloWorldPort.jms-conduit">
+		<!--
+		<jms:clientConfig clientReceiveTimeout="500"
+			messageTimeToLive="500" />
+		<jms:runtimePolicy messageType="binary" />
+		<jms:sessionPool lowWaterMark="10" highWaterMark="5000" />
+		-->
+		<jms:address destinationStyle="queue"
+			jndiConnectionFactoryName="ConnectionFactory"
+			jndiDestinationName="dynamicQueues/test.cxf.jmstransport.queue"
+			connectionUserName="testUser" connectionPassword="testPassword">
+			<jms:JMSNamingProperty name="java.naming.factory.initial"
+				value="org.apache.activemq.jndi.ActiveMQInitialContextFactory" />
+			<jms:JMSNamingProperty name="java.naming.provider.url"
+				value="tcp://localhost:61616" />
+		</jms:address>
+	</jms:conduit>
+	
+	<jms:destination
+		name="{http://service.test/}HelloWorldPort.jms-destination">
+		<!-- 
+		<jms:clientConfig clientReceiveTimeout="500"
+			messageTimeToLive="500" />
+		<jms:runtimePolicy messageType="binary" />
+		<jms:sessionPool lowWaterMark="10" highWaterMark="5000" />
+		-->
+		<jms:address destinationStyle="queue"
+			jndiConnectionFactoryName="ConnectionFactory"
+			jndiDestinationName="dynamicQueues/test.cxf.jmstransport.queue"
+			connectionUserName="testUser" connectionPassword="testPassword">
+			<jms:JMSNamingProperty name="java.naming.factory.initial"
+				value="org.apache.activemq.jndi.ActiveMQInitialContextFactory" />
+ 			<jms:JMSNamingProperty name="java.naming.provider.url"
+				value="tcp://localhost:61616" />
+		</jms:address>
+	</jms:destination>
+
+</beans>
\ No newline at end of file

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/resources/cxf.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/main/resources/cxf.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/test/resources/log4j.properties?rev=991023&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/test/resources/log4j.properties (added)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/test/resources/log4j.properties Mon Aug 30 23:31:27 2010
@@ -0,0 +1,12 @@
+log4j.rootLogger=INFO, stdout
+
+#log4j.logger.org.springframework=INFO
+#log4j.logger.org.apache.activemq=INFO
+#log4j.logger.org.apache.activemq.spring=WARN
+#log4j.logger.org.apache.activemq.store.journal=INFO
+#log4j.logger.org.activeio.journal=INFO
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} | %-5.5p | %-16.16t | %-32.32c{1} | %-32.32C %4L | %m%n
+

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/test/resources/log4j.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_jms/src/test/resources/log4j.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain