[jira] Created: (CAMEL-569) CxfMessage.setMessage() method is not seem from Message interface

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CAMEL-569) CxfMessage.setMessage() method is not seem from Message interface

JIRA jira@apache.org
CxfMessage.setMessage() method is not seem from Message interface
-----------------------------------------------------------------

                 Key: CAMEL-569
                 URL: https://issues.apache.org/activemq/browse/CAMEL-569
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-cxf
            Reporter: Freeman Fang
             Fix For: 1.4.0


CxfMessage has method setMessage(), but this methold isn't defined in the Message interface, which CxfMessage implement.
So when different kind of message copy between differnet kind of component, the object what set by setMessage() for CxfMessage will lost since the copyFrom() method only see the method defined in Message, so the header, body could be copied but the message lost
we should figure out a way to support the message variable in CxfMessage also get copied

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (CAMEL-569) CxfMessage.setMessage() method is not seem from Message interface

JIRA jira@apache.org

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

Freeman Fang updated CAMEL-569:
-------------------------------

    Attachment: camel-569.patch

> CxfMessage.setMessage() method is not seem from Message interface
> -----------------------------------------------------------------
>
>                 Key: CAMEL-569
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-569
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>            Reporter: Freeman Fang
>             Fix For: 1.4.0
>
>         Attachments: camel-569.patch
>
>
> CxfMessage has method setMessage(), but this methold isn't defined in the Message interface, which CxfMessage implement.
> So when different kind of message copy between differnet kind of component, the object what set by setMessage() for CxfMessage will lost since the copyFrom() method only see the method defined in Message, so the header, body could be copied but the message lost
> we should figure out a way to support the message variable in CxfMessage also get copied

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

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (CAMEL-569) CxfMessage.setMessage() method is not seem from Message interface

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Willem Jiang reassigned CAMEL-569:
----------------------------------

    Assignee: Willem Jiang

> CxfMessage.setMessage() method is not seem from Message interface
> -----------------------------------------------------------------
>
>                 Key: CAMEL-569
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-569
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>            Reporter: Freeman Fang
>            Assignee: Willem Jiang
>             Fix For: 1.4.0
>
>         Attachments: camel-569.patch
>
>
> CxfMessage has method setMessage(), but this methold isn't defined in the Message interface, which CxfMessage implement.
> So when different kind of message copy between differnet kind of component, the object what set by setMessage() for CxfMessage will lost since the copyFrom() method only see the method defined in Message, so the header, body could be copied but the message lost
> we should figure out a way to support the message variable in CxfMessage also get copied

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

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (CAMEL-569) CxfMessage.setMessage() method is not seem from Message interface

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Willem Jiang resolved CAMEL-569.
--------------------------------

    Resolution: Fixed

Patch applied with thanks to Freeman.

> CxfMessage.setMessage() method is not seem from Message interface
> -----------------------------------------------------------------
>
>                 Key: CAMEL-569
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-569
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>            Reporter: Freeman Fang
>            Assignee: Willem Jiang
>             Fix For: 1.4.0
>
>         Attachments: camel-569.patch
>
>
> CxfMessage has method setMessage(), but this methold isn't defined in the Message interface, which CxfMessage implement.
> So when different kind of message copy between differnet kind of component, the object what set by setMessage() for CxfMessage will lost since the copyFrom() method only see the method defined in Message, so the header, body could be copied but the message lost
> we should figure out a way to support the message variable in CxfMessage also get copied

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-569) CxfMessage.setMessage() method is not seem from Message interface

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43183#action_43183 ]

Freeman Fang commented on CAMEL-569:
------------------------------------

http://svn.apache.org/viewvc?rev=662348&view=rev

> CxfMessage.setMessage() method is not seem from Message interface
> -----------------------------------------------------------------
>
>                 Key: CAMEL-569
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-569
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>            Reporter: Freeman Fang
>            Assignee: Willem Jiang
>             Fix For: 1.4.0
>
>         Attachments: camel-569.patch
>
>
> CxfMessage has method setMessage(), but this methold isn't defined in the Message interface, which CxfMessage implement.
> So when different kind of message copy between differnet kind of component, the object what set by setMessage() for CxfMessage will lost since the copyFrom() method only see the method defined in Message, so the header, body could be copied but the message lost
> we should figure out a way to support the message variable in CxfMessage also get copied

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

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (CAMEL-569) CxfMessage.setMessage() method is not seem from Message interface

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Willem Jiang closed CAMEL-569.
------------------------------


> CxfMessage.setMessage() method is not seem from Message interface
> -----------------------------------------------------------------
>
>                 Key: CAMEL-569
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-569
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>            Reporter: Freeman Fang
>            Assignee: Willem Jiang
>             Fix For: 1.4.0
>
>         Attachments: camel-569.patch
>
>
> CxfMessage has method setMessage(), but this methold isn't defined in the Message interface, which CxfMessage implement.
> So when different kind of message copy between differnet kind of component, the object what set by setMessage() for CxfMessage will lost since the copyFrom() method only see the method defined in Message, so the header, body could be copied but the message lost
> we should figure out a way to support the message variable in CxfMessage also get copied

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