[ openjms-Bugs-667590 ] Incorrect default delivery mode
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #667590, was opened at 2003-01-14 14:59
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=667590&group_id=54559
Category: specification
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Oh Jiung (ohju)
Assigned to: Jim Alateras (jalateras)
Summary: Incorrect default delivery mode
Initial Comment:
Default delivery mode is persistent(=2),
and openjms sets it to nonpersistent(=1).
This breaks JORAM tests - testJMSDeliveryMode:
createSender(q).getDeliveryMode() != 1
and testDurableSubscriber:
pubCon = createTopicConnection()
pubSes = pubCon.createTopicSession(false,
AUTO_ACKNOWLEDGE)
pub = pubSes.createPublisher(t)
m = pubSes.createTextMessage("test")
pub.publish(m)
subCon = createTopicConnection()
subSes = subCon.createTopicSession(false,
AUTO_ACKNOWLEDGE)
sub = subSes.createDurableSubscriber(t, "t")
subCon.start()
sub.receive(30000) // should return non-null
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=667590&group_id=54559