EBMSStatusQuerySender

public class EBMSStatusQuerySender extends SOAPSender

The EBMSStatusQuerySender is a client sender sending SOAP web services request to Corvus EBMS plugin for query the status of particular message. The web service parameters are defined in the below:

<messageId> 20070418-124233-75006@147.8.177.42 </messageId>

Creation Date: 02/05/2007

Author:Twinsen Tsang

Constructors

EBMSStatusQuerySender

public EBMSStatusQuerySender(FileLogger l, EBMSStatusQueryData data)

Explicit Constructor.

Parameters:
  • l – The logger used for log message and exception.
  • data – The EBMS Status query parameter.

Methods

getLastResponseData

public EBMSStatusQueryResponseData getLastResponseData()
Returns:The EBMS status response data by the last SFRM status query SOAP Call.

initializeMessage

public void initializeMessage()

The SOAPRequest in the creation stage should be liked this.

Throws:
  • Exceptions

main

public static void main(String[] args)

The main method is for CLI mode.

onResponse

public void onResponse()

Get the SOAP Body and analyze the result of configuration.

The result of SOAP body:

   <status> The current status of message </status>
<statusDescription> The current status description of message </statusDescription>
<ackMessageId> The message id of acknowledgment / receipt if any </ackMessageId>
<ackStatus> The status of acknowledgment / receipt if any </ackStatus>
<ackStatusDescription> The status description of acknowledgment / receipt if any </ackStatusDescription>

onStart

public void onStart()

[@EVENT] The method onStart log all new configuration.