You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by sgliu <sh...@sina.com> on 2006/11/14 03:53:45 UTC
createDurableConsumer
In follow function,
createDurableConsumer (const Topic *destination, const std::string &name,
const std::string &selector, bool noLocal=false)
Is username connection's name?What is secector,or what's selector means ?
--
View this message in context: http://www.nabble.com/createDurableConsumer-tf2626921.html#a7330495
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: createDurableConsumer
Posted by James Strachan <ja...@gmail.com>.
The name is the name of the subscription. For more background see here...
http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Session.html#createDurableSubscriber(javax.jms.Topic,%20java.lang.String)
The selector is an optional filter you can apply to message
subscriptions.. Message Selectors are described here...
http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Message.html
On 11/14/06, sgliu <sh...@sina.com> wrote:
>
> In follow function,
> createDurableConsumer (const Topic *destination, const std::string &name,
> const std::string &selector, bool noLocal=false)
> Is username connection's name?What is secector,or what's selector means ?
>
> --
> View this message in context: http://www.nabble.com/createDurableConsumer-tf2626921.html#a7330495
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
--
James
-------
http://radio.weblogs.com/0112098/