On 01/19/2011 03:21 PM, Claus Ibsen wrote:
> Yeah its easy
>
> SedaEndpoint seda = context.getEndpoint("seda:xxxx");
> int size = seda.getExchanges().size()
Ah, thanks!

For the record: This works for all endpoints implementing the
BrowsableEndpoint interface.

Regards,
Tarjei
>
> On Wed, Jan 19, 2011 at 1:20 PM, Tarjei Huse <[email protected]> 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
>>
>>
>
>


-- 
Regards / Med vennlig hilsen
Tarjei Huse
Mobil: 920 63 413

Reply via email to