You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Pranavan Theivendiram <pr...@cse.mrt.ac.lk> on 2015/03/06 05:35:10 UTC
[Help][QpidProton]
Hi All,
I have a problem in understanding how exchange bindings are replaced in
AMQP 1.0. Please help me in this issue.
Thanks in advance
T.Pranavan
Undergraduate ('11 Batch),
Department of Computer Science and Engineering,
University of Moratuwa,
Mobile: 0775136836
Re: [Help][QpidProton]
Posted by Pranavan Theivendiram <pr...@cse.mrt.ac.lk>.
Thanks for the prompt reply.
I have more questions. I will message in near feature.
Thanks again for the reply.
T.Pranavan
Undergraduate ('11 Batch),
Department of Computer Science and Engineering,
University of Moratuwa,
Mobile: 0775136836
On 6 March 2015 at 14:07, Fraser Adams <fr...@blueyonder.co.uk>
wrote:
> Hi Pranavan,
> TBH this is a fairly complex issue and really ought to have some decent
> documentation - I'm as guilty as anyone never managing to find the time.
>
> I worked it through in my own mind just over a year ago - pretty much by
> taking a bunch of use-cases that were important to me and kind of spending
> a weekend with spout and drain plus the qpid::messaging source code and
> AMQP 1.0 spec working out what was being set for which circumstance.
>
> I think that one of the real subtleties is that AMQP 0.10 (the protocol)
> specifies things like the different exchange types, whereas AMQP 1.0 only
> specifies how to establish links between AMQP Nodes. The Qpid brokers
> support exchanges, but from the perspective of AMQP 1.0 they are both just
> types of Node. What I discovered basically is all the magic happens in the
> link attach protocol so you tend to specify the "clever stuff" on the
> "link: " part of the Address String.
>
> Another complication I found was that I generally wanted to dynamically
> create queues and to have them created with particular setups, such as
> specific size, name, circular etc. etc. a lot of this isn't readily
> supported by the AMQP 1.0 protocol but Gordon Sim came up with an neat way
> around that limitation by allowing the concept of "Topic" pseudo-nodes
> whereby you can use qpid-config to create a named "Topic" object that has a
> particular configuration for creating its queues and maps to a particular
> exchange, you basically just create a topic object and use that as the Node
> you address.
>
> I posted my findings a while back under a thread called "A write up of
> some AMQP 1.0 Experiments" you might find it by Googling that or "AMQP 1.0
> Address musings" but the link is below which has my write-up attached.
>
> http://mail-archives.apache.org/mod_mbox/qpid-users/
> 201402.mbox/%3C52EEB7A8.3040707@blueyonder.co.uk%3E
>
>
> I'm afraid that it's a long and slightly rambly plain text document, it
> was really just me trying to gather my own thoughts and not tidied up for
> public consumption, but I think that it has the most complete set of
> examples for using Qpid with AMQP 1.0 available and covers some fairly
> advanced use cases (I've got an example with multiple physical subscribers
> to a single shared logical subscription using message selectors and a topic
> exchange with a named circular subscription queue set with a specified
> size).
>
> If you just want examples start at the back, if you want more of the
> journey start from the front :-D
>
> One more thing that write-up was using the C++ broker, I think most of it
> is applicable to the Java broker too, but I don't know if it supports
> things like the "Topic" pseudo Nodes - Rob do you have an answer there?
>
> I hope that this helps.
> Frase
>
>
>
> On 06/03/15 04:35, Pranavan Theivendiram wrote:
>
>> Hi All,
>>
>> I have a problem in understanding how exchange bindings are replaced in
>> AMQP 1.0. Please help me in this issue.
>> Thanks in advance
>> T.Pranavan
>> Undergraduate ('11 Batch),
>> Department of Computer Science and Engineering,
>> University of Moratuwa,
>> Mobile: 0775136836
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
>
Re: [Help][QpidProton]
Posted by Fraser Adams <fr...@blueyonder.co.uk>.
Hi Pranavan,
TBH this is a fairly complex issue and really ought to have some decent
documentation - I'm as guilty as anyone never managing to find the time.
I worked it through in my own mind just over a year ago - pretty much by
taking a bunch of use-cases that were important to me and kind of
spending a weekend with spout and drain plus the qpid::messaging source
code and AMQP 1.0 spec working out what was being set for which
circumstance.
I think that one of the real subtleties is that AMQP 0.10 (the protocol)
specifies things like the different exchange types, whereas AMQP 1.0
only specifies how to establish links between AMQP Nodes. The Qpid
brokers support exchanges, but from the perspective of AMQP 1.0 they are
both just types of Node. What I discovered basically is all the magic
happens in the link attach protocol so you tend to specify the "clever
stuff" on the "link: " part of the Address String.
Another complication I found was that I generally wanted to dynamically
create queues and to have them created with particular setups, such as
specific size, name, circular etc. etc. a lot of this isn't readily
supported by the AMQP 1.0 protocol but Gordon Sim came up with an neat
way around that limitation by allowing the concept of "Topic"
pseudo-nodes whereby you can use qpid-config to create a named "Topic"
object that has a particular configuration for creating its queues and
maps to a particular exchange, you basically just create a topic object
and use that as the Node you address.
I posted my findings a while back under a thread called "A write up of
some AMQP 1.0 Experiments" you might find it by Googling that or "AMQP
1.0 Address musings" but the link is below which has my write-up attached.
http://mail-archives.apache.org/mod_mbox/qpid-users/201402.mbox/%3C52EEB7A8.3040707@blueyonder.co.uk%3E
I'm afraid that it's a long and slightly rambly plain text document, it
was really just me trying to gather my own thoughts and not tidied up
for public consumption, but I think that it has the most complete set of
examples for using Qpid with AMQP 1.0 available and covers some fairly
advanced use cases (I've got an example with multiple physical
subscribers to a single shared logical subscription using message
selectors and a topic exchange with a named circular subscription queue
set with a specified size).
If you just want examples start at the back, if you want more of the
journey start from the front :-D
One more thing that write-up was using the C++ broker, I think most of
it is applicable to the Java broker too, but I don't know if it supports
things like the "Topic" pseudo Nodes - Rob do you have an answer there?
I hope that this helps.
Frase
On 06/03/15 04:35, Pranavan Theivendiram wrote:
> Hi All,
>
> I have a problem in understanding how exchange bindings are replaced in
> AMQP 1.0. Please help me in this issue.
> Thanks in advance
> T.Pranavan
> Undergraduate ('11 Batch),
> Department of Computer Science and Engineering,
> University of Moratuwa,
> Mobile: 0775136836
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org