History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XFIRE-876
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Tomasz Sztelak
Reporter: Matt Cross
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XFire

XFire 1.2.4 Client does not observe streaming attachment properties.

Created: 13/Feb/07 01:52 PM   Updated: 21/Feb/07 08:51 AM
Component/s: Core
Affects Version/s: 1.2.4
Fix Version/s: 1.2.5

Time Tracking:
Not Specified

Environment: Windows XP, RedHat Linux, Sun Solaris 9


 Description  « Hide
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);



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Tomasz Sztelak - 21/Feb/07 08:51 AM
Fixed in svn