thanks for the answer.
but the solution require the subscriber know too much of message detail.
since my poor english,i am sorry that i don't express the meaning
clearly, i do try again with the picture.
in the picture,consumer-A22 just subscribe to exchange-A22,normally,it
will comsue all message that send to exchange-A22,need not know what
the subject of message is.
it is like federation of two broker somehow,the qpid-route has almost
the same concept implementation,but it is not for use in the same
broker,it impose the two exchange linked must have the same name, and
there is no api in client for doing such things.

2011/5/21 Rajith Attapattu <rajit...@gmail.com>:
> 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 <slic...@gmail.com> 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 <shus...@riverace.com>:
>>>> 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:users-subscr...@qpid.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> Apache Qpid - AMQP Messaging Implementation
>> Project:      http://qpid.apache.org
>> Use/Interact: mailto:users-subscr...@qpid.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscr...@qpid.apache.org
>
>

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscr...@qpid.apache.org

Reply via email to