You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Mark Swanson (JIRA)" <ji...@apache.org> on 2006/06/13 18:54:51 UTC

[jira] Created: (SM-451) HttpInvoker is losing message properties and attachments

HttpInvoker is losing message properties and attachments
--------------------------------------------------------

         Key: SM-451
         URL: https://issues.apache.org/activemq/browse/SM-451
     Project: ServiceMix
        Type: Bug

  Components: servicemix-components  
    Versions: 3.0    
 Environment: Java 5 - not important for this issue.
    Reporter: Mark Swanson
     Fix For: 3.0
 Attachments: propAndAttachment.patch

copyPropertiesAndAttachments(exchange, in, out) is missing so the component loses properties and attachments.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (SM-451) HttpInvoker is losing message properties and attachments

Posted by "Mark Swanson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-451?page=comments#action_36323 ] 

Mark Swanson commented on SM-451:
---------------------------------

I don't have a use case for attachments.
However, I do have a good one for properties. It simply seemed that the existing code assumed I would:
(via spring)

setCopyProperties(true);
setCopyAttachments(false);

and use the existing copyPropertiesAndAttachments().

Wrt properties: I humbly submit to you that they are a really powerful/useful feature, and losing them at any point in the chain means they can not be used/relied on. (I am guessing that is obvious to you and your only question was about attachments - I just don't know what else to say about attachments as my only/primary concern are the properties.)

Cheers.


> HttpInvoker is losing message properties and attachments
> --------------------------------------------------------
>
>          Key: SM-451
>          URL: https://issues.apache.org/activemq/browse/SM-451
>      Project: ServiceMix
>         Type: Bug

>   Components: servicemix-components
>     Versions: 3.0
>  Environment: Java 5 - not important for this issue.
>     Reporter: Mark Swanson
>      Fix For: 3.0
>  Attachments: propAndAttachment.patch
>
>
> copyPropertiesAndAttachments(exchange, in, out) is missing so the component loses properties and attachments.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (SM-451) HttpInvoker is losing message properties and attachments

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-451?page=comments#action_36322 ] 

Guillaume Nodet commented on SM-451:
------------------------------------

Btw, why do you want attachments and properties to be forwarded this way ?
Imho, attachments should be sent in the http requests, and if attachments are send on the http response, they should be put on the out message, but this kind of forwarding seems strange to me..
Do you have any specific use case you could describe ?

> HttpInvoker is losing message properties and attachments
> --------------------------------------------------------
>
>          Key: SM-451
>          URL: https://issues.apache.org/activemq/browse/SM-451
>      Project: ServiceMix
>         Type: Bug

>   Components: servicemix-components
>     Versions: 3.0
>  Environment: Java 5 - not important for this issue.
>     Reporter: Mark Swanson
>      Fix For: 3.0
>  Attachments: propAndAttachment.patch
>
>
> copyPropertiesAndAttachments(exchange, in, out) is missing so the component loses properties and attachments.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (SM-451) HttpInvoker is losing message properties and attachments

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-451?page=all ]
     
Guillaume Nodet resolved SM-451:
--------------------------------

    Fix Version: 3.0-M2
                     (was: 3.0)
     Resolution: Fixed
      Assign To: Guillaume Nodet

To keep the old behavior, I set the default values to false for copyProperties and copyAttachments.

Author: gnodet
Date: Tue Jun 13 11:02:01 2006
New Revision: 413940

URL: http://svn.apache.org/viewvc?rev=413940&view=rev
Log:
SM-451: HttpInvoker is losing message properties and attachments

Modified:
    incubator/servicemix/trunk/servicemix-components/src/main/java/org/apache/servicemix/components/http/HttpInvoker.java



> HttpInvoker is losing message properties and attachments
> --------------------------------------------------------
>
>          Key: SM-451
>          URL: https://issues.apache.org/activemq/browse/SM-451
>      Project: ServiceMix
>         Type: Bug

>   Components: servicemix-components
>     Versions: 3.0
>  Environment: Java 5 - not important for this issue.
>     Reporter: Mark Swanson
>     Assignee: Guillaume Nodet
>      Fix For: 3.0-M2
>  Attachments: propAndAttachment.patch
>
>
> copyPropertiesAndAttachments(exchange, in, out) is missing so the component loses properties and attachments.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira