[ 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 05:59
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=667590&group_id=54559

Category: specification
Group: None
>Status: Closed
>Resolution: Fixed
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


----------------------------------------------------------------------

>Comment By: Tim Anderson (tanderson)
Date: 2003-01-14 12:54

Message:
Logged In: YES 
user_id=557161

Fixed in CVS. Will be available in the 0.7.4 release.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=667590&group_id=54559
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.