You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by LiXiao2007 <Li...@gmail.com> on 2007/02/19 16:53:37 UTC

Do I have to use Spring Framework to configure virtaul topic

The capability of virtuall topic is exact thing I need for my applicaiton.
But I am wondering if I have to use Spring Framework for configuring a
vitual top.  Also could someone point me some examples for the configuration
and use of virtual topic?
Thanks!

-- 
View this message in context: http://www.nabble.com/Do-I-have-to-use-Spring-Framework-to-configure-virtaul-topic-tf3253571s2354.html#a9044469
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Do I have to use Spring Framework to configure virtaul topic

Posted by chutny <mp...@gmail.com>.
Do we have any out of box solutions for virtual destinations selectors in any
of the newest version of ActiveMQ .

greatly appreciate your response .


Thx,
Prem.


James.Strachan wrote:
> 
> On 2/20/07, LiXiao2007 <Li...@gmail.com> wrote:
>> James, Thank you very much for answering my previous question. My next
>> question is whether I can set up filters to virtual topic so the only
>> needed
>> messages are delivered to the physical queues.
> 
> The default out-of-the-box virtual destinations don't have selector
> support. But from Java code you can setup a composite destination with
> filters...
> 
> http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/broker/region/virtual/FilteredDestination.html
> 
> -- 
> 
> James
> -------
> http://radio.weblogs.com/0112098/
> 
> 

-- 
View this message in context: http://www.nabble.com/Do-I-have-to-use-Spring-Framework-to-configure-virtaul-topic-tp9044469p22797085.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Do I have to use Spring Framework to configure virtaul topic

Posted by James Strachan <ja...@gmail.com>.
On 2/20/07, LiXiao2007 <Li...@gmail.com> wrote:
> James, Thank you very much for answering my previous question. My next
> question is whether I can set up filters to virtual topic so the only needed
> messages are delivered to the physical queues.

The default out-of-the-box virtual destinations don't have selector
support. But from Java code you can setup a composite destination with
filters...

http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/broker/region/virtual/FilteredDestination.html

-- 

James
-------
http://radio.weblogs.com/0112098/

Re: Do I have to use Spring Framework to configure virtaul topic

Posted by LiXiao2007 <Li...@gmail.com>.
James, Thank you very much for answering my previous question. My next
question is whether I can set up filters to virtual topic so the only needed
messages are delivered to the physical queues.



James.Strachan wrote:
> 
> On 2/19/07, LiXiao2007 <Li...@gmail.com> wrote:
>>
>>    I read the documentation regarding the virtual topic. I understand the
>> consumers consume the messsages from the phisical queue tied to the
>> virtual
>> topic. But one thing I am still not clear is wheter the consumers
>> subscrible
>> the virutal topic or its phisical queues.
> 
> The consumers subscribe to the queue (which is named by default to be
> similar named to the virtual topic as shown in the documentation).
> i.e. it is a queue for the consumer side, so you get all the usual
> queue benefits (load balancing, failover, concurrent consumption,
> message groups etc)
> 
> -- 
> 
> James
> -------
> http://radio.weblogs.com/0112098/
> 
> 

-- 
View this message in context: http://www.nabble.com/Do-I-have-to-use-Spring-Framework-to-configure-virtaul-topic-tf3253571s2354.html#a9070010
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Do I have to use Spring Framework to configure virtaul topic

Posted by James Strachan <ja...@gmail.com>.
On 2/19/07, LiXiao2007 <Li...@gmail.com> wrote:
>
>    I read the documentation regarding the virtual topic. I understand the
> consumers consume the messsages from the phisical queue tied to the virtual
> topic. But one thing I am still not clear is wheter the consumers subscrible
> the virutal topic or its phisical queues.

The consumers subscribe to the queue (which is named by default to be
similar named to the virtual topic as shown in the documentation).
i.e. it is a queue for the consumer side, so you get all the usual
queue benefits (load balancing, failover, concurrent consumption,
message groups etc)

-- 

James
-------
http://radio.weblogs.com/0112098/

Re: Do I have to use Spring Framework to configure virtaul topic

Posted by LiXiao2007 <Li...@gmail.com>.
   I read the documentation regarding the virtual topic. I understand the
consumers consume the messsages from the phisical queue tied to the virtual
topic. But one thing I am still not clear is wheter the consumers subscrible
the virutal topic or its phisical queues. 
   Thanks!   


James.Strachan wrote:
> 
> On 2/19/07, LiXiao2007 <Li...@gmail.com> wrote:
>>
>> The capability of virtuall topic is exact thing I need for my
>> applicaiton.
>> But I am wondering if I have to use Spring Framework for configuring a
>> vitual top.
> 
> Not at all. You can just use pure Java to configure a broker.
> 
> http://activemq.apache.org/how-do-i-embed-a-broker-inside-a-connection.html
> 
> 
>>  Also could someone point me some examples for the configuration
>> and use of virtual topic?
> 
> http://activemq.apache.org/virtual-destinations.html
> 
> -- 
> 
> James
> -------
> http://radio.weblogs.com/0112098/
> 
> 

-- 
View this message in context: http://www.nabble.com/Do-I-have-to-use-Spring-Framework-to-configure-virtaul-topic-tf3253571s2354.html#a9049576
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Do I have to use Spring Framework to configure virtaul topic

Posted by James Strachan <ja...@gmail.com>.
On 2/19/07, LiXiao2007 <Li...@gmail.com> wrote:
>
> The capability of virtuall topic is exact thing I need for my applicaiton.
> But I am wondering if I have to use Spring Framework for configuring a
> vitual top.

Not at all. You can just use pure Java to configure a broker.

http://activemq.apache.org/how-do-i-embed-a-broker-inside-a-connection.html


>  Also could someone point me some examples for the configuration
> and use of virtual topic?

http://activemq.apache.org/virtual-destinations.html

-- 

James
-------
http://radio.weblogs.com/0112098/