Hi Asitha, Do you have any updates on this?
Regards, Nira On Tue, Aug 28, 2018 at 2:28 AM Asitha Nanayakkara <asi...@wso2.com> wrote: > Hi Niranjan, > > Sorry for the delayed response. > > On Friday, August 24, 2018, Niranjan Karunanandham < > niranjan.k...@gmail.com> wrote: > >> Hi Devs, >> >> I have verified this in WSO2EI 6.3.0 and I can see the same behavior. I >> have created a git issue[1] which contains the same API to test this. [2] >> is the exception that occurs for the sample and in that the ERROR CODE is >> 0. >> I have sent a PR [3] which handles this exception and sets the Error Code >> as 401003 (Non-Blocking Call Failure) and com.rabbitmq.client exception >> message as the Error Message. >> >> Great! I'll go through the PR and do the needful. > > [1] - https://github.com/wso2/wso2-synapse/issues/1157 >> >> [2] - >> [XXXX-XX-XX XX:XX:XX,XXX] [EI-Core] ERROR - RabbitMQMessageSender Error >> while publishing the message >> java.io.IOException: nacks received >> at >> com.rabbitmq.client.impl.ChannelN.waitForConfirmsOrDie(ChannelN.java:226) >> at >> com.rabbitmq.client.impl.ChannelN.waitForConfirmsOrDie(ChannelN.java:214) >> at >> com.rabbitmq.client.impl.recovery.AutorecoveringChannel.waitForConfirmsOrDie(AutorecoveringChannel.java:533) >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.publish(RabbitMQMessageSender.java:264) >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.send(RabbitMQMessageSender.java:83) >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQSender.sendOverAMQP(RabbitMQSender.java:108) >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQSender.sendMessage(RabbitMQSender.java:83) >> at >> org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:112) >> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) >> at >> org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:297) >> at >> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) >> at >> org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:603) >> at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:85) >> at >> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:547) >> at >> org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:384) >> at >> org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:65) >> at >> org.apache.synapse.mediators.builtin.CallMediator.handleNonBlockingCall(CallMediator.java:276) >> at >> org.apache.synapse.mediators.builtin.CallMediator.mediate(CallMediator.java:121) >> at >> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:108) >> at >> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:70) >> at >> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:158) >> at org.apache.synapse.rest.Resource.process(Resource.java:351) >> at org.apache.synapse.rest.API.process(API.java:399) >> at >> org.apache.synapse.rest.RESTRequestHandler.apiProcess(RESTRequestHandler.java:123) >> at >> org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:101) >> at >> org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:69) >> at >> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:303) >> at >> org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:92) >> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) >> at >> org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:337) >> at >> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:158) >> at >> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >> at java.lang.Thread.run(Thread.java:745) >> [XXXX-XX-XX XX:XX:XX,XXX] [EI-Core] ERROR - RabbitMQSender Error occurred >> while sending message out >> org.apache.axis2.transport.rabbitmq.utils.AxisRabbitMQException: Error >> while publishing the message >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.handleException(RabbitMQMessageSender.java:327) >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.publish(RabbitMQMessageSender.java:268) >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.send(RabbitMQMessageSender.java:83) >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQSender.sendOverAMQP(RabbitMQSender.java:108) >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQSender.sendMessage(RabbitMQSender.java:83) >> at >> org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:112) >> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) >> at >> org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:297) >> at >> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) >> at >> org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:603) >> at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:85) >> at >> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:547) >> at >> org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:384) >> at >> org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:65) >> at >> org.apache.synapse.mediators.builtin.CallMediator.handleNonBlockingCall(CallMediator.java:276) >> at >> org.apache.synapse.mediators.builtin.CallMediator.mediate(CallMediator.java:121) >> at >> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:108) >> at >> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:70) >> at >> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:158) >> at org.apache.synapse.rest.Resource.process(Resource.java:351) >> at org.apache.synapse.rest.API.process(API.java:399) >> at >> org.apache.synapse.rest.RESTRequestHandler.apiProcess(RESTRequestHandler.java:123) >> at >> org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:101) >> at >> org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:69) >> at >> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:303) >> at >> org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:92) >> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) >> at >> org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:337) >> at >> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:158) >> at >> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >> at java.lang.Thread.run(Thread.java:745) >> Caused by: java.io.IOException: nacks received >> at >> com.rabbitmq.client.impl.ChannelN.waitForConfirmsOrDie(ChannelN.java:226) >> at >> com.rabbitmq.client.impl.ChannelN.waitForConfirmsOrDie(ChannelN.java:214) >> at >> com.rabbitmq.client.impl.recovery.AutorecoveringChannel.waitForConfirmsOrDie(AutorecoveringChannel.java:533) >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.publish(RabbitMQMessageSender.java:264) >> ... 31 more >> [XXXX-XX-XX XX:XX:XX,XXX] [EI-Core] ERROR - Axis2Sender Unexpected error >> during sending message out >> org.apache.axis2.AxisFault: Error occurred while sending message out >> at >> org.apache.axis2.transport.base.AbstractTransportSender.handleException(AbstractTransportSender.java:229) >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQSender.sendOverAMQP(RabbitMQSender.java:112) >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQSender.sendMessage(RabbitMQSender.java:83) >> at >> org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:112) >> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) >> at >> org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:297) >> at >> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) >> at >> org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:603) >> at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:85) >> at >> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:547) >> at >> org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:384) >> at >> org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:65) >> at >> org.apache.synapse.mediators.builtin.CallMediator.handleNonBlockingCall(CallMediator.java:276) >> at >> org.apache.synapse.mediators.builtin.CallMediator.mediate(CallMediator.java:121) >> at >> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:108) >> at >> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:70) >> at >> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:158) >> at org.apache.synapse.rest.Resource.process(Resource.java:351) >> at org.apache.synapse.rest.API.process(API.java:399) >> at >> org.apache.synapse.rest.RESTRequestHandler.apiProcess(RESTRequestHandler.java:123) >> at >> org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:101) >> at >> org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:69) >> at >> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:303) >> at >> org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:92) >> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) >> at >> org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:337) >> at >> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:158) >> at >> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >> at java.lang.Thread.run(Thread.java:745) >> Caused by: >> org.apache.axis2.transport.rabbitmq.utils.AxisRabbitMQException: Error >> while publishing the message >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.handleException(RabbitMQMessageSender.java:327) >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.publish(RabbitMQMessageSender.java:268) >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.send(RabbitMQMessageSender.java:83) >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQSender.sendOverAMQP(RabbitMQSender.java:108) >> ... 29 more >> Caused by: java.io.IOException: nacks received >> at >> com.rabbitmq.client.impl.ChannelN.waitForConfirmsOrDie(ChannelN.java:226) >> at >> com.rabbitmq.client.impl.ChannelN.waitForConfirmsOrDie(ChannelN.java:214) >> at >> com.rabbitmq.client.impl.recovery.AutorecoveringChannel.waitForConfirmsOrDie(AutorecoveringChannel.java:533) >> at >> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.publish(RabbitMQMessageSender.java:264) >> ... 31 more >> [XXXX-XX-XX XX:XX:XX,XXX] [EI-Core] INFO - LogMediator To: >> /rabbitmq-inline-api, MessageID: >> urn:uuid:7cd44802-ef75-4cdd-822f-676fcdb6c630, Direction: request, Fault = >> True, ERROR_CODE = 0, ERROR_MESSAGE = Unexpected error during sending >> message out, SENDING_FAULT = null, ERROR_EXCEPTION = , Envelope: <?xml >> version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv=" >> http://www.w3.org/2003/05/soap-envelope >> "><soapenv:Body><inline><value>2</value></inline></soapenv:Body></soapenv:Envelope> >> >> [3] - https://github.com/wso2/wso2-synapse/pull/1159 >> >> Regards, >> Nira >> >> On Sun, Aug 19, 2018 at 7:19 PM Niranjan Karunanandham < >> niranjan.k...@gmail.com> wrote: >> >>> Hi Devs, >>> >>> When publishing to RabbitMQ from WSO2 EI 6.1.1 [1], if the queue size is >>> reached (RabbitMQ Publisher Confirms) then it throws an exception in EI. As >>> per [2], this throws an axis2 exception, but in the fault sequence, the >>> error code is 0 as [3]. Since the error code is not defined, is there a way >>> to differentiate the nacks when publishing messages to queue? >>> >>> [1] - >>> <call> >>> <endpoint name="EP-Queue-Confirm" xmlns=" >>> http://ws.apache.org/ns/synapse"> >>> <address uri="rabbitmq:/AMQPProducer?rabbitmq.server.host.name >>> =localhost&rabbitmq.server.port=5672&rabbitmq.queue.name >>> =Q-SampleEsb&rabbitmq.queue.route.key=R-SampleEsb& >>> rabbitmq.exchange.name=Ex-SampleEsb&*rabbitmq.confirm.delivery=true* >>> "/> >>> </endpoint> >>> </call> >>> >>> [2] - >>> [EI-Core] ERROR - RabbitMQMessageSender Error while publishing the >>> message >>> java.io.IOException: nacks received >>> at >>> com.rabbitmq.client.impl.ChannelN.waitForConfirmsOrDie(ChannelN.java:226) >>> at >>> com.rabbitmq.client.impl.ChannelN.waitForConfirmsOrDie(ChannelN.java:214) >>> at >>> com.rabbitmq.client.impl.recovery.AutorecoveringChannel.waitForConfirmsOrDie(AutorecoveringChannel.java:533) >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.publish(RabbitMQMessageSender.java:274) >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.send(RabbitMQMessageSender.java:81) >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQSender.sendOverAMQP(RabbitMQSender.java:108) >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQSender.sendMessage(RabbitMQSender.java:83) >>> at >>> org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:112) >>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) >>> at >>> org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:297) >>> at >>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) >>> at >>> org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:595) >>> at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:83) >>> at >>> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:548) >>> at >>> org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:382) >>> at >>> org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:65) >>> at >>> org.apache.synapse.endpoints.ResolvingEndpoint.sendMessage(ResolvingEndpoint.java:74) >>> at >>> org.apache.synapse.endpoints.ResolvingEndpoint.send(ResolvingEndpoint.java:58) >>> at >>> org.apache.synapse.mediators.builtin.CallMediator.handleNonBlockingCall(CallMediator.java:246) >>> at >>> org.apache.synapse.mediators.builtin.CallMediator.mediate(CallMediator.java:115) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:97) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:59) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:158) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:214) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:97) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:59) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:158) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:214) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:97) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:59) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:158) >>> at org.apache.synapse.rest.Resource.process(Resource.java:343) >>> at org.apache.synapse.rest.API.process(API.java:399) >>> at >>> org.apache.synapse.rest.RESTRequestHandler.apiProcess(RESTRequestHandler.java:123) >>> at >>> org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:101) >>> at >>> org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:69) >>> at >>> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:304) >>> at >>> org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:78) >>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) >>> at >>> org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:326) >>> at >>> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:158) >>> at >>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >>> at java.lang.Thread.run(Thread.java:745) >>> [EI-Core] ERROR - RabbitMQSender Error occurred while sending message out >>> org.apache.axis2.transport.rabbitmq.utils.AxisRabbitMQException: Error >>> while publishing the message >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.handleException(RabbitMQMessageSender.java:314) >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.publish(RabbitMQMessageSender.java:278) >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.send(RabbitMQMessageSender.java:81) >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQSender.sendOverAMQP(RabbitMQSender.java:108) >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQSender.sendMessage(RabbitMQSender.java:83) >>> at >>> org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:112) >>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) >>> at >>> org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:297) >>> at >>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) >>> at >>> org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:595) >>> at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:83) >>> at >>> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:548) >>> at >>> org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:382) >>> at >>> org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:65) >>> at >>> org.apache.synapse.endpoints.ResolvingEndpoint.sendMessage(ResolvingEndpoint.java:74) >>> at >>> org.apache.synapse.endpoints.ResolvingEndpoint.send(ResolvingEndpoint.java:58) >>> at >>> org.apache.synapse.mediators.builtin.CallMediator.handleNonBlockingCall(CallMediator.java:246) >>> at >>> org.apache.synapse.mediators.builtin.CallMediator.mediate(CallMediator.java:115) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:97) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:59) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:158) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:214) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:97) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:59) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:158) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:214) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:97) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:59) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:158) >>> at org.apache.synapse.rest.Resource.process(Resource.java:343) >>> at org.apache.synapse.rest.API.process(API.java:399) >>> at >>> org.apache.synapse.rest.RESTRequestHandler.apiProcess(RESTRequestHandler.java:123) >>> at >>> org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:101) >>> at >>> org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:69) >>> at >>> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:304) >>> at >>> org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:78) >>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) >>> at >>> org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:326) >>> at >>> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:158) >>> at >>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >>> at java.lang.Thread.run(Thread.java:745) >>> Caused by: java.io.IOException: nacks received >>> at >>> com.rabbitmq.client.impl.ChannelN.waitForConfirmsOrDie(ChannelN.java:226) >>> at >>> com.rabbitmq.client.impl.ChannelN.waitForConfirmsOrDie(ChannelN.java:214) >>> at >>> com.rabbitmq.client.impl.recovery.AutorecoveringChannel.waitForConfirmsOrDie(AutorecoveringChannel.java:533) >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.publish(RabbitMQMessageSender.java:274) >>> ... 41 more >>> [EI-Core] ERROR - Axis2Sender Unexpected error during sending message out >>> org.apache.axis2.AxisFault: Error occurred while sending message out >>> at >>> org.apache.axis2.transport.base.AbstractTransportSender.handleException(AbstractTransportSender.java:226) >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQSender.sendOverAMQP(RabbitMQSender.java:112) >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQSender.sendMessage(RabbitMQSender.java:83) >>> at >>> org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:112) >>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) >>> at >>> org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:297) >>> at >>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) >>> at >>> org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:595) >>> at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:83) >>> at >>> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:548) >>> at >>> org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:382) >>> at >>> org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:65) >>> at >>> org.apache.synapse.endpoints.ResolvingEndpoint.sendMessage(ResolvingEndpoint.java:74) >>> at >>> org.apache.synapse.endpoints.ResolvingEndpoint.send(ResolvingEndpoint.java:58) >>> at >>> org.apache.synapse.mediators.builtin.CallMediator.handleNonBlockingCall(CallMediator.java:246) >>> at >>> org.apache.synapse.mediators.builtin.CallMediator.mediate(CallMediator.java:115) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:97) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:59) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:158) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:214) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:97) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:59) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:158) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:214) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:97) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:59) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:158) >>> at org.apache.synapse.rest.Resource.process(Resource.java:343) >>> at org.apache.synapse.rest.API.process(API.java:399) >>> at >>> org.apache.synapse.rest.RESTRequestHandler.apiProcess(RESTRequestHandler.java:123) >>> at >>> org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:101) >>> at >>> org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:69) >>> at >>> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:304) >>> at >>> org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:78) >>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) >>> at >>> org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:326) >>> at >>> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:158) >>> at >>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >>> at java.lang.Thread.run(Thread.java:745) >>> Caused by: >>> org.apache.axis2.transport.rabbitmq.utils.AxisRabbitMQException: Error >>> while publishing the message >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.handleException(RabbitMQMessageSender.java:314) >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.publish(RabbitMQMessageSender.java:278) >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.send(RabbitMQMessageSender.java:81) >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQSender.sendOverAMQP(RabbitMQSender.java:108) >>> ... 39 more >>> Caused by: java.io.IOException: nacks received >>> at >>> com.rabbitmq.client.impl.ChannelN.waitForConfirmsOrDie(ChannelN.java:226) >>> at >>> com.rabbitmq.client.impl.ChannelN.waitForConfirmsOrDie(ChannelN.java:214) >>> at >>> com.rabbitmq.client.impl.recovery.AutorecoveringChannel.waitForConfirmsOrDie(AutorecoveringChannel.java:533) >>> at >>> org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.publish(RabbitMQMessageSender.java:274) >>> ... 41 more >>> >>> [3] - >>> [EI-Core] INFO - LogMediator To: /rabbitmq-api, MessageID: >>> urn:uuid:a7388de1-6df8-4673-82ee-7faa3d37375b, Direction: request, >>> *ERROR_CODE >>> = 0, ERROR_MESSAGE = Unexpected error during sending message out, >>> SENDING_FAULT = null* >>> >>> Regards, >>> Nira >>> >> >> >> -- >> *Niranjan Karunanandham* >> > > > -- > *Asitha Nanayakkara* <http://asitha.github.io/> > Associate Technical Lead > WSO2, Inc. <http://wso2.com/> > Mob: +94 77 853 0682 > [image: https://wso2.com/signature] <https://wso2.com/signature> > > > -- *Niranjan Karunanandham* * <https://www.linkedin.com/in/niranjan-karunanandham-77b65252/>*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev