activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wheels <marco.lapon...@gmail.com>
Subject Re: blocking on multiple topics
Date Wed, 14 Nov 2012 07:37:35 GMT
Considered that option, but in that case the consumer would also receive
messages for topics C,D,E which he was not interested in. So I was
wondering if there was a way to prevent that.

Kind regards,
Marc

2012/11/14 kimmking [via ActiveMQ] <
ml-node+s2283324n4659300h23@n4.nabble.com>

>
> 1  consumer, many topics ?
> why not use 1 topics and a different selector in every consumer to
> separate its  interested message?
>
>
>  *From:* [hidden email]<http://user/SendEmail.jtp?type=node&node=4659300&i=0>
> *Date:* 2012-11-14 15:09
> *To:* [hidden email]<http://user/SendEmail.jtp?type=node&node=4659300&i=1>
> *Subject:* blocking on multiple topics
>  Hi,
>
> I am an JMS/ActiveMQ newbi so please be patient.
>
> I have the following situation, I have one or more consumers interested in
> a topic, so far so good, if I understand correctly I can do this with the
> publish/subscribe context and each client receives each published message.
> And as I understand the client blocks until a new message is published.
>
> But what I really need is to allow consumers to be interested in multiple
> topics, so we have topic A and B (completely different topics) and I want
> to block a consumer until a message is posted to A and B.
>
> Note that it possible that we have also topcis C,D,E but the consumer (or
> at least some of them) are not interested in those topics.
>
> What is the most efficient way to have a consumer block until a message is
> published to the topics the consumer is interested in (but not be notified
> of messages of other topics he is not interested in)
>
> Regards,
> Marc
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://activemq.2283324.n4.nabble.com/blocking-on-multiple-topics-tp4659299.html
> To unsubscribe from ActiveMQ - User, click here.
> NAML<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://activemq.2283324.n4.nabble.com/blocking-on-multiple-topics-tp4659299p4659300.html
>  To unsubscribe from blocking on multiple topics, click here<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4659299&code=bWFyY28ubGFwb25kZXJAZ21haWwuY29tfDQ2NTkyOTl8LTEwMTU2NjMyODA=>
> .
> NAML<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://activemq.2283324.n4.nabble.com/blocking-on-multiple-topics-tp4659299p4659301.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message