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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 3.1
    • servicemix-jms
    • None
    • Windows XP SP2 (Swedish), JDK 1.5.0

    • 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

            gnodet Guillaume Nodet
            afloom Anders Hammar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: