0
votes

We want to process all messages from JMS MQ(inbound) as a group at once in Mule 4. To achieve this functionality in Mule 3, we are using custom java classes and service-overrides in the JMS connector. How to achieve the same functionality in Mule 4.

Mule 3 : Code snippet.
<jms:connector name="jmsGroupsConnector" specification="1.1" 
        validateConnections="true" connectionFactory-ref="MQFactoryGroup" 
        doc:name="JMS" createMultipleTransactedReceivers="false" 
        numberOfConcurrentTransactedReceivers="1"> 
        <service-overrides 
            transactedMessageReceiver="com.XXX" 
            messageFactory="com.XXX"
            messageReceiver="com.XXX" /> 
</jms:connector>
1

1 Answers

0
votes

There are no service overrides in Mule 4. You would need to share exactly what your custom code does to see if it is there is an equivalent feature in Mule 4. If it is just to aggregate messages you may find the aggregators module useful to implement this without the need for custom code.