Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2798

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

Details

    Description

      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;
      }

      Attachments

        Activity

          People

            aelder ant elder
            scottkurz Scott Kurz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment