[ 
https://issues.apache.org/jira/browse/AMQ-5192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14086904#comment-14086904
 ] 

Timothy Bish commented on AMQ-5192:
-----------------------------------

You are correct you can only query for the total number of queued jobs in the 
store.  The architecture of the store makes implementing a query of the type 
you are asking for quite difficult as the store is only given raw bytes to fire 
at a given time.  The Broker's scheduler region actually does the message 
marshaling and unmarshaling so the store has no idea what destinations the byte 
blobs are bound for.  Besides that if you did have this query ability it would 
require stopping all dispatch actions and additions to the store which if used 
to often would result in delayed delivery of scheduled messages.  

> Add a statistic for showing how many messages every scheduler job triggered
> ---------------------------------------------------------------------------
>
>                 Key: AMQ-5192
>                 URL: https://issues.apache.org/jira/browse/AMQ-5192
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker, JMX, Job Scheduler
>    Affects Versions: 5.8.0
>            Reporter: Burning Luffy
>            Assignee: Timothy Bish
>             Fix For: 5.11.0
>
>
> Is there anyway we can see how many messages are scheduled for re-delivery 
> per queue? At the moment the best we can do is get the number of scheduled 
> jobs via JMX, which is not queue-specific. Is it possible to programmatically 
> query the KahaDB to inspect the scheduled redelivery jobs?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to