Solace Community is getting a facelift!

On March 3rd we will be starting the process of migrating Solace Community to a new platform. As a result, Solace Community will go in to a temporary read-only state. You will still be able to come onto Solace Community and search through posts to find answers, but you won't be able to ask questions, post comments, or react in any way.

We hope to have the migration complete by Wednesday March 5th (or sooner), so please keep an eye out!

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: 270 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: 549 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

This Month's Leaders

This Week's Leaders