[ 
https://wso2.org/jira/browse/ESBJAVA-571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27274#action_27274
 ] 

Ruwan Linton commented on ESBJAVA-571:
--------------------------------------

Hi Luca, thanks a lot for the valuable contribution... This has already been 
fixed on the latest carbon based ESB, you could either go to the 
org.apache.synapse.ServerManager and check the synapse ServerState attribute, 
or use the Carbon ServerAdmin MBean to get the Carbon server state.

Please note that in order to get the carbon MBeans registered, you need to 
uncomment the JMXPort element in the carbon.xml file resides in the conf 
directory 

> ServerAdmin MBean should expose Esb Status as an attribute
> ----------------------------------------------------------
>
>                 Key: ESBJAVA-571
>                 URL: https://wso2.org/jira/browse/ESBJAVA-571
>             Project: WSO2 ESB
>          Issue Type: Improvement
>            Reporter: Luca Siddi
>            Assignee: Ruwan Linton
>         Attachments: patch-status.txt
>
>
> Hi all,
>     while working on the ESB monitoring we found that there is no way to know 
> if the esb has been set in maintenance mode through the ServerAdmin MBean.
> We would need to have an attribute exposed for this MBean to know if the 
> methods startMaintenance, endMaintenance, start and stop have been invoked. I 
> wrote a small patch I am attaching here. Could be worth integrating it in the 
> next release ?
> Regards
> L.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Esb-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to