我已将MSMQ与WSO2 ESB连接到本地环境中。连接远程MSMQ后,我可以向它发送消息。但是当我通过听取数据时,发生了以下错误:
java.lang.RuntimeException:接收时出错 org.apache.camel.component.msmq.native_support.msmq_native_supportJNI .MsmqQueue_receiveMessage(本机方法) 在org.apache.camel.component.msmq.native_support.MsmqQueue.receiveMessa GE(MsmqQueue.java:51) 在org.apache.axis2.transport.msmq.util.MSMQCamelClient.receive(MSMQCame) lClient.java:40) 在org.apache.axis2.transport.msmq.ServiceTaskManager $ MessageListenerTas k.run(ServiceTaskManager.java:218) at org.apache.axis2.transport.base.threads.NativeWorkerPool $ 1.run(Native WorkerPool.java:172) 在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor。 Java的:1145) at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor) 的.java:615) 在java.lang.Thread.run(Thread.java:745)