You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Daniela Butano (JIRA)" <ji...@apache.org> on 2007/08/09 13:56:01 UTC

[jira] Created: (SM-1026) CorrelationId and senderEndpoint properties are not setted on the lightweigth components using the TransformComponentSupport

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

                 Key: SM-1026
                 URL: https://issues.apache.org/activemq/browse/SM-1026
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-core
    Affects Versions: 3.1.1
            Reporter: Daniela Butano
            Priority: Critical
         Attachments: TransformComponentSupport.java

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();
            }

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


[jira] Resolved: (SM-1026) CorrelationId and senderEndpoint properties are not setted on the lightweigth components using the TransformComponentSupport

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SM-1026.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2
                   3.1.2
         Assignee: Guillaume Nodet

URL: http://svn.apache.org/viewvc?view=rev&rev=564185
URL: http://svn.apache.org/viewvc?view=rev&rev=564186



> CorrelationId and senderEndpoint properties are not setted on the lightweigth components using  the TransformComponentSupport
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1026
>                 URL: https://issues.apache.org/activemq/browse/SM-1026
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-core
>    Affects Versions: 3.1.1
>            Reporter: Daniela Butano
>            Assignee: Guillaume Nodet
>            Priority: Critical
>             Fix For: 3.1.2, 3.2
>
>         Attachments: TransformComponentSupport.java
>
>
> 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();
>             }

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