Re: [Artemis] Browse scheduled and delivering messages

2016-10-20 Thread Clebert Suconic
Take a look on QueueControl::browse

It would be easy to patch it to look at the ScheduledDeliveries. I
could even guide you around it if you are interested.




On Tue, Oct 18, 2016 at 2:36 PM, abhijith <topcoderabhij...@gmail.com> wrote:
> I am assuming you are referring to JMSBrowser.
>
> We have locked down Queues and Topics with authentication and authorization.
> We would have to create a management role just for browsing which I am
> trying to avoid.  Also, this user would be super user who could essentially
> read from everywhere.
>
>
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/Artemis-Browse-scheduled-and-delivering-messages-tp4717972p4718043.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
Clebert Suconic


Re: [Artemis] Browse scheduled and delivering messages

2016-10-18 Thread abhijith
I am assuming you are referring to JMSBrowser.  

We have locked down Queues and Topics with authentication and authorization. 
We would have to create a management role just for browsing which I am
trying to avoid.  Also, this user would be super user who could essentially
read from everywhere.



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Artemis-Browse-scheduled-and-delivering-messages-tp4717972p4718043.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: [Artemis] Browse scheduled and delivering messages

2016-10-18 Thread Clebert Suconic
Why don't you simply use Browser? why use Management for that?

On Tue, Oct 18, 2016 at 9:20 AM, abhijith <topcoderabhij...@gmail.com> wrote:
> Thanks, our requirement is not really performance intensive.  It's only done
> on critical issues which needs immediate support.
>
> On another note, what is the best way to read messages with body?
> listMessages() operation does not retrieve body contents.
>
> ~Abhi
>
>
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/Artemis-Browse-scheduled-and-delivering-messages-tp4717972p4718023.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
Clebert Suconic


Re: [Artemis] Browse scheduled and delivering messages

2016-10-18 Thread abhijith
Thanks, our requirement is not really performance intensive.  It's only done
on critical issues which needs immediate support.  

On another note, what is the best way to read messages with body? 
listMessages() operation does not retrieve body contents.

~Abhi



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Artemis-Browse-scheduled-and-delivering-messages-tp4717972p4718023.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: [Artemis] Browse scheduled and delivering messages

2016-10-17 Thread Clebert Suconic
The management method browse won't go through the list of Scheduled
References.  but it would be an easy patch.


You must be careful though as such method will be competing for
resources with Queue deliveries. It's an anti-pattern as I see it.
(Unless you don't need any real performance out of the system).

On Sat, Oct 15, 2016 at 1:12 PM, abhijith <topcoderabhij...@gmail.com> wrote:
> Hi,
>
> We are trying to monitor Artemis queues for support purpose and one of our
> requirement is to be able to look at messages body.
>
> I found that I can view body of the message using browse() operation which
> is exposed via JMX.  But browse only accounts for messages which are not in
> scheduled or delivering state.
>
> Is there any JMX operation to browse through scheduled and delivering state
> messages as well?
>
> Thanks
> Abhi
>
>
>
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/Artemis-Browse-scheduled-and-delivering-messages-tp4717972.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
Clebert Suconic


[Artemis] Browse scheduled and delivering messages

2016-10-17 Thread abhijith
Hi,

We are trying to monitor Artemis queues for support purpose and one of our
requirement is to be able to look at messages body.  

I found that I can view body of the message using browse() operation which
is exposed via JMX.  But browse only accounts for messages which are not in
scheduled or delivering state.  

Is there any JMX operation to browse through scheduled and delivering state
messages as well?

Thanks
Abhi




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Artemis-Browse-scheduled-and-delivering-messages-tp4717972.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.