Bug 1174152 - (6.4.0) listDeliveringMessages and listScheduledMessages in HQ but not accessible
Summary: (6.4.0) listDeliveringMessages and listScheduledMessages in HQ but not access...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: HornetQ
Version: 6.3.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER2
: EAP 6.4.0
Assignee: Clebert Suconic
QA Contact: Miroslav Novak
URL: https://access.redhat.com/support/cas...
Whiteboard:
Depends On:
Blocks: 1174630 1184141
TreeView+ depends on / blocked
 
Reported: 2014-12-15 09:45 UTC by Shaun Appleton
Modified: 2019-08-19 12:40 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1174630 (view as bug list)
Environment:
Last Closed: 2019-08-19 12:38:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-4184 0 Major Resolved add listDeliveringMessage to messaging's queue resource 2016-04-07 13:51:25 UTC

Description Shaun Appleton 2014-12-15 09:45:58 UTC
Description of problem:

listDeliveringMessages was introduced into HornetQ 2.3.0 via https://issues.jboss.org/browse/HORNETQ-763 but cannot be accessed via management methods.

It appears in http://jbosslxr.gsslab.fab.redhat.com/lxr/as7/source/_projectlinks/hornetq/hornetq-server/src/main/java/org/hornetq/core/management/impl/QueueControlImpl.java

but not in

http://jbosslxr.gsslab.fab.redhat.com/lxr/as7/source/_projectlinks/hornetq/hornetq-jms-server/src/main/java/org/hornetq/jms/management/impl/JMSQueueControlImpl.java

so is not usable.

So this is a request to expose the functionality.

Comment 4 Ondřej Kalman 2015-01-14 10:54:31 UTC
Verified with 6.4.0.ER1

Comment 5 Ondřej Kalman 2015-01-19 14:25:38 UTC
Reopened. While testing 6.3.3 we discovered that this operation should be visible in JMS module not only in Core.

I was confused previously by description in customer ticket which is not very clear. So i verified it because i fount this method in JMX.

Comment 7 Clebert Suconic 2015-01-20 14:59:53 UTC
Why is that an issue... you can look at the operation through the Core Queue on the QueueControl and you would be able to see it through JMX.


JMX is not even enabled by default.

Comment 8 Jeff Mesnil 2015-01-20 15:01:59 UTC
The fix is just to make the listDeliveringMessages available through the JMSQueueControl interface

Comment 11 Clebert Suconic 2015-01-20 21:46:32 UTC
listScheduledMessages is the same thing... so I will use this opportunity to also add the missing delegate.

Comment 12 Kabir Khan 2015-01-23 14:42:37 UTC
Upgrade BZ1184141 (which has been merged) contains the HornetQ part of this work.
https://github.com/jbossas/jboss-eap/pull/2260 which is not merged yet contains the management layer changes.

Comment 13 Kabir Khan 2015-01-23 22:20:16 UTC
https://github.com/jbossas/jboss-eap/pull/2260 has been merged

Comment 15 Ondřej Kalman 2015-02-09 12:01:13 UTC
Just to be clear. 
Delivering messages are all "uncommitted" messages in both directions (sent to the queue / consumed from the queue) , or only uncommitted messages which were consumed?

Comment 16 Jeff Mesnil 2015-02-11 11:56:28 UTC
Delivering messages are messages sent by the server to the client that have not been consumed yet (i.e. they are on the wire on in the client's messages buffer)

Comment 17 Ondřej Kalman 2015-02-11 12:18:55 UTC
VERIFIED with 6.4.0.ER2


Note You need to log in before you can comment on or make changes to this bug.