Search code examples
jmsspring-integrationsolacesolace-mq

Not able to send bulk messages to Solace MQ


In my application we are using Solace MQ and use HermesJMS tool to send messages to MQ in the local environment.

When i try to send bulk messages to the MQ I get below mentioned Exception. I use Spring Integration code to consume message from the the Solace

is this exception related to some property in int-jms:message-driven-channel-adapter used from Spring integration or from Solace MQ properties. Please suggest.


Solution

  • The exception means that you are sending too many messages in a single transaction.

    As of right now, Solace supports a maximum of 256 messages in a single transaction. Increasing the maximum is on Solace's feature candidate list, but not committed to a specific release yet.

    For now, the only workaround is to reduce the number of messages in the transaction.