qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jun yang <slic...@gmail.com>
Subject Re: how to bind exchange to exchange like bind exchange to queue in the same broker?
Date Sun, 22 May 2011 03:59:32 GMT
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 <rajith77@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 <slickqt@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 <shuston@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-subscribe@qpid.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> Apache Qpid - AMQP Messaging Implementation
>> Project:      http://qpid.apache.org
>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>


Mime
View raw message