[
https://issues.apache.org/jira/browse/SYNAPSE-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hiranya Jayathilaka resolved SYNAPSE-872.
-----------------------------------------
Resolution: Fixed
Fix Version/s: (was: FUTURE)
3.0
I don't see this specified erroneous behavior in the trunk. The
fsManager.resolve() takes a URL with query parameters, and resolves it to a
proper file name without unnecessary suffixes.
> Parameters added to a VFS endpoint are added to the reply file name also
> ------------------------------------------------------------------------
>
> Key: SYNAPSE-872
> URL: https://issues.apache.org/jira/browse/SYNAPSE-872
> Project: Synapse
> Issue Type: Bug
> Components: Transports
> Affects Versions: 2.1
> Reporter: Amila Maharachchi
> Assignee: Hiranya Jayathilaka
> Fix For: 3.0
>
> Attachments: synapse-vfs.patch
>
>
> If we want to write to a file and we want to append to that file, VFS
> endpoint will look like below.
> <address
> uri="vfs:file:///home/amila/test/out/response.xml?transport.vfs.Append=true"
> />
> Append works only when the parameter is added as shown above. But then, the
> response file name becomes "response.xml?transport.vfs.Append=true". This is
> because the parameters being not considered when getting the file path.
> I will attach a patch for this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]