Am Mittwoch, den 29.08.2007, 15:00 +0000 schrieb [EMAIL PROTECTED]:
> Author: ulhasbhole
> Date: Wed Aug 29 08:00:40 2007
> New Revision: 570831
> 

> Added: 
> incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jms/GreeterByteMessageImpl.java
> URL: 
> http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jms/GreeterByteMessageImpl.java?rev=570831&view=auto
> ==============================================================================
> --- 
> incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jms/GreeterByteMessageImpl.java
>  (added)
> +++ 
> incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jms/GreeterByteMessageImpl.java
>  Wed Aug 29 08:00:40 2007
> @@ -0,0 +1,97 @@

> +package org.apache.cxf.systest.jms;
> +
> +
> [EMAIL PROTECTED](serviceName = "HWByteMsgService", 
> +            portName = "HWSByteMsgPort",
> +            endpointInterface = 
> "org.apache.cxf.hello_world_jms.HelloWorldPortType",
> +            targetNamespace = "http://cxf.apache.org/hello_world_jms";,
> +            wsdlLocation = "testutils/jms_test.wsdl")
> +public class GreeterByteMessageImpl implements HelloWorldPortType {
> +    @Resource
> +    protected WebServiceContext wsContext;
> +    public String greetMe(String me) {
> +        MessageContext mc = wsContext.getMessageContext();
> +        JMSMessageHeadersType headers =
> +            (JMSMessageHeadersType) 
> mc.get(JMSConstants.JMS_SERVER_REQUEST_HEADERS);
> +        System.out.println("get the message headers JMSCorrelationID" + 
> headers.getJMSCorrelationID());
> +        System.out.println("Reached here :" + me);

This looks more like a debugging statement than an actual output test message.  
Was retention of this line of code your actual intent?


> +        // set reply header custom property
> +        JMSPropertyType testProperty = new JMSPropertyType();
> +        testProperty.setName("Test_Prop");
> +        testProperty.setValue("some return value "  + me);
> +        

Same here.

Regards,
Glen


Reply via email to