Hi Sergey Do you think any of the CXF-2541 enhancements will make it into the next version? Just trying to ascertain timescales - with view to either waiting for these enhancements, or coding enhanced JAX-RS, JMX monitoring into my app myself.
Thanks Paul -----Original Message----- From: Sergey Beryozkin [mailto:[email protected]] Sent: 27 November 2009 16:52 To: [email protected] Subject: Re: JMS - JAX-RS multiple service beans - only one is managed Hi Paul Please see comments inline with S.B. Hi I have setup JMX monitoring for my CXF JAX-RS endpoint. I have a couple of questions. 1. I have two service beans configured for one rest server: <jaxrs:server id="mpcRestServer" address="/"> <jaxrs:serviceBeans> <ref bean="myRestServer1"/> <ref bean="myRestServer2"/> </jaxrs:serviceBeans> <jaxrs:providers> <ref bean="jsonProvider"/> <ref bean="atomFeedProvider"/> <ref bean="atomEntryProvider"/> <ref bean="stringListProvider"/> </jaxrs:providers> </jaxrs:server> However, when I connect to the mbean server with jconsole, only the first service bean listed is being monitored. Is there something else I need to configure to make this happen or is it a bug? > S.B. It may be qualified as a bug, but the thing is a jaxrs:server is seen as a single Service at the moment, irrespective of how > many resource classes are involed...I'm not sure yet whether it will be feasible to register two CXF services in this case, one > per each root resource bean. 2. Only counters on the servicebean are being monitored. There seems to be no monitoring on jax-rs operations. Do I need to annotate the operations individually - if so do you have any examples? > S.B Please see http://issues.apache.org/jira/browse/CXF-2541, we're discussing with Cyrille how to fix it... I'm also going to look into the monitoring for multiple root beans issue thanks, Sergey Thanks Paul This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this This e-mail has been sent by one of the following wholly-owned subsidiaries of the BBC: BBC Worldwide Limited, Registration Number: 1420028 England, Registered Address: BBC Media Centre, 201 Wood Lane, London, W12 7TQ BBC World News Limited, Registration Number: 04514407 England, Registered Address: BBC Media Centre, 201 Wood Lane, London, W12 7TQ BBC World Distribution Limited, Registration Number: 04514408, Registered Address: BBC Media Centre, 201 Wood Lane, London, W12 7TQ
