JMSTemplate setDeliveryPersistent(boolean deliveryPersistent) javadoc incorrect [SPR-3983] #8663
Labels
in: messaging
Issues in messaging modules (jms, messaging)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
Reidar Hörning opened SPR-3983 and commented
The javadoc of the method tells me:
"PERSISTENT" (1) or "NON_PERSISTENT" (2)
Relying on javax.jms.DeliveryMode:
static final int NON_PERSISTENT = 1;
static final int PERSISTENT = 2;
It may be confusing especially while using
JMSTemplate.setDeliveryMode(int deliveryMode)
Correct me if I am wrong.
Thanks,
Reidar
Referenced from: commits 9cc86a3, aa1babd
Backported to: 3.2.7
1 votes, 3 watchers
The text was updated successfully, but these errors were encountered: