exception - Mule Quartz endpoint not commiting transaction -
i have quartz scheduler configured shown below.
<quartz:inbound-endpoint jobname="retryjob" repeatinterval="5000" cronexpression="0 0/1 * * * ?"> <quartz:endpoint-polling-job> <quartz:job-endpoint ref="retryqueue"/> </quartz:endpoint-polling-job> </quartz:inbound-endpoint> <flow-ref name="callmysubflow" /> <choice-exception-strategy> <catch-exception-strategy when="groovy:message.getinvocationproperty('next') == 'done'"> <logger level="info" message="done"/> </catch-exception-strategy> <rollback-exception-strategy> <on-redelivery-attempts-exceeded> <logger level="info" message="redelivery exceeded. done retries."/> </on-redelivery-attempts-exceeded> </rollback-exception-strategy> </choice-exception-strategy> <jms:connector name="queueconnectoru" connectionfactory-ref="mqconnectionfactoryu" specification="1.1" username="me" password="p" numberofconsumers="5" maxredelivery="3"/> <jms:endpoint name="retryqueue" queue="retryq" connector-ref="queueconnectoru"> <ee:multi-transaction action="always_begin" /> </jms:endpoint>
i have intentional service not found exception in subflow , expect message retried 3 times , commited, message never removed queue...infinite loop.
is there wrong configuration?
Comments
Post a Comment