ServiceMix
  1. ServiceMix
  2. SM-1026

CorrelationId and senderEndpoint properties are not setted on the lightweigth components using the TransformComponentSupport

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.1.2, 3.2
    • Component/s: servicemix-core
    • Labels:
      None

      Description

      It needs modify, in the TransformComponentSupport class, the method onMessageExchange as below

      if (isInAndOut(exchange))

      { out = exchange.createMessage(); }

      else {
      outExchange = getExchangeFactory().createInOnlyExchange();

      //-----------------------------------------------------------------------------------
      outExchange.setProperty(JbiConstants.SENDER_ENDPOINT, getService() + ":" + getEndpoint());

      String processCorrelationId = (String)exchange.getProperty(JbiConstants.CORRELATION_ID);
      if (processCorrelationId != null)

      { outExchange.setProperty(JbiConstants.CORRELATION_ID, processCorrelationId); }

      //-----------------------------------------------------------------------------------

      out = outExchange.createMessage();
      }

        Activity

        Daniela Butano created issue -
        Show
        Guillaume Nodet added a comment - URL: http://svn.apache.org/viewvc?view=rev&rev=564185 URL: http://svn.apache.org/viewvc?view=rev&rev=564186
        Guillaume Nodet made changes -
        Field Original Value New Value
        Fix Version/s 3.2 [ 11810 ]
        Fix Version/s 3.1.2 [ 11824 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Guillaume Nodet [ gnt ]
        Resolution Fixed [ 1 ]
        Jeff Turner made changes -
        Project Import Sat Nov 27 00:46:19 EST 2010 [ 1290836779991 ]

          People

          • Assignee:
            Guillaume Nodet
            Reporter:
            Daniela Butano
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development