What you describe can easily be achieved through Topics. Each subscriber can subscribe to a Topic at the level they are interested. Ex
A1 subscriber binds to A1.* A1-1 subscriber binds to A1.1.* The producer application then sends messages with the subject A1, B1, A1.1, B1.2, B2.1 ...etc Please note we use "." to denote the level instead "-". If you have more questions, please free to ask on the list. Regards, Rajith On Fri, May 20, 2011 at 11:30 PM, jun yang <[email protected]> wrote: > like a organization A has department A1,A2,A1 has sub department A1-1,A1-2, > when mesage with subject A1-1 send to A, i want to A1 and A1-1 > subscribers can receive such a message. > any anoter solution to achive that? > > 2011/5/20 Steve Huston <[email protected]>: >>> for example: topic exchange ex-A,ex-A2,ex-A3, i want to bind >>> ex-A->ex-A2(binding-key='A2'), ex-A->ex-A3('binding-key='A3'), is this >>> possible? >> >> No, not as you've described. What are you trying to accomplish? >> >> -Steve >> >> -- >> Steve Huston, Riverace Corporation >> Total Lifecycle Support for Your Networked Applications >> http://www.riverace.com >> >> >> --------------------------------------------------------------------- >> Apache Qpid - AMQP Messaging Implementation >> Project: http://qpid.apache.org >> Use/Interact: mailto:[email protected] >> >> > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] > > --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
