activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: How many destinations can one subscription have?
Date Mon, 21 Apr 2008 06:21:20 GMT

On 21 Apr 2008, at 03:34, chicagoclimber wrote:

>
> Hi,
>
> I've been looking through the code trying to understand the overall
> architecture of the application --- and I came across something that  
> seems
> somewhat inconsistent.
>
> From what I understand, one subscription
> (org.apache.activemq.broker.region.AbstractSubscription) can be  
> added to
> multiple physical destinations
> (org.apache.activemq.broker.region.Destination) by using wildcards  
> in the
> name of the destination  
> (org.apache.activemq.command.ActiveMQDestination).
> When new consumer is added (AbstractRegion.addConsumer()), the same
> subscription object is added to multiple matching destinations. Now,  
> in
> r635682, rajdavies added destination property to  
> AbstractSubscription. This
> destination is the physical destination, not ActiveMQDestination. This
> doesn't seem to make sense ... at least not to me. Can someone  
> explain this?
>
> Thanks!
> -sergey
> -- 
> View this message in context: http://www.nabble.com/How-many-destinations-can-one-subscription-have--tp16801738s2354p16801738.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>

Hi sergey,

that is inconsistent - the destination property is only used for  
Queues that are using lazy dispatch -  will re-factor that bit!


cheers,

Rob

http://open.iona.com/ -Enterprise Open Integration
http://rajdavies.blogspot.com/




Mime
View raw message