-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 5.0.2
-
Component/s: 3rd Party
-
Labels:None
-
Workaround:Workaround Exists
-
Workaround Description:
-
Release Notes Text:
-
Release Notes Docs Status:Documented as Resolved Issue
Smooks' JMS Router configures message persistence incorrectly. The documentation suggests the following configuration will result in persistent messages to the ESB:
<jms:router routeOnElement="student" beanId="studentFragment" destination="queue/StudentRecordQueue">
<jms:message deliveryMode="persistent"/>
</jms:router>
Instead, this leads to non-persistent messages. This is due to a bug in org.milyn.routing.jms.JMSRouter:
final int deliveryModeInt = "non-persistent".equals( jmsProperties.getDeliveryMode() ) ? DeliveryMode.PERSISTENT : DeliveryMode.NON_PERSISTENT;
This should instead be the inverse:
final int deliveryModeInt = "non-persistent".equals( jmsProperties.getDeliveryMode() ) ? DeliveryMode.NON_PERSISTENT : DeliveryMode.PERSISTENT;
This is a particularly major bug because the work around will cause incorrect functionality in future versions of the ESB, which will hopefully fix the issue with a patched version of Smooks' JMS Cartridge.
- relates to
-
JBESB-3648 Router in Smooks Creates Inverse Persistence
-
- Resolved
-