RE: Durable consumers and http connection
"Tim Anderson" <[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <003101c51e59$b578c280$0100000a@xerces> |
See inline. > -----Original Message----- > From: Felipe Palma Dias > Sent: Saturday, 26 February 2005 1:12 AM > > I am trying to use durable consumers under http. I am > using http connectors. I use this consumers type to > check if my client is connected. I am using the API > JmsAdminServerIfc.isConnected(name) to check the > client availability. After some seconds this method > returns false, but my client is connected. You mean you have a consumer created using TopicSession.createDurableSubscriber(topic, name)? > > This is a bug of the http connectors? Not that I know of. Try connecting using the tcp connector, and see if you get the same result. > > This is the better way to check the client > availability? What do you suggest? If you try and create a durable subscription which is already active, an JMSException will be thrown. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click