ServiceMix
  1. ServiceMix
  2. SM-793

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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);

      }
      ...

        Activity

        Jeff Turner made changes -
        Project Import Sat Nov 27 00:46:19 EST 2010 [ 1290836779991 ]
        Guillaume Nodet made changes -
        Field Original Value New Value
        Fix Version/s 3.1 [ 11790 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Guillaume Nodet [ gnt ]
        Hide
        Guillaume Nodet added a comment -

        Author: gnodet
        Date: Thu Dec 28 14:00:45 2006
        New Revision: 490845

        URL: http://svn.apache.org/viewvc?view=rev&rev=490845
        Log:
        SM-793: StandardProviderProcessor does not set exchange status to DONE for InOnly / RobustInOnly exchanges
        Patch provided by Anders Hammar, thx !

        Modified:
        incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/standard/StandardProviderProcessor.java

        Show
        Guillaume Nodet added a comment - Author: gnodet Date: Thu Dec 28 14:00:45 2006 New Revision: 490845 URL: http://svn.apache.org/viewvc?view=rev&rev=490845 Log: SM-793 : StandardProviderProcessor does not set exchange status to DONE for InOnly / RobustInOnly exchanges Patch provided by Anders Hammar, thx ! Modified: incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-jms/src/main/java/org/apache/servicemix/jms/standard/StandardProviderProcessor.java
        Anders Hammar created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development