camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: View Seda queue size?
Date Wed, 19 Jan 2011 14:21:13 GMT
Yeah its easy

SedaEndpoint seda = context.getEndpoint("seda:xxxx");
int size = seda.getExchanges().size()


On Wed, Jan 19, 2011 at 1:20 PM, Tarjei Huse <tarjei@scanmine.com> wrote:
> Hi, is there a way to fetch the size of a Seda queue without going
> through JMX?
>
> Or - does anyone have an example of doing a jmx lookup within the same
> JVM for seda queue size?
>
>
> --
> Regards / Med vennlig hilsen
> Tarjei Huse
> Mobil: 920 63 413
>
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message