You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2010/09/19 04:30:57 UTC
svn commit: r998583 -
/camel/trunk/examples/camel-example-cxf/src/test/java/org/apache/camel/example/cxf/CxfHttpJmsClientServerTest.java
Author: ningjiang
Date: Sun Sep 19 02:30:57 2010
New Revision: 998583
URL: http://svn.apache.org/viewvc?rev=998583&view=rev
Log:
Removed the comments of @Ignore
Modified:
camel/trunk/examples/camel-example-cxf/src/test/java/org/apache/camel/example/cxf/CxfHttpJmsClientServerTest.java
Modified: camel/trunk/examples/camel-example-cxf/src/test/java/org/apache/camel/example/cxf/CxfHttpJmsClientServerTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cxf/src/test/java/org/apache/camel/example/cxf/CxfHttpJmsClientServerTest.java?rev=998583&r1=998582&r2=998583&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-cxf/src/test/java/org/apache/camel/example/cxf/CxfHttpJmsClientServerTest.java (original)
+++ camel/trunk/examples/camel-example-cxf/src/test/java/org/apache/camel/example/cxf/CxfHttpJmsClientServerTest.java Sun Sep 19 02:30:57 2010
@@ -31,19 +31,17 @@ public class CxfHttpJmsClientServerTest
private static final String ROUTER_ADDRESS = "http://localhost:9001/SoapContext/SoapPort";
@Test
- //@Ignore("Due to the Spring 3.0.0 doesn't call the JMS listener container's start method by default"
- // + "This test will be fix in the next released CXF")
public void testClientInvocation() throws MalformedURLException {
Client client = new Client(ROUTER_ADDRESS + "?wsdl");
Greeter proxy = client.getProxy();
-
+
String resp;
resp = proxy.sayHi();
assertEquals("Get a wrong response", "Bonjour", resp);
-
+
resp = proxy.greetMe("Willem");
assertEquals("Get a wrong response", "Hello Willem", resp);
-
+
proxy.greetMeOneWay(System.getProperty("user.name"));
try {
@@ -57,8 +55,8 @@ public class CxfHttpJmsClientServerTest
}
@Override
- protected AbstractXmlApplicationContext createApplicationContext() {
- return new ClassPathXmlApplicationContext(new String[]{"/META-INF/spring/CxfRouteCamelContext.xml"});
+ protected AbstractXmlApplicationContext createApplicationContext() {
+ return new ClassPathXmlApplicationContext(new String[] {"/META-INF/spring/CxfRouteCamelContext.xml"});
}
}