Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-337

TransformBeanSupport configures erroneous IN-ONLY target

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      TransformBeanSupport configures erroneous IN-ONLY target. Below, please find a patch for the problem.

      Index: src/main/java/org/apache/servicemix/bean/support/TransformBeanSupport.java
      ===================================================================
      — src/main/java/org/apache/servicemix/bean/support/TransformBeanSupport.java (revision 677808)
      +++ src/main/java/org/apache/servicemix/bean/support/TransformBeanSupport.java (working copy)
      @@ -68,7 +68,7 @@
      throw new IllegalStateException("An IN-ONLY TransformBean has no Target specified");
      }
      outExchange = getExchangeFactory().createInOnlyExchange();

      • target.configureTarget(exchange, getContext());
        + target.configureTarget(outExchange, getContext());
        outExchange.setProperty(JbiConstants.SENDER_ENDPOINT, getService() + ":" + getEndpoint());
        String processCorrelationId = (String)exchange.getProperty(JbiConstants.CORRELATION_ID);
        if (processCorrelationId != null) {

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            rgavlin Ron Gavlin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: