我想使用quartz调度程序轮询https端点,但我不断收到密钥库错误。 使用相同的密钥库,在同一个mule项目中,在同一个流程中,使用http-polling端点,可以正常工作。这是在Mule 3.5。
这样可行:
<https:polling-connector name="HTTP_Polling" cookieSpec="netscape" validateConnections="true" pollingFrequency="10000" sendBufferSize="0" receiveBufferSize="0" receiveBacklog="0" clientSoTimeout="10000" serverSoTimeout="10000" socketSoLinger="0" doc:name="HTTP Polling">
<https:tls-client path="public_certs.jks" storePassword="password" class="sun.security.provider.JavaKeyStore$JKS"/>
</https:polling-connector>
<https:inbound-endpoint exchange-pattern="one-way" doc:name="HTTP" connector-ref="HTTP_Polling" host="app1.nijmegen.nl" path="Loket/prodcat/products/samenwerkendecatalogi/feed/getIndexFeedAction.do" port="443"/>
但是使用石英元素和普通的https连接器,我不断收到Keystore not available
错误
<https:connector name="app1-HTTPS" cookieSpec="netscape" validateConnections="true" sendBufferSize="0" receiveBufferSize="0" receiveBacklog="0" clientSoTimeout="10000" serverSoTimeout="10000" socketSoLinger="0" doc:name="HTTP-HTTPS">
<https:tls-client path="public_certs.jks" storePassword="password" class="sun.security.provider.JavaKeyStore$JKS"/>
</https:connector>
<quartz:inbound-endpoint jobName="pollExxellence" repeatInterval="0" responseTimeout="10000" doc:name="Quartz" cronExpression="0 0/1 * 1/1 * ? *">
<quartz:endpoint-polling-job>
<quartz:job-endpoint ref="app1"/>
</quartz:endpoint-polling-job>
</quartz:inbound-endpoint>
有谁知道出了什么问题?