activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rakesh sumbria <>
Subject Cannot create a durable subscription for an advisory Topic
Date Fri, 04 Jun 2010 07:46:16 GMT

Please let me know hoe to creat DurableSubscriber using
createDurableSubscriber. I am getting following error.
Cannot create a durable subscription for an advisory Topic
Following is portion og code

connectionFactory = new ActiveMQConnectionFactory(user, password,
           connection = connectionFactory.createConnection();
            connection.setExceptionListener(new AICExceptionListener()); 
             session = connection.createSession(false,
	Topic topic = (Topic) session.createTopic(queue_name);
	consumer = session.createDurableSubscriber(topic, consumerName);
           // consumer = session.createConsumer(dest);
            listener = new TextListener();
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message