Thanks for the information. As per the JMS documentation , Sessions with durable subscriptions, should specify a Client Identifier I am using Java 1.5 and Tomcat 5.5.20 . Where should I specify the client identifier ? Is it in conf/context.xml of Tomcat Or in webappname/META-INF/context.xml , of the web application context. I have two web applications running , which would be exchanging messages via JMS. Is there any format for specifying it.
Please let me know. Thank you, Suchitha. -----Original Message----- From: James Strachan [mailto:[EMAIL PROTECTED] Sent: Friday, February 02, 2007 4:12 AM To: users@activemq.apache.org Subject: Re: durable subscriptions On 2/2/07, Suchitha Koneru (sukoneru) <[EMAIL PROTECTED]> wrote: > Hello activemq users , > In my project we'll be using durable subscriptions. Is > there any example or code sample which explains the usage of durable > subscriptions using active mq ? There's no real difference with durable subscriptions other than you use a different method call in JMS http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Session.html#createDurab leSubscriber(javax.jms.Topic,%20java.lang.String) see the javadoc comments for more details -- James ------- http://radio.weblogs.com/0112098/