You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gianfranco Boccalon (JIRA)" <ji...@apache.org> on 2007/07/17 17:51:45 UTC

[jira] Created: (SM-1005) File BC doesnt set correlation Id and sender property

File BC doesnt set correlation Id and sender property
-----------------------------------------------------

                 Key: SM-1005
                 URL: https://issues.apache.org/activemq/browse/SM-1005
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-file
    Affects Versions: 3.1.1, 3.1
            Reporter: Gianfranco Boccalon


The File binding component doesn't set the properties correlation id and sender.

We fixed the problem changing the method processFile in class org.apache.servicemix.file.FilePollerEndpoint, adding these rows before sending the message (sendSync):

       exchange.setProperty(JbiConstants.SENDER_ENDPOINT, service.toString());
       exchange.setProperty(JbiConstants.CORRELATION_ID, exchange.getExchangeId());


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


[jira] Commented: (SM-1005) File BC doesnt set correlation Id and sender property

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39768 ] 

Gert Vanthienen commented on SM-1005:
-------------------------------------

Gianfranco,

I haven't tested the 3.1 release, but at least the 3.1.1 release already does this correctly.  Can you describe the problem you were having with this?

Gert


> File BC doesnt set correlation Id and sender property
> -----------------------------------------------------
>
>                 Key: SM-1005
>                 URL: https://issues.apache.org/activemq/browse/SM-1005
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-file
>    Affects Versions: 3.1, 3.1.1
>            Reporter: Gianfranco Boccalon
>
> The File binding component doesn't set the properties correlation id and sender.
> We fixed the problem changing the method processFile in class org.apache.servicemix.file.FilePollerEndpoint, adding these rows before sending the message (sendSync):
>        exchange.setProperty(JbiConstants.SENDER_ENDPOINT, service.toString());
>        exchange.setProperty(JbiConstants.CORRELATION_ID, exchange.getExchangeId());

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


[jira] Commented: (SM-1005) File BC doesnt set correlation Id and sender property

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39794 ] 

Gert Vanthienen commented on SM-1005:
-------------------------------------

On my machine, the message exchanges sent by the file binding component already contain these properties.  Perhaps you're still using the 3.1 version, SM-861 fixes this in 3.1.1 for exchanges that are sent using sendSync() (such as those sent by the FilePoller)

> File BC doesnt set correlation Id and sender property
> -----------------------------------------------------
>
>                 Key: SM-1005
>                 URL: https://issues.apache.org/activemq/browse/SM-1005
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-file
>    Affects Versions: 3.1, 3.1.1
>            Reporter: Gianfranco Boccalon
>
> The File binding component doesn't set the properties correlation id and sender.
> We fixed the problem changing the method processFile in class org.apache.servicemix.file.FilePollerEndpoint, adding these rows before sending the message (sendSync):
>        exchange.setProperty(JbiConstants.SENDER_ENDPOINT, service.toString());
>        exchange.setProperty(JbiConstants.CORRELATION_ID, exchange.getExchangeId());

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


[jira] Commented: (SM-1005) File BC doesnt set correlation Id and sender property

Posted by "Gianfranco Boccalon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39795 ] 

Gianfranco Boccalon commented on SM-1005:
-----------------------------------------

Sorry, I tried the 3.1.1 and it works properly: the properties are sent.

> File BC doesnt set correlation Id and sender property
> -----------------------------------------------------
>
>                 Key: SM-1005
>                 URL: https://issues.apache.org/activemq/browse/SM-1005
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-file
>    Affects Versions: 3.1, 3.1.1
>            Reporter: Gianfranco Boccalon
>
> The File binding component doesn't set the properties correlation id and sender.
> We fixed the problem changing the method processFile in class org.apache.servicemix.file.FilePollerEndpoint, adding these rows before sending the message (sendSync):
>        exchange.setProperty(JbiConstants.SENDER_ENDPOINT, service.toString());
>        exchange.setProperty(JbiConstants.CORRELATION_ID, exchange.getExchangeId());

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


[jira] Commented: (SM-1005) File BC doesnt set correlation Id and sender property

Posted by "Gianfranco Boccalon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39793 ] 

Gianfranco Boccalon commented on SM-1005:
-----------------------------------------

The component works properly, the problem is related to monitoring: i rely on these 2 properties to monitor the processes that are executing in ServiceMix.
Without these properties I'm not able to recognize the process that is executing.
For example, the HTTP component has been already patched with this change.

> File BC doesnt set correlation Id and sender property
> -----------------------------------------------------
>
>                 Key: SM-1005
>                 URL: https://issues.apache.org/activemq/browse/SM-1005
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-file
>    Affects Versions: 3.1, 3.1.1
>            Reporter: Gianfranco Boccalon
>
> The File binding component doesn't set the properties correlation id and sender.
> We fixed the problem changing the method processFile in class org.apache.servicemix.file.FilePollerEndpoint, adding these rows before sending the message (sendSync):
>        exchange.setProperty(JbiConstants.SENDER_ENDPOINT, service.toString());
>        exchange.setProperty(JbiConstants.CORRELATION_ID, exchange.getExchangeId());

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


[jira] Closed: (SM-1005) File BC doesnt set correlation Id and sender property

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

Guillaume Nodet closed SM-1005.
-------------------------------

    Resolution: Cannot Reproduce

> File BC doesnt set correlation Id and sender property
> -----------------------------------------------------
>
>                 Key: SM-1005
>                 URL: https://issues.apache.org/activemq/browse/SM-1005
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-file
>    Affects Versions: 3.1, 3.1.1
>            Reporter: Gianfranco Boccalon
>
> The File binding component doesn't set the properties correlation id and sender.
> We fixed the problem changing the method processFile in class org.apache.servicemix.file.FilePollerEndpoint, adding these rows before sending the message (sendSync):
>        exchange.setProperty(JbiConstants.SENDER_ENDPOINT, service.toString());
>        exchange.setProperty(JbiConstants.CORRELATION_ID, exchange.getExchangeId());

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