Red Hat Training
A Red Hat training course is available for JBoss Enterprise SOA Platform
5.18.8. Lock-Step Delivery Settings
Configure Lock-Step Delivery via the <service>'s <property> settings:
- inVMLockStep
- This is a Boolean value. It controls whether or not Lock-Step Delivery is enabled.
- inVMLockStepTimeout
- This determines the maximum number of milliseconds for which message delivery will be blocked while waiting for a message to be retrieved.
<service category="ServiceCat" name="Service2" description="Test Service"> <property name="inVMLockStep" value="true" /> <property name="inVMLockStepTimeout" value="4000" /> <actions mep="RequestResponse"> <action name="action" class="org.jboss.soa.esb.mock.MockAction" /> </actions> </service>
Note
If you are using InVM within the scope of a transaction, lock-step delivery is disabled. This is because the insertion of a message in to the queue is contingent on the commit of the enclosing transaction, which may occur an arbitrary time before or after the expected lock-step wait period.