XFire 1.2.4 Client does not observe streaming attachment properties.
--------------------------------------------------------------------

                 Key: XFIRE-876
                 URL: http://jira.codehaus.org/browse/XFIRE-876
             Project: XFire
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.2.4
         Environment: Windows XP, RedHat Linux, Sun Solaris 9
            Reporter: Matt Cross
         Assigned To: Dan Diephouse
            Priority: Critical


Setting the client properties

client.setProperty(StreamedAttachments.ATTACHMENT_DIRECTORY, new 
File(someDir)); 
client.setProperty(StreamedAttachments.ATTACHMENT_MEMORY_THRESHOLD, 0);

Has no affect.  The client context is not being passed during the message 
unmarshalling.  Here's how I fixed the problem in CommonsHttpMessageSender.java
The context with the props was not being passed to Streamed Attachments during 
construction on the client side.  Please merge this fix in if it is appropriate.

410c410
<             Attachments atts = new StreamedAttachments(getMessageContext(), 
in, ct);
---
>             Attachments atts = new StreamedAttachments(in, ct);




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

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to