Before this I asked a question. My service conifg is :
<proxy xmlns="http://ws.apache.org/ns/synapse" name="UnpayBilling_Task" transports="https,http" statistics="disable" trace="disable" startOnLoad="true">
<target>
<inSequence>
<class name="com.coship.mediator.UnpayBillingMediator"></class>
<log level="full" />
</inSequence>
<outSequence>
<log level="full" />
<send />
</outSequence>
<endpoint>
<address uri="http://172.21.13.153:18080/aaa/services/receiveMsg" />
</endpoint>
</target>
</proxy>
I write a extension mediator UnpayBillingMediator
deal files. The class returns file name and send request to service http://172.21.13.153:18080/aaa/services/receiveMsg
. The service no input message. I want service running every day at 13:30. I tried add New Scheduled Task.
soapAction:urn:mediate,to:http://localhost:8280/services/UnpayBilling?wsdl, Cron: 30 13 * * *.
But it can not work? Anyone can tell me how to set this Scheduled Task?
SimpleQuartz Server name not in pinned servers list. Not starting Task
I also do not know how to set "pinned servers".
No comments:
Post a Comment