You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by snr202 <ra...@hotmail.com> on 2011/05/11 09:36:07 UTC
Wild Cards on Topic Exchange
Hi All,
We are using Topic exchange to send/receive messages in QPid and have run
into some questions on how the wild card works.
1. Can a sender send to wild card topics? As an example, we want the
sender to send to usa.*
2. Can a receiver subject listen on wild card topics such as usa.n*? We
can get the receiver to listen to usa.* but not usa.n* (Match all topics
that have usa.n).
Thanks in advance,
Ravin
--
View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/Wild-Cards-on-Topic-Exchange-tp6350905p6350905.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org
RE: Wild Cards on Topic Exchange
Posted by Steve Huston <sh...@riverace.com>.
Hi Ravin,
> We are using Topic exchange to send/receive messages in QPid
> and have run into some questions on how the wild card works.
>
> 1. Can a sender send to wild card topics? As an example,
> we want the sender to send to usa.*
No - wild cards are for subscribing to the topics, not sending.
> 2. Can a receiver subject listen on wild card topics such as
> usa.n*? We
> can get the receiver to listen to usa.* but not usa.n*
> (Match all topics that have usa.n).
No - the wild cards work on dot-delimited tokens. Please see the
programming guide for more info:
http://qpid.apache.org/books/0.10/Programming-In-Apache-Qpid/html/ch02s0
4.html#id2735610
-Steve
--
Steve Huston, Riverace Corporation
Total Lifecycle Support for Your Networked Applications
http://www.riverace.com
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org