Hi,

I would like to execute a stress test against the examples that come with
the version 3.0  of ServiceMix. The aim is to evaluate the different
ServiceMix components (standard JBI and lightweight components ) that comes
with this ESB. 

So then I need to "inject" some code in the components in order to get de
execution times that each component needs to perform its task. My question
is how can I do that ??... For my "custom" components should be quite easy
but... what about the components (SE/BC) already implemented by the
ServiceMix ?

I have thought of some options but I'm not quite sure of them:

1.- MBeans: can I register my own MBeans in the ServiceMix components ?
Maybe I need to extend the components in order to register the mbean
programatically or maybe it is possible to register it declarativaly in the
xbean.xml/servicemix.xml file. 

2.- Is it possible to use Spring AOP in a JBI packaging configuration ?
Maybe it could be an option to use introspection in order to take the time
at the "start" and "stop" method of each component. Can I mix Spring
introspection tags with ServimeMix component tags ? However, I do not really
know which methods are called in the lyfecycle of each component ... 

3.- Could I do this using listeners?

Any advice about how to do it will be appreciate... 
Thank you and best regards,
Antonio.

-- 
View this message in context: 
http://www.nabble.com/Performance-testing-of-JBI-ServiceMix-Components-tf2589775s12049.html#a7221473
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to