EBMSMessageData

public class EBMSMessageData extends KVPairData

The EBMSMessageData is the data structure representing the parameters set for sending ebms message with payload to Hermes2. This is the sample WSDL request for the sending EbMS message WS request. *

<cpaId> ebmscpaid </cpaId>
<service> http://localhost:8080/corvus/httpd/ebms/inbound <service>
<action> action </action>
<convId> convId </convId>
<fromPartyId> fromPartyId </fromPartyId>
<fromPartyType> fromPartyType </fromPartyType>
<toPartyId> toPartyId </toPartyId>
<toPartyType> toPartyType </toPartyType>
<refToMessageId> </refToMessageId>
<serviceType> </serviceType>

This is the sample WSDL request for the retrieve EbMS message WS request.*

<messageId> target-messageId </messageId>

The first three parameters are derived from EBMSPartnershipData.getCpaId(), EBMSPartnershipData.getService() and EBMSPartnershipData.getAction()

Author:Twinsen Tsang

Fields

CONFIG_KEY_SET

public static final String[] CONFIG_KEY_SET

This is the configuration key set for XML serialization / de-serialization.

CONFIG_PREFIX

public static final String CONFIG_PREFIX

This is the configuration prefix for serialization / de-serialization.

PARAM_KEY_SET

public static final String[] PARAM_KEY_SET

This is the key set for XML serialization / de-serialization.

PARAM_PREFIX

public static final String PARAM_PREFIX

This is the parameters prefix for serialization / de-serialization.

isDirty

public boolean isDirty

It the data is dirty.

Constructors

EBMSMessageData

public EBMSMessageData()

Default Constructor.

Methods

getConversationId

public String getConversationId()
Returns:the conversationId

getFromPartyId

public String getFromPartyId()
Returns:the fromPartyId

getFromPartyType

public String getFromPartyType()
Returns:the fromPartyType

getMessageIdForReceive

public String getMessageIdForReceive()
Returns:the targeted Message ID for message receiver.

getRecvEndpoint

public String getRecvEndpoint()
Returns:Get the web service End-point for receiving ebMS message from CORVUS.

getRecvlistEndpoint

public String getRecvlistEndpoint()
Returns:Get the web service End-point for receiving a list of ebMS message which are ready to download from CORVUS.

getRefToMessageId

public String getRefToMessageId()
Returns:the refToMessageId

getSendEndpoint

public String getSendEndpoint()
Returns:Get the web service End-point for sending ebMS message to CORVUS.

getServiceType

public String getServiceType()
Returns:the service type.

getToPartyId

public String getToPartyId()
Returns:the toPartyId

getToPartyType

public String getToPartyType()
Returns:the toPartyType

setConversationId

public void setConversationId(String conversationId)
Parameters:
  • conversationId – the conversationId to set

setFromPartyId

public void setFromPartyId(String fromPartyId)
Parameters:
  • fromPartyId – the fromPartyId to set

setFromPartyType

public void setFromPartyType(String fromPartyType)
Parameters:
  • fromPartyType – the fromPartyType to set

setMessageIdForReceive

public void setMessageIdForReceive(String value)

Set the Message ID that targeted to retrieve

Parameters:
  • value – The MessageId of the message.

setRecvEndpoint

public void setRecvEndpoint(String endpoint)

Set the web service End-point for receiving ebMS message from CORVUS.

Parameters:
  • endpoint – The web service End-point for receiving ebMS message from CORVUS.

setRecvlistEndpoint

public void setRecvlistEndpoint(String endpoint)

Set the web service End-point for receiving a list of ebMS message which are ready to download from CORVUS.

Parameters:
  • endpoint – the web service End-point for receiving a list of ebMS message which are ready to download from CORVUS.

setRefToMessageId

public void setRefToMessageId(String refToMessageId)
Parameters:
  • refToMessageId – the refToMessageId to set

setSendEndpoint

public void setSendEndpoint(String endpoint)

Set the web service End-point for sending ebMS message to CORVUS.

Parameters:
  • endpoint – The web service End-point for sending ebMS message to CORVUS.

setServiceType

public void setServiceType(String serviceType)
Parameters:
  • serviceType – the service type to set.

setToPartyId

public void setToPartyId(String toPartyId)
Parameters:
  • toPartyId – the toPartyId to set

setToPartyType

public void setToPartyType(String toPartyType)
Parameters:
  • toPartyType – the toPartyType to set

toString

public String toString()