EBMSMessageReceiver

public class EBMSMessageReceiver extends MessageReceiver

The EBMSMessageReceiver is a client sender sending SOAP web services request to B2BCollector EbMS plugin for retrieving a ebMS message according to provided message id. The web service parameters are defined in the below:

<part name="messageId" type="s:string" /> *
Author:Jumbo Cheung

See also: hk.hku.cecid.corvus.ws.data.EBMSMessageData

Constructors

EBMSMessageReceiver

public EBMSMessageReceiver(FileLogger l, EBMSMessageData m)

Methods

getOutputDirectory

public String getOutputDirectory()
Returns:the output directory of the received payload.

initializeMessage

public void initializeMessage()

Initialize the message using the properties in the MessageProps.

main

public static void main(String[] args)

onResponse

public void onResponse()

Retrieve the payload from the message. The default receiver stores the payload as a files at the particular place specified in the configuration.

onStart

public void onStart()

Initialize the SOAP Message.

setOutputDirectory

public void setOutputDirectory(String path)

Set the output directory of received payload if any.