You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Timothy Chen <ti...@evri.com> on 2010/07/13 23:37:13 UTC
Create durable queue from Java JMS Client
Hi all,
I wonder how do I programmatically create a durable queue using Java JMS
Client for Qpid?
So far I can create a queue like this:
connection = connectionFactory.createConnection();
connection.start();
session = connection.createSession(true,
Session.CLIENT_ACKNOWLEDGE);
Destination destination = session.createQueue(_queueName);
But it's deleted after I restart the server.
Thanks!
Tim
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org