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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.1.1
    • 3.1.2, 3.2
    • servicemix-core
    • 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();
      }

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            dbutano Daniela Butano
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: