[openamq-dev] Threadsafe channels?

Birju Prajapati Birju.Prajapati at schneidertrading.com
Thu Sep 27 16:43:09 CEST 2007


No probs,

http://www.openamq.org/doc_wireapi.txt_flat.html#TOC20

Second block is missing a timeout in the 'wait'

Shall I PM you if I find others? 

-----Original Message-----
From: openamq-dev-bounces at lists.openamq.org
[mailto:openamq-dev-bounces at lists.openamq.org] On Behalf Of Martin
Sustrik
Sent: 27 September 2007 15:13
To: OpenAMQ development discussion
Subject: Re: [openamq-dev] Threadsafe channels?

Birju,

Thanks for the review :) We'll fix the typos shortly.

Martin

Birju Prajapati wrote:
> Many thanks for the clearup :)
> 
> Couple of other typos:
> ASL Field Table Classes in
> http://www.openamq.net/doc_wireapi.txt_flat.html#TOC29
> Is missing a pointer symbol before field_table in the first bit of
code.
> 
> Another in http://www.openamq.org/doc_wireapi.txt_flat.html#TOC16
> Content Access Methods
> For each content class (Basic, File, Stream), WireAPI provides a set 
> of methods to access arrived and returned content:
> amq_client_session_[classname]_[arrived|returned] () 
> amq_client_session_[classname]_[arrived|returned]_count ()
> 
> The latter should be
> amq_client_session_get_[classname]_[arrived|returned]_count ()
> 
> HTH
> Birju
> 
> -----Original Message-----
> From: openamq-dev-bounces at lists.openamq.org
> [mailto:openamq-dev-bounces at lists.openamq.org] On Behalf Of Pieter 
> Hintjens
> Sent: 25 September 2007 17:50
> To: OpenAMQ development discussion
> Subject: Re: [openamq-dev] Threadsafe channels?
> 
> On 9/25/07, Birju Prajapati <birju.prajapati at schneidertrading.com>
> wrote:
> 
>> "AMQP is a multi-channel protocol, meaning that one network 
>> connection
> can carry an arbitrary number of parallel, independent virtual 
> connections, which AMQP calls "channels". In WireAPI these are called 
> "sessions" for compatability with other middleware APIs. NOTE: OpenAMQ

> supports exactly ONE session per connection."
> 
> The protocol allows multiplexing, but OpenAMQ does not (any longer) 
> support it.  We used to but it made the protocol machines quite
complex.
> No-one used that code, and in performance tests it was no better than 
> one channel per connection.  So we killed it.  AMQP is over-designed 
> in this respect.
> 
>> Do you mean to say that the spec allows multiple channels, but the
> WireAPI only allows one?
> 
> Yes, indeed.
> 
> -Pieter
> _______________________________________________
> openamq-dev mailing list
> openamq-dev at lists.openamq.org
> http://lists.openamq.org/mailman/listinfo/openamq-dev
>  
> 
>  
> Schneider Trading
> 4th Floor,
> 25 Copthall Avenue
> London EC2R 7BP
> 
> --------------------------------------------------------
> 
> 
> 
> Message from: Birju.Prajapati at schneidertrading.com
> Message to: openamq-dev at lists.openamq.org Attached files: 0 This 
> e-mail and any files transmitted with it are confidential, may be
legally privileged, and are for the sole use of the intended recipient.
Copyright in this e-mail and any accompanying document created by us is
owned by us. If you are not the intended recipient of this e-mail or any
part of it please telephone our IT Department at the number shown above
or by e-mail at info at schneidertrading.com.
> You should not use or disclose to any other person the contents of
this e-mail or its attachments (if any), nor take copies. This e-mail is
not a representation or warranty and is not intended nor should it be
taken to create any legal relations, contractual or otherwise.
> Schneider Trading Associates Ltd (Registration No. 3692131) is 
> incorporated in England and Wales and the registered office is at 25 
> Copthall Avenue, London EC2R 7BP. The company is authorised and 
> regulated by the Financial Services Authority 
> _______________________________________________
> openamq-dev mailing list
> openamq-dev at lists.openamq.org
> http://lists.openamq.org/mailman/listinfo/openamq-dev

_______________________________________________
openamq-dev mailing list
openamq-dev at lists.openamq.org
http://lists.openamq.org/mailman/listinfo/openamq-dev
 

 
Schneider Trading
4th Floor,
25 Copthall Avenue
London EC2R 7BP

--------------------------------------------------------



Message from: Birju.Prajapati at schneidertrading.com
Message to: openamq-dev at lists.openamq.org
Attached files: 0
This e-mail and any files transmitted with it are confidential, may be legally privileged, and are for the sole use of the intended recipient. Copyright in this e-mail and any accompanying document created by us is owned by us. If you are not the intended recipient of this e-mail or any part of it please telephone our IT Department at the number shown above or by e-mail at info at schneidertrading.com. 
You should not use or disclose to any other person the contents of this e-mail or its attachments (if any), nor take copies. This e-mail is not a representation or warranty and is not intended nor should it be taken to create any legal relations, contractual or otherwise.
Schneider Trading Associates Ltd (Registration No. 3692131) is incorporated in England and Wales and the registered office is at 25 Copthall Avenue, London EC2R 7BP. The company is authorised and regulated by the Financial Services Authority


More information about the openamq-dev mailing list