You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2008/10/07 09:04:53 UTC

[jira] Updated: (SM-1468) TransformBeanSupport configures erroneous IN-ONLY target

     [ https://issues.apache.org/activemq/browse/SM-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated SM-1468:
--------------------------------

    Affects Version/s:     (was: servicemix-bean-2008.01)
        Fix Version/s: servicemix-bean-2008.01
                           (was: 3.3)

> TransformBeanSupport configures erroneous IN-ONLY target
> --------------------------------------------------------
>
>                 Key: SM-1468
>                 URL: https://issues.apache.org/activemq/browse/SM-1468
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-bean
>            Reporter: Ron Gavlin
>            Assignee: Guillaume Nodet
>             Fix For: servicemix-bean-2008.01
>
>
> 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) {

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.