Response destination not used in <binding.jms> when JMSReplyTo is absent
------------------------------------------------------------------------

                 Key: TUSCANY-2798
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2798
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA JMS Binding Extension
            Reporter: Scott Kurz


The OASIS JMS Binding spec makes this clear whereas the OSOA doesn't, but if 
the JMSReplyTo isn't present on the incoming requestMessage then the response 
destination should be used.

Not sure the best place to tweak the code to add this just yet, but you can see 
in TransportServiceInterceptor what we do today in sca-java-1.x

    public Message invokeResponse(Message msg) { 
     ...
            if (requestJMSMsg.getJMSReplyTo() == null) {
                // assume no reply is expected
                if (msg.getBody() != null) {
                    logger.log(Level.FINE, "JMS service '" + service.getName() 
+ "' dropped response as request has no replyTo");
                }
                return msg;
            }


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to