JMS Batch Processing in BPM

What product/components do you use and which version/fix level are you on?

webMethods Integration Server - 10.3.0.0
IS_10.3_SPM_Fix10
IS_10.3_Core_Fix24
PRT_10.3_Fix12
Universal Messaging

Is your question related to the free trial, or to a production (customer) instance?

customer instance

What are you trying to achieve? Please describe it in detail.

JMS Batching (Max batch messages property in JMS Trigger) in JMS-based BPM subscription trigger

The objective is to get multiple submissions into a single BPM instance with JMS Batching to fulfil one of the business requirement
The expectation is to use pub.jms:batchTriggerSpec in the JMS Based BPM subscription service to read batched messages and process them accordingly instead of using document spec at the JMS Based BPM subscription trigger

Do you get any error messages? Please provide a full error message screenshot and log file.

The BPM subscription trigger is not getting invoked due to the below error
Default:subscriptionTrigger failed: com.wm.app.b2b.server.ServiceException: [Lcom.wm.data.IData; cannot be cast to com.wm.data.IData
Verified the BPM subscription trigger invocation with savePipeline and debugLog at the very first step in the BPM process - under generated service of start message step

Have you installed all the latest fixes for the products and systems you are using?

It might not be on the latest fixes

Hi,

Please try using the standard JMS trigger and receive a batch of messages, if that works, we will discuss more on this usecase.

Thanks

Hi Malik,

Yes, JMS batching at a standalone trigger works.
I was looking for the same behaviour at the JMS-based BPM subscription trigger directly

As an alternative, we can have this standalone JMS trigger with batching in front of the JMS-based BPM subscription trigger and convert batched messages into a sub-array for the BPM subscription
But wondering if we can avoid this additional standalone JMS trigger

Hi Punith,

I had a discussion with our BPM expert and seems like this feature is currently not offered by BPM.

Thanks