You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by James Strachan <ja...@gmail.com> on 2006/12/04 08:56:36 UTC

Re: NEED HELP on how i can "Provide an ay for retrieving the amount of messages per priority that is waiting to be sent to subscribers"

You could write a broker interceptor to keep a track of this kind of
thing; or use selectors.

http://incubator.apache.org/activemq/interceptors.html

On 12/4/06, samahome <sr...@boeing.com> wrote:
>
> Which classes in ActiveMQ source i can look at for Providing  an way for
> retrieving the amount of messages per priority that is waiting to be sent to
> subscribers ?
>
> I would like to get this functionality programatically (other than the use
> of JMX).
>
> Help /Insights on this greatly appreciated.
>
> Thanks,
> Sreenivas
> --
> View this message in context: http://www.nabble.com/NEED-HELP--on-how-i-can-%22Provide-an-ay-for-retrieving-the-amount-of-messages-per-priority-that-is-waiting-to-be-sent-to-subscribers%22-tf2749797.html#a7671885
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>


-- 

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

Re: NEED HELP on how i can "Provide an ay for retrieving the amount of messages per priority that is waiting to be sent to subscribers"

Posted by samahome <sr...@boeing.com>.

Can I use BrokerView class to find the "amount of messages per priority
waiting to be sent to consumers". If i can extend the BrokerView class, how
would i attach the BrokerView object by connecting to the broker i started.

Help on this or other ideas on how to programatically "find amount of
messages per priority waiting to be sent to consumers" is greatly
appreciated.

- Sreenivas


samahome wrote:
> 
> Thanks, James for the info relating to using interceptor for broker for
> finding the amount of messages  per priority waiting to be sent to
> consumer.
> 
> Could you provide some examples of how the broker interceptor is written
> and configured ? 
> 
> - Sreenivas
> 
> 
> 
> James.Strachan wrote:
>> 
>> You could write a broker interceptor to keep a track of this kind of
>> thing; or use selectors.
>> 
>> http://incubator.apache.org/activemq/interceptors.html
>> 
>> On 12/4/06, samahome <sr...@boeing.com> wrote:
>>>
>>> Which classes in ActiveMQ source i can look at for Providing  an way for
>>> retrieving the amount of messages per priority that is waiting to be
>>> sent to
>>> subscribers ?
>>>
>>> I would like to get this functionality programatically (other than the
>>> use
>>> of JMX).
>>>
>>> Help /Insights on this greatly appreciated.
>>>
>>> Thanks,
>>> Sreenivas
>>> --
>>> View this message in context:
>>> http://www.nabble.com/NEED-HELP--on-how-i-can-%22Provide-an-ay-for-retrieving-the-amount-of-messages-per-priority-that-is-waiting-to-be-sent-to-subscribers%22-tf2749797.html#a7671885
>>> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
>> -- 
>> 
>> James
>> -------
>> http://radio.weblogs.com/0112098/
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/NEED-HELP--on-how-i-can-%22Provide-an-ay-for-retrieving-the-amount-of-messages-per-priority-that-is-waiting-to-be-sent-to-subscribers%22-tf2749797.html#a7689330
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Re: NEED HELP on how i can "Provide an ay for retrieving the amount of messages per priority that is waiting to be sent to subscribers"

Posted by samahome <sr...@boeing.com>.
Thanks, James for the info relating to using interceptor for broker for
finding the amount of messages  per priority waiting to be sent to consumer.

Could you provide some examples of how the broker interceptor is written and
configured ? 

- Sreenivas



James.Strachan wrote:
> 
> You could write a broker interceptor to keep a track of this kind of
> thing; or use selectors.
> 
> http://incubator.apache.org/activemq/interceptors.html
> 
> On 12/4/06, samahome <sr...@boeing.com> wrote:
>>
>> Which classes in ActiveMQ source i can look at for Providing  an way for
>> retrieving the amount of messages per priority that is waiting to be sent
>> to
>> subscribers ?
>>
>> I would like to get this functionality programatically (other than the
>> use
>> of JMX).
>>
>> Help /Insights on this greatly appreciated.
>>
>> Thanks,
>> Sreenivas
>> --
>> View this message in context:
>> http://www.nabble.com/NEED-HELP--on-how-i-can-%22Provide-an-ay-for-retrieving-the-amount-of-messages-per-priority-that-is-waiting-to-be-sent-to-subscribers%22-tf2749797.html#a7671885
>> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> 
> James
> -------
> http://radio.weblogs.com/0112098/
> 
> 

-- 
View this message in context: http://www.nabble.com/NEED-HELP--on-how-i-can-%22Provide-an-ay-for-retrieving-the-amount-of-messages-per-priority-that-is-waiting-to-be-sent-to-subscribers%22-tf2749797.html#a7688705
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Re: NEED HELP on how i can "Provide an ay for retrieving the amount of messages per priority that is waiting to be sent to subscribers"

Posted by samahome <sr...@boeing.com>.
Could someone provide more help or an example (other than the documentation
link on ActiveMQ site) on how to write a interceptor for "finding the amount
of messages per priority waiting to be sent to consumers" ?

- Sreenivas




James.Strachan wrote:
> 
> You could write a broker interceptor to keep a track of this kind of
> thing; or use selectors.
> 
> http://incubator.apache.org/activemq/interceptors.html
> 
> On 12/4/06, samahome <sr...@boeing.com> wrote:
>>
>> Which classes in ActiveMQ source i can look at for Providing  an way for
>> retrieving the amount of messages per priority that is waiting to be sent
>> to
>> subscribers ?
>>
>> I would like to get this functionality programatically (other than the
>> use
>> of JMX).
>>
>> Help /Insights on this greatly appreciated.
>>
>> Thanks,
>> Sreenivas
>> --
>> View this message in context:
>> http://www.nabble.com/NEED-HELP--on-how-i-can-%22Provide-an-ay-for-retrieving-the-amount-of-messages-per-priority-that-is-waiting-to-be-sent-to-subscribers%22-tf2749797.html#a7671885
>> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> 
> James
> -------
> http://radio.weblogs.com/0112098/
> 
> 

-- 
View this message in context: http://www.nabble.com/NEED-HELP--on-how-i-can-%22Provide-an-ay-for-retrieving-the-amount-of-messages-per-priority-that-is-waiting-to-be-sent-to-subscribers%22-tf2749797.html#a7707264
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.