You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2008/09/02 11:24:52 UTC

[jira] Created: (SM-1540) servicemix-camel component should check if property value is serializable before copy it from camel exchange to servicemix exchange

servicemix-camel component should check if property value is serializable  before copy it from camel exchange to servicemix exchange
------------------------------------------------------------------------------------------------------------------------------------

                 Key: SM-1540
                 URL: https://issues.apache.org/activemq/browse/SM-1540
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-camel
    Affects Versions: 3.2.2
            Reporter: Freeman Fang
             Fix For: 3.2.3, 3.3




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


[jira] Commented: (SM-1540) servicemix-camel component should check if property value is serializable before copy it from camel exchange to servicemix exchange

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45510#action_45510 ] 

Freeman Fang commented on SM-1540:
----------------------------------

exclude Map or Collection property as well which entry may not be serializable

http://svn.apache.org/viewvc?rev=693038&view=rev for 3.2 branch
http://svn.apache.org/viewvc?rev=693039&view=rev for servicemix-camel component

 

> servicemix-camel component should check if property value is serializable  before copy it from camel exchange to servicemix exchange
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1540
>                 URL: https://issues.apache.org/activemq/browse/SM-1540
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-camel
>    Affects Versions: 3.2.2
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 3.2.3, 3.3
>
>


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


[jira] Assigned: (SM-1540) servicemix-camel component should check if property value is serializable before copy it from camel exchange to servicemix exchange

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

Freeman Fang reassigned SM-1540:
--------------------------------

    Assignee: Freeman Fang

> servicemix-camel component should check if property value is serializable  before copy it from camel exchange to servicemix exchange
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1540
>                 URL: https://issues.apache.org/activemq/browse/SM-1540
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-camel
>    Affects Versions: 3.2.2
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 3.2.3, 3.3
>
>


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


[jira] Updated: (SM-1540) servicemix-camel component should check if property value is serializable before copy it from camel exchange to servicemix exchange

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

Guillaume Nodet updated SM-1540:
--------------------------------

    Fix Version/s: servicemix-camel-2008.01

> servicemix-camel component should check if property value is serializable  before copy it from camel exchange to servicemix exchange
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1540
>                 URL: https://issues.apache.org/activemq/browse/SM-1540
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-camel
>    Affects Versions: 3.2.2
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 3.2.3, 3.3, servicemix-camel-2008.01
>
>


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


[jira] Commented: (SM-1540) servicemix-camel component should check if property value is serializable before copy it from camel exchange to servicemix exchange

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45509#action_45509 ] 

Freeman Fang commented on SM-1540:
----------------------------------

Ron,

Yes, the latest fix for SM-1526 should be applied here as well.
For performance reason I don't think the Maps/Collections should be recursively checked. And we may encounter dead loop in case like
Map "a" has a entry of a Collection "b", but "b" occasionally has entry "a", we can't control to avoid this case.

We should be careful for the properties we want to serialize, just mark it as "Serializable", and avoid using Map/Collection as property value type.


Regards
Freeman

> servicemix-camel component should check if property value is serializable  before copy it from camel exchange to servicemix exchange
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1540
>                 URL: https://issues.apache.org/activemq/browse/SM-1540
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-camel
>    Affects Versions: 3.2.2
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 3.2.3, 3.3
>
>


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


[jira] Work started: (SM-1540) servicemix-camel component should check if property value is serializable before copy it from camel exchange to servicemix exchange

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

Work on SM-1540 started by Freeman Fang.

> servicemix-camel component should check if property value is serializable  before copy it from camel exchange to servicemix exchange
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1540
>                 URL: https://issues.apache.org/activemq/browse/SM-1540
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-camel
>    Affects Versions: 3.2.2
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 3.2.3, 3.3
>
>


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


[jira] Commented: (SM-1540) servicemix-camel component should check if property value is serializable before copy it from camel exchange to servicemix exchange

Posted by "Ron Gavlin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45507#action_45507 ] 

Ron Gavlin commented on SM-1540:
--------------------------------

Freeman,

Does the latest fix for SM-1526 which catches non-serializable Maps and Collections need to be applied here as well? Should the Maps/Collections be recursively traversed and included if all their entries prove to be serializable? If so, then should CXF get the same fix?

BTW, I think fixing these serialization issues is also important for auditing, as well as JMS flow.

- Ron

> servicemix-camel component should check if property value is serializable  before copy it from camel exchange to servicemix exchange
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1540
>                 URL: https://issues.apache.org/activemq/browse/SM-1540
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-camel
>    Affects Versions: 3.2.2
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 3.2.3, 3.3
>
>


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


[jira] Resolved: (SM-1540) servicemix-camel component should check if property value is serializable before copy it from camel exchange to servicemix exchange

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

Freeman Fang resolved SM-1540.
------------------------------

    Resolution: Fixed

commit fix
http://svn.apache.org/viewvc?rev=691173&view=rev for 3.2 branch
http://svn.apache.org/viewvc?rev=691174&view=rev for servicemix-camel component project

> servicemix-camel component should check if property value is serializable  before copy it from camel exchange to servicemix exchange
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1540
>                 URL: https://issues.apache.org/activemq/browse/SM-1540
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-camel
>    Affects Versions: 3.2.2
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 3.2.3, 3.3
>
>


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