未找到JMS队列异常

时间:2017-06-23 11:18:03

标签: bpel

爱 我有一个bpel进程将消息放入jms队列中,如果由于某种原因队列中的插入失败,我需要做一些特定的工作。 为了测试我在EM控制台上禁用了插入,但是当bpel尝试插入异常时,引发了异常并且我无法捕获它。 我的问题有什么解决方法吗?

这是我的回复

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header>
        <tracking:faultId xmlns:tracking="http://oracle.soa.tracking.core.TrackingProperty">470018</tracking:faultId>
    </env:Header>
    <env:Body>
        <env:Fault>
            <faultcode>env:Server</faultcode>
            <faultstring>Exception occurred when binding was invoked. Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'Produce_Message' failed due to: ERRJMS_PROVIDER_ERR. ERRJMS_PROVIDER_ERR. Unable to produce message due to JMS provider internal error. Please examine the log file to determine the problem. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.</faultstring>
            <faultactor/>
            <detail>
                <exception>Failed to send message to the destination SRVMEModule!SRVS04: Destination is suspended</exception>
            </detail>
        </env:Fault>
    </env:Body>
</env:Envelope>

1 个答案:

答案 0 :(得分:0)

您的错误看起来像标准的绑定错误,可以轻松捕获和处理。将jms insert活动放在作用域中,您应该能够在作用域级别定义错误处理程序(catch all)。

相关问题