Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-793

StandardProviderProcessor does not set exchange status to done for InOnly/RobustInOnly exchanges

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1
    • Component/s: servicemix-jms
    • Labels:
      None
    • Environment:

      Windows XP SP2 (Swedish), JDK 1.5.0

    • Patch Info:
      Patch Available

      Description

      After the provider has sent inOnly/RobustInOnly messages, the exchange status is not set to done.

      Comparing the standard and the multiplexing providers the following lines of code is missing in org.apache.servicemix.jms.standard.StandardProviderProcessor.java:

      public void process(MessageExchange exchange) throws Exception {
      ...
      if (exchange instanceof InOnly || exchange instanceof RobustInOnly) {
      producer.send(msg);
      exchange.setStatus(ExchangeStatus.DONE);
      channel.send(exchange);

      }
      ...

        Attachments

          Activity

            People

            • Assignee:
              gnt Guillaume Nodet
              Reporter:
              afloom Anders Hammar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: