The service pub.jms:sendBatch, allows to publish JMS messages in batches, only if broker is used as a JMS provider in wM version 9.7
We are using UM as the JMS provider and want to achieve the same functionality of publishing JMS messages on a topic in batches.
Is there any built-in/custom service that might help in achieving the same?
Any help in this regard would be highly appreciated.
Thanks & Regards,
In 10.1, pub.jms:sendBatch supports UM in the same way it does with Broker.
If you need this capability in a previous release, you would need to make code changes to repetitively call pub.jms:send
Thank you for your response.
Is there any other way we can achieve this in wM 9.7 without having to iterate over the JMS messages and publish it one at a time?
If you want to keep your subscriber code unchanged, then the only way with 9.7 is to change your publishing code to iterate and publish separately.
If you need the added performance/efficiency a batch publish brings, then you would need to change both publisher and subscriber code to concatenate messages into a single message and then unpack again at the subscriber side.
Of course, you can stay with Broker on 9.7, or upgrade to 10.1.
Thank you for the update Jonathan