[
https://issues.apache.org/jira/browse/SYNAPSE-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15537798#comment-15537798
]
Isuru Udana Loku Narangoda commented on SYNAPSE-851:
----------------------------------------------------
The problem is a new Thread is spawning at the axis2 level.
Only option I see to fix this is stop spawning of a new thread for vfs listener
scenarios.
We need to remove ClientApiNonBlocking property before sending out the message.
By adding the following at the inSequence I could get the scenario working.
<property name="ClientApiNonBlocking" scope="axis2" action="remove"/>
IMO, it is ok to remove that at the VFSListener level programatically.
> VFS proxy generates the response.xml with empty content
> (Synapse-2.2.0-Snapshot trunk)
> --------------------------------------------------------------------------------------
>
> Key: SYNAPSE-851
> URL: https://issues.apache.org/jira/browse/SYNAPSE-851
> Project: Synapse
> Issue Type: Bug
> Components: Transports
> Affects Versions: NIGHTLY
> Reporter: Vijayaratha Vijayasingam
> Assignee: Isuru Udana Loku Narangoda
> Priority: Blocker
> Fix For: FUTURE
>
>
> Used following configuration;
> I see the output(response.xml) at "out" folder is empty..
> <proxy name="StockQuoteProxy" transports="vfs" startOnLoad="true"
> trace="disable">
> <target faultSequence="fault">
> <inSequence>
> <property name="OUT_ONLY" value="true"/>
> <send>
> <endpoint>
> <address uri="vfs:file:C:\Users\TOSHIBA\Desktop\out"/>
> </endpoint>
> </send>
> </inSequence>
> </target>
> <parameter name="transport.PollInterval">15</parameter>
> <parameter name="transport.vfs.ActionAfterProcess">MOVE</parameter>
> <!--<parameter
> name="transport.vfs.FileURI">vfs:ftp://anonymous@localhost/in?vfs.passive=true</parameter>-->
> <parameter
> name="transport.vfs.FileURI">file:C:\Users\TOSHIBA\Desktop\in</parameter>
> <parameter
> name="transport.vfs.MoveAfterProcess">file:C:\Users\TOSHIBA\Desktop\original</parameter>
> <parameter
> name="transport.vfs.MoveAfterFailure">file:C:\Users\TOSHIBA\Desktop\error</parameter>
> <parameter name="transport.vfs.FileNamePattern">.*</parameter>
> <parameter name="transport.vfs.ContentType">text/plain</parameter>
> <parameter name="transport.vfs.ActionAfterFailure">MOVE</parameter>
> <parameter name="serviceType">proxy</parameter>
> </proxy>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]