Skip to content

Instantly share code, notes, and snippets.

@MatthewDavidCampbell
Created March 19, 2018 20:45
Show Gist options
  • Save MatthewDavidCampbell/4d69fe57bf88b44db3b48b292166d442 to your computer and use it in GitHub Desktop.
Save MatthewDavidCampbell/4d69fe57bf88b44db3b48b292166d442 to your computer and use it in GitHub Desktop.
ServiceBusException on abandon message
aXBzdG9yYWdlZm9yYnVzLmJsb2IuY29yZS53aW5kb3dzLm5ldC9tcS1hZGFwdGVyLXBhcGluZXQtZGVsaXZlcnkvdHJhZGluZ2NvbnRyYWN0LzI4ZWIwNTBmLWM3OTEtNDYzZC04MmM4LTdhYTkzNGRlMTAwZj9zdj0yMDE3LTA0LTE3JnNyPWImc2lnPWZvVjU0d09uT2MxdyUyQjdFMEY3aVE1TktRdTVSenppSXNHbjdaaGdoTW5uZyUzRCZzdD0yMDE4LTAzLTE5VDExJTNBMDMlM0EzM1omc2U9MjAxOC0wNC0xOFQxMSUzQTA4JTNBMzNaJnNwPXJ
In0="}] {"resourceId":"7e94d020-c57e-45f1-b06f-1716ba3d7509","correlationId":"18246a58-418e-4e69-b51e-fa196e28ac87","callerId":"Tradingcontract"}
2018-03-19 16:43:14,615 ERROR [ForkJoinPool.commonPool-worker-3] sdc.ip.adapters.mq.messaging.DeliverCommandMessageReceiver[109]: No queue name defined in deliver command {"resourceId":"7e94d020-c57e-45f1-b06f-1716ba3d7509","correlationId":"18246a58-418e-4e69-b51e-fa196e28ac87","callerId":"Tradingcontract"}
2018-03-19 16:43:14,615 DEBUG [ForkJoinPool.commonPool-worker-3] sdc.ip.framework.spring.abstractions.internal.ApplicationContextActivator[168]: Application context disposed
2018-03-19 16:43:14,616 ERROR [ForkJoinPool.commonPool-worker-3] com.microsoft.azure.servicebus.MessageAndSessionPump[141]: Invocation of onMessage with message containing sequence number '27303072740933633' threw unexpected exception
sdc.ip.framework.spring.exceptions.UserException: No queue name defined in deliver command
at sdc.ip.adapters.mq.messaging.DeliverCommandMessageReceiver.asDeliverCommand(DeliverCommandMessageReceiver.java:111)
at sdc.ip.adapters.mq.messaging.DeliverCommandMessageReceiver.receive(DeliverCommandMessageReceiver.java:76)
at sdc.ip.framework.spring.messaging.MessageHandlerFactory.receive(MessageHandlerFactory.java:107)
at sdc.ip.framework.spring.messaging.MessageHandlerFactory$1.onMessageAsync(MessageHandlerFactory.java:56)
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:139)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:930)
at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:907)
at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:283)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.localPopAndExec(ForkJoinPool.java:950)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1607)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
2018-03-19 16:43:14,617 ERROR [ForkJoinPool.commonPool-worker-3] com.microsoft.azure.servicebus.MessageAndSessionPump[155]: onMessage with message containing sequence number '27303072740933633' threw exception
sdc.ip.framework.spring.exceptions.UserException: No queue name defined in deliver command
at sdc.ip.adapters.mq.messaging.DeliverCommandMessageReceiver.asDeliverCommand(DeliverCommandMessageReceiver.java:111)
at sdc.ip.adapters.mq.messaging.DeliverCommandMessageReceiver.receive(DeliverCommandMessageReceiver.java:76)
at sdc.ip.framework.spring.messaging.MessageHandlerFactory.receive(MessageHandlerFactory.java:107)
at sdc.ip.framework.spring.messaging.MessageHandlerFactory$1.onMessageAsync(MessageHandlerFactory.java:56)
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:139)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:930)
at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:907)
at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:283)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.localPopAndExec(ForkJoinPool.java:950)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1607)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
2018-03-19 16:43:14,618 ERROR [ForkJoinPool.commonPool-worker-3] sdc.ip.framework.spring.messaging.MessageHandlerFactory[63]: Message handler error during phase USERCALLBACK: No queue name defined in deliver command
AI: INFO 19-03-2018 16:43, 1: Activated Insights logging through logback
2018-03-19 16:43:14,656 INFO [main] sdc.ip.framework.spring.logging.TelemetryApplicationListener[84]: Telemetry enabled
2018-03-19 16:43:14,698 INFO [main] sdc.ip.adapters.mq.Program[57]: Started Program in 15.883 seconds (JVM running for 16.625)
2018-03-19 16:43:14,765 ERROR [ForkJoinPool.commonPool-worker-2] com.microsoft.azure.servicebus.MessageAndSessionPump[191]: Abandoning message with sequence number '27303072740933633' failed
com.microsoft.azure.servicebus.primitives.ServiceBusException: Error{condition=null, description='null', info=null}, errorContext[NS: sdc-utv-ip-internal-sbns.servicebus.windows.net, PATH: mq-adapter-deliver-command, REFERENCE_ID: 2545926422c4434a81bf258886581bef_G9, PREFETCH_COUNT: 0, LINK_CREDIT: 0, PREFETCH_Q_LEN: 0]
at com.microsoft.azure.servicebus.primitives.ExceptionUtil.toException(ExceptionUtil.java:113)
at com.microsoft.azure.servicebus.primitives.CoreMessageReceiver.onError(CoreMessageReceiver.java:764)
at com.microsoft.azure.servicebus.primitives.CoreMessageReceiver.onClose(CoreMessageReceiver.java:939)
at com.microsoft.azure.servicebus.amqp.BaseLinkHandler.processOnClose(BaseLinkHandler.java:68)
at com.microsoft.azure.servicebus.amqp.BaseLinkHandler.onLinkRemoteClose(BaseLinkHandler.java:42)
at org.apache.qpid.proton.engine.BaseHandler.handle(BaseHandler.java:176)
at org.apache.qpid.proton.engine.impl.EventImpl.dispatch(EventImpl.java:108)
at org.apache.qpid.proton.reactor.impl.ReactorImpl.dispatch(ReactorImpl.java:309)
at org.apache.qpid.proton.reactor.impl.ReactorImpl.process(ReactorImpl.java:276)
at com.microsoft.azure.servicebus.primitives.MessagingFactory$RunReactor.run(MessagingFactory.java:448)
at java.base/java.lang.Thread.run(Thread.java:844)
2018-03-19 16:43:14,770 ERROR [ForkJoinPool.commonPool-worker-2] sdc.ip.framework.spring.messaging.MessageHandlerFactory[63]: Message handler error during phase ABANDON: Error{condition=null, description='null', info=null}, errorContext[NS: sdc-utv-ip-internal-sbns.servicebus.windows.net, PATH: mq-adapter-deliver-command, REFERENCE_I
: 2545926422c4434a81bf258886581bef_G9, PREFETCH_COUNT: 0, LINK_CREDIT: 0, PREFETCH_Q_LEN: 0]
2018-03-19 16:43:15,197 INFO [Thread-0] org.springframework.context.annotation.AnnotationConfigApplicationContext[989]: Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@58ce9668: startup date [Mon Mar 19 16:43:11 CET 2018]; root of context hierarchy
AI: INFO 19-03-2018 16:43, 53: Flushing Telemetry appender...
AI: INFO 19-03-2018 16:43, 53: Telemetry disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment