Author: alessio.soldano(a)jboss.com
Date: 2010-09-13 12:56:17 -0400 (Mon, 13 Sep 2010)
New Revision: 12966
Modified:
stack/cxf/trunk/modules/testsuite/cxf-spring-tests/src/test/java/org/jboss/test/ws/jaxws/samples/jmsendpoints/jmstransport/JMSEndpointsTestCase.java
Log:
Adding required props to jms message before sending - testcase still fails though
Modified:
stack/cxf/trunk/modules/testsuite/cxf-spring-tests/src/test/java/org/jboss/test/ws/jaxws/samples/jmsendpoints/jmstransport/JMSEndpointsTestCase.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-spring-tests/src/test/java/org/jboss/test/ws/jaxws/samples/jmsendpoints/jmstransport/JMSEndpointsTestCase.java 2010-09-13
16:20:29 UTC (rev 12965)
+++
stack/cxf/trunk/modules/testsuite/cxf-spring-tests/src/test/java/org/jboss/test/ws/jaxws/samples/jmsendpoints/jmstransport/JMSEndpointsTestCase.java 2010-09-13
16:56:17 UTC (rev 12966)
@@ -37,6 +37,7 @@
import junit.framework.Test;
import junit.framework.TestSuite;
+import org.apache.cxf.transport.jms.spec.JMSSpecConstants;
import org.jboss.wsf.common.DOMUtils;
import org.jboss.wsf.common.ObjectNameFactory;
import org.jboss.wsf.test.JBossWSTest;
@@ -109,6 +110,8 @@
TextMessage message = session.createTextMessage(reqMessage);
message.setJMSReplyTo(resQueue);
+ message.setStringProperty(JMSSpecConstants.CONTENTTYPE_FIELD,
"text/xml");
+ message.setStringProperty(JMSSpecConstants.REQUESTURI_FIELD, "/foo");
waitForResponse = true;
Show replies by date