You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by MqUser <pm...@sonic.net> on 2007/01/13 17:24:23 UTC
Topics and subtopics - Newbie
Let us say a producer is a logger logging status information.
I want one topic to be errors and the other to be success.
Does not indicate that with:
XYZproject.Success
XYZproject.Errors
or
XYZproject/Success
XYZproject/Errors
and how does one querry this.
In xmlblaster the try can be queried via xpath for instance.
I have only seen JNDI examples.
--
View this message in context: http://www.nabble.com/Topics-and-subtopics---Newbie-tf2971683.html#a8315511
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Topics and subtopics - Newbie
Posted by James Strachan <ja...@gmail.com>.
I'd start here...
http://incubator.apache.org/activemq/how-do-i-get-started-with-jms.html
On 1/17/07, MqUser <pm...@sonic.net> wrote:
>
>
> Understood.
>
> Now, to do this correctly, to architect it, where would I get a good
> tutorial, or examples.
>
> There are so many different ways I can think of creating a tree of topics.
>
> I just need to know what is standard.
>
> I could have have system being monitored and the selector selecting
> via"like" statements
>
> MainSystem.xyzSystem.errors
> MainSystem.xyzSystem.statusMessages
> MainSystem.xyzSystem.restartMessages
>
> and selecting with "like" statements in the selector.
>
>
>
>
> James.Strachan wrote:
> >
> > On 1/15/07, MqUser <pm...@sonic.net> wrote:
> >>
> >>
> >>
> >> But I thought that the publish subscribe system was to enable one to
> >> subscribe to what they wanted and not other messages, thus necessitating
> >> querrying.
> >
> > Yes it does. With messaging systems, you don't 'query' you 'subscribe'
> > to what you want.
> >
> >> And SQL 98?
> >
> > SQL is used for the selectors (filters) used on subscriptions. So you
> > never 'query' a message bus, you subscribe to a stream of messages
> > which can be filtered using selectors.
> >
> > --
> >
> > James
> > -------
> > http://radio.weblogs.com/0112098/
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Topics-and-subtopics---Newbie-tf2971683.html#a8402756
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
--
James
-------
http://radio.weblogs.com/0112098/
Re: Topics and subtopics - Newbie
Posted by MqUser <pm...@sonic.net>.
Understood.
Now, to do this correctly, to architect it, where would I get a good
tutorial, or examples.
There are so many different ways I can think of creating a tree of topics.
I just need to know what is standard.
I could have have system being monitored and the selector selecting
via"like" statements
MainSystem.xyzSystem.errors
MainSystem.xyzSystem.statusMessages
MainSystem.xyzSystem.restartMessages
and selecting with "like" statements in the selector.
James.Strachan wrote:
>
> On 1/15/07, MqUser <pm...@sonic.net> wrote:
>>
>>
>>
>> But I thought that the publish subscribe system was to enable one to
>> subscribe to what they wanted and not other messages, thus necessitating
>> querrying.
>
> Yes it does. With messaging systems, you don't 'query' you 'subscribe'
> to what you want.
>
>> And SQL 98?
>
> SQL is used for the selectors (filters) used on subscriptions. So you
> never 'query' a message bus, you subscribe to a stream of messages
> which can be filtered using selectors.
>
> --
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
>
--
View this message in context: http://www.nabble.com/Topics-and-subtopics---Newbie-tf2971683.html#a8402756
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Topics and subtopics - Newbie
Posted by James Strachan <ja...@gmail.com>.
On 1/15/07, MqUser <pm...@sonic.net> wrote:
>
>
>
> But I thought that the publish subscribe system was to enable one to
> subscribe to what they wanted and not other messages, thus necessitating
> querrying.
Yes it does. With messaging systems, you don't 'query' you 'subscribe'
to what you want.
> And SQL 98?
SQL is used for the selectors (filters) used on subscriptions. So you
never 'query' a message bus, you subscribe to a stream of messages
which can be filtered using selectors.
--
James
-------
http://radio.weblogs.com/0112098/
Re: Topics and subtopics - Newbie
Posted by MqUser <pm...@sonic.net>.
But I thought that the publish subscribe system was to enable one to
subscribe to what they wanted and not other messages, thus necessitating
querrying.
Where does the message bus concept fit in then?
And SQL 98?
James.Strachan wrote:
>
> Messaging/MOM and JMS isn't designed for querying; thats a database
> type thing - its designed for streaming. You can use selectors to
> filter streams (but this is different to querying)
>
> However you can browse pending queues using QueueBrowsers in JMS but
> this is quite different to querying.
>
> On 1/13/07, MqUser <pm...@sonic.net> wrote:
>>
>> Let us say a producer is a logger logging status information.
>> I want one topic to be errors and the other to be success.
>>
>> Does not indicate that with:
>> XYZproject.Success
>> XYZproject.Errors
>> or
>>
>> XYZproject/Success
>> XYZproject/Errors
>>
>> and how does one querry this.
>>
>> In xmlblaster the try can be queried via xpath for instance.
>> I have only seen JNDI examples.
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Topics-and-subtopics---Newbie-tf2971683.html#a8315511
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
>
--
View this message in context: http://www.nabble.com/Topics-and-subtopics---Newbie-tf2971683.html#a8380794
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Topics and subtopics - Newbie
Posted by James Strachan <ja...@gmail.com>.
Messaging/MOM and JMS isn't designed for querying; thats a database
type thing - its designed for streaming. You can use selectors to
filter streams (but this is different to querying)
However you can browse pending queues using QueueBrowsers in JMS but
this is quite different to querying.
On 1/13/07, MqUser <pm...@sonic.net> wrote:
>
> Let us say a producer is a logger logging status information.
> I want one topic to be errors and the other to be success.
>
> Does not indicate that with:
> XYZproject.Success
> XYZproject.Errors
> or
>
> XYZproject/Success
> XYZproject/Errors
>
> and how does one querry this.
>
> In xmlblaster the try can be queried via xpath for instance.
> I have only seen JNDI examples.
>
>
> --
> View this message in context: http://www.nabble.com/Topics-and-subtopics---Newbie-tf2971683.html#a8315511
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
--
James
-------
http://radio.weblogs.com/0112098/