Skip to content

JMSTemplate setDeliveryPersistent(boolean deliveryPersistent) javadoc incorrect [SPR-3983] #8663

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)status: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions