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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development