Found issue, Where messages were stuck in the queue, it wont accept and let consume from queue

akg17
akg17 Member Posts: 76

The messages were stuck in the queue, we cant publish anything to it but the problem is the listener is not even consuming them to create space for new messages.

Caused by: com.solacesystems.jcsmp.InvalidOperationException: Tried to perform operation on a closed XML message producer

2022-06-02T15:38:25.309-05:00 [APP/PROC/WEB/1] [OUT] Caused by: com.solacesystems.jcsmp.InvalidOperationException: Tried to perform operation on a closed XML message producer

2022-06-02T15:38:25.311-05:00 [APP/PROC/WEB/1] [OUT] at com.solacesystems.jcsmp.impl.queues.ConditionalBoundedMessageQueue.queueMsgWithIdUpdate(ConditionalBoundedMessageQueue.java:352)

2022-06-02T15:38:25.311-05:00 [APP/PROC/WEB/1] [OUT] at com.solacesystems.jcsmp.impl.PubADManager.enqueueMsgWithIdUpdateWithThrows(PubADManager.java:393)

2022-06-02T15:38:25.315-05:00 [APP/PROC/WEB/1] [OUT] at com.solacesystems.jcsmp.impl.JCSMPXMLMessageProducer.updateAdMsgIDandEnqueueToWindow(JCSMPXMLMessageProducer.java:1362)

2022-06-02T15:38:25.317-05:00 [APP/PROC/WEB/1] [OUT] at com.solacesystems.jcsmp.impl.JCSMPXMLMessageProducer.sendMsgOnce(JCSMPXMLMessageProducer.java:1145)

2022-06-02T15:38:25.319-05:00 [APP/PROC/WEB/1] [OUT] at com.solacesystems.jcsmp.impl.JCSMPXMLMessageProducer.sendImpl(JCSMPXMLMessageProducer.java:1042)

2022-06-02T15:38:25.321-05:00 [APP/PROC/WEB/1] [OUT] at com.solacesystems.jcsmp.impl.JCSMPXMLMessageProducer.sendToDestination(JCSMPXMLMessageProducer.java:853)

2022-06-02T15:38:25.323-05:00 [APP/PROC/WEB/1] [OUT] at com.solacesystems.jcsmp.impl.JCSMPXMLMessageProducer.sendToDestination(JCSMPXMLMessageProducer.java:794)

2022-06-02T15:38:25.325-05:00 [APP/PROC/WEB/1] [OUT] at com.solacesystems.jcsmp.impl.JCSMPXMLMessageProducer.send(JCSMPXMLMessageProducer.java:614)

2022-06-02T15:38:25.325-05:00 [APP/PROC/WEB/1] [OUT] at com.solace.spring.cloud.stream.binder.outbound.JCSMPOutboundMessageHandler.handleMessage(JCSMPOutboundMessageHandler.java:96

Answers

  • amackenzie
    amackenzie Member, Employee Posts: 259 Solace Employee

    If the problem is the listener consumer, could we get some idea on what is configured? The above errors are only about the producer.

  • akg17
    akg17 Member Posts: 76

    Problem is not with consumer and producer, I think once the spool limit quota is reached, It does not accept message, but concern is it's not letting consume also so the space could be created.

  • Tamimi
    Tamimi Member, Administrator, Employee Posts: 488 admin

    Hey @akg17 - do you happen to have any logs from the consumer end? It's vague as to what is happening that is preventing any consumption of messages from the queue