Re: How to register consumer with the same name for the different topic
Tim Anderson <[email protected]> Tue, 12 Dec 2006 23:33:33 +1100
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
Hemant Gaur wrote: > > Hi, > For the JMeter tests on the OpenJMS release version , I tried to put > the configuration for 5 topics, 5 Publishers , 5 subscribers. > > There was the error in the jmeter log as the OpenJMS did not allowed > creating the consumer for the same name. > > 2006/12/12 15:49:32 ERROR - org.activemq.sampler.Consumer: Error > running consumer javax.jms.JMSException: Failed to unsubscribe > subscriber org.activemq.sampler.Consumer since is still active > at > org.exolab.jms.server.JmsServerSession.unsubscribe(JmsServerSession.java:881) > at > org.exolab.jms.server.JmsServerSession.createSubscriber(JmsServerSession.java:758) > at > org.exolab.jms.server.mipc.IpcJmsSessionConnection.createSubscriber(IpcJmsSessionConnection.java:588) > at > org.exolab.jms.server.mipc.IpcJmsSessionConnection.notify(IpcJmsSessionConnection.java:165) > at > org.exolab.jms.server.mipc.IpcJmsReceiver.notify(IpcJmsReceiver.java:100) > at > org.exolab.jms.server.mipc.IpcServerChannel.run(IpcServerChannel.java:161) > > > Are there anyworkarounds/configuration settings for this to be > resolved. Publishers are working fine for the 5 topics. > In OpenJMS, subscription names must be unique.You'll need to configure JMeter to use a different subscription name per durable subscriber. -Tim ------------------------------------------------------------------------- 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