Re: OpenJMS alpha and JMeter
"Hemant Gaur" <[email protected]> 7 Dec 2006 05:59:08 -0000
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
For resolving the openJMS alpha and JMeter compatibility error I
downloaded alpha source and build it locally using maven.
Debugging showed the error "Mismatched destination properties" coming
from the OpenJMS alpha server is because the class
org.exolab.jms.messagemgr.ConsumerManagerImpl.getDestination checks the
incoming topic type to be persistent.
if (existing.getPersistent() != destination.getPersistent()) { throw
exception }
Now these existing and incoming topics(existing and destination) are
the objects of JMSTopic whose super class JmsDestination has the member
variable _persistent defaulted to false.
1.) I changed this to true and recompiled and plugged the
openjms-0.7.7-alpha-3.jar into setup.
JMeter tests were able to publish and subscribe the messages but after
publishing nearly 800 messages the OpenJMS stops responding. No error is
in the JMeter or JMS logs.
2.) Just to be sure that I have not broken any logical flow, I reverted
the above change and put the call for setting the Topic to persistent
(topic.setPersistent(true)) in the consumer subscription request only
(RemoteServerSession.createDurableConsumer()).This also had the same
fate after nearly 1000 messages published and subscribed.
3.) Also just commenting the check for the persistent in the original
exception location had the same results.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
openjms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openjms-user
(unnamed)
(message/rfc822, 4 KB) - not displayed