activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Dispatch queue - Consumer(s) (question)
Date Thu, 27 May 2010 10:20:43 GMT
My comments refer to the broker only.

I think the "use of threads" document will enlighten:
http://fusesource.com/wiki/display/ProdInfo/Understanding+the+Threads+Allocated+in+ActiveMQ

On 27 May 2010 11:12, cmoulliard <cmoulliard@gmail.com> wrote:

>
> Thanks Gary,
>
> Additional questions :
>
> 1) Is the thread pool or the shared pool of threads (depending if
> dedicatedTaskRunner is enable or not) of the dispatcher used by the broker
> and consumers or only by the brokers ?
> Is the shared connection dispatcher task =
>
> 2) Can we said for the consumers that shared connection dispatcher task =
> shared pool and destination dispatcher = own thread pool of the dispatcher
> (or do we have two separate mechanisms --> a thread pool used by the broker
> to fill the dispatcher and a connection dispatcher task used by the
> customer
> to read messages from the queues ?
>
> 3) What contains the dispatcher queue (id object of the message, ...) ?
>
> 4) How the client message ACK goes to the broker (through the dispatcher or
> not ) ?
>
> Kind regards,
>
>
>
> Gary Tully wrote:
> >
> > There is a dispatcher per queue/topic but whether that has is own thread
> > pool or uses a shared pool depends on the dedicatedTaskRunner broker
> > property.
> >
> > With consumers, with the default asyncDispatch, the dispatch is handled
> by
> > the shared connection dispatcher task, with asyncDispatch=false, the
> > destination dispatcher does the work.
> >
> > On 27 May 2010 10:36, cmoulliard <cmoulliard@gmail.com> wrote:
> >
> >>
> >> Hi,
> >>
> >> I would like to know :
> >>
> >> 1) if we have one dispatch queue by queue/topic created or a dispatch
> >> queue
> >> is assigned to a group of queues ?
> >> 2) In the case we have several consumers connected to a queue, do they
> >> use
> >> the same the dispatch queue or do we have a dispatch queue created by
> >> consumer ?
> >>
> >> Kind regards,
> >>
> >> Charles
> >>
> >> -----
> >> Charles Moulliard
> >> SOA Architect
> >>
> >> My Blog :  http://cmoulliard.blogspot.com/
> >> http://cmoulliard.blogspot.com/
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Dispatch-queue---Consumer%28s%29-%28question%29-tp28691665p28691665.html
> >> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > http://blog.garytully.com
> >
> > Open Source Integration
> > http://fusesource.com
> >
> >
>
>
> -----
> Charles Moulliard
> SOA Architect
>
> My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/
> --
> View this message in context:
> http://old.nabble.com/Dispatch-queue---Consumer%28s%29-%28question%29-tp28691665p28692018.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message