Hi All,

I am thinking to have a message source to publish messages to exchange
amq.topic with a routing key like USA.news, thus all client subscribers to
this exchange with routing key USA.news will receive a copy of each message
of USA.news.

Now I would like to have the client subscribers to be able to recover all
published USA.news messages once any of them re-started. How can I achieve
this purpose?

qpid-config command tool has following options:

qpid-config help

Usage:  qpid-config [OPTIONS]
        qpid-config [OPTIONS] exchanges [filter-string]
        qpid-config [OPTIONS] queues    [filter-string]
        qpid-config [OPTIONS] add exchange <type> <name>
[AddExchangeOptions]
        qpid-config [OPTIONS] del exchange <name>
        qpid-config [OPTIONS] add queue <name> [AddQueueOptions]
        qpid-config [OPTIONS] del queue <name> [DelQueueOptions]
        qpid-config [OPTIONS] bind   <exchange-name> <queue-name>
[binding-key]
                  <for type xml>     [-f -|filename]
                  <for type header>  [all|any] k1=v1 [, k2=v2...]
        qpid-config [OPTIONS] unbind <exchange-name> <queue-name>
[binding-key]
        qpid-config [OPTIONS] reload-acl
  
Can I use qpid-config to do following?
1. add a persistent queue "Persistent.USA.news", 
    qpid-config --durable add queue Persistent.USA.news 
2. then bind this queue to exchange amq.topic
    qpid-config bind amq.topic Persistent.USA.news USA.news
3. like ./drain 'Persistent.USA.news; {mode: browse}' to browse all existing
messages for recovery.

and how to ensure messages delivered to queue "Persistent.USA.news" to be
persistent even if qpidd restarted? 

Or is there any other ways to achieve the same? 

Looking forward to your advices!

Thanks a lot!





--
View this message in context: 
http://qpid.2158936.n2.nabble.com/bind-a-persistent-queue-to-an-exchange-tp7602992.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to