Its from ManagedBrowsableEndpointMBean and only available in JMX. You can get the size yourself with calling
getExchanges().size(); On Fri, Jan 8, 2016 at 11:45 AM, Stijn Haezebrouck <[email protected]> wrote: > The queueSize() method is documented in the JavaDoc "current", see > link-to-currentJmsQueueEndpoint javadoc > <https://camel.apache.org/maven/current/camel-jms/apidocs/org/apache/camel/component/jms/JmsQueueEndpoint.html> > > However, when using the current version of apache camel-jms, which is > version 2.16.1 at the time of writing, I see that the method is just not > there. (Decompiled JmsQueueEndpoint in the camel-jms jar version 2.16.1). > When switching back to 2.15.5, the method is there. > > So either the method must be present in version 2.16.1, as documented. Or > either the method has disappeared in 2.16.1, but the javadoc is wrong. > > Or the "current" versions does not correct to the latest release of camel, > which is 2.16.1 at the time of writing (according to > http://camel.apache.org/download.html > <http://camel.apache.org/download.html> > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Missing-JmsQueueEndpoint-queueSize-method-in-2-16-1-tp5776012.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
