Pinging capability to services deployed in axis2
------------------------------------------------

                 Key: AXIS2-2233
                 URL: https://issues.apache.org/jira/browse/AXIS2-2233
             Project: Axis 2.0 (Axis2)
          Issue Type: New Feature
            Reporter: Sameera Madushan Jayasoma
         Attachments: patch_ping_module.txt

The pinging capability is implemented as a module, which can be engaged by 
services to enable pinging. Pinging is an useful feature to  
users/administrators to check the status of the web services deployed in axis2. 
Basically information provided by the ping module can be in one of the 4 levels.

0 - Ping failed
1 - Ping successful in the ping module - (MR of the requested operation has not 
implemented the Pingable interface)
2 - Ping successful in the MR of the requested operation - (Service class has 
not implemented the Pingable interface)
3 - ping successful (Service class has implemented the pingable interface and 
returns 3 or 0).

This introduces a new interface called "Pingable" which has the method - "int 
ping()". Message Receivers and service classes can implement this interface to 
provide more accurate information about the status of the service.

Engaging the ping module will result in introducing a new operation to the 
service called "ping" and it is dispatched using a unique SOAPAction. 
PingMessageReceiver is the MR which gets ping requests dispatched to the method 
"ping". 

If the ping request is service level (i.e no operations are specified in the 
ping request), this PingMR invoke the "ping" method of the individual MR's of 
all the operations available in the service.




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to