Class InboundRequestMessageDefinition
Defines the inbound request message.
Inheritance
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class InboundRequestMessageDefinition : MessageDefinition, IValidator, IExtensibleDataObject, IEquatable<Message>
Constructors
InboundRequestMessageDefinition()
Initializes an empty instance.
Declaration
public InboundRequestMessageDefinition()
InboundRequestMessageDefinition(Message)
Initializes a new instance from provided Message object.
Declaration
public InboundRequestMessageDefinition(Message message)
Parameters
Type | Name | Description |
---|---|---|
Message | message | Message description to be initialized from. |
Properties
ContractId
Gets or sets contract id this message belongs to.
Declaration
public int ContractId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DownstreamContractId
Gets or sets the downstream contract id for the request.
Declaration
public int DownstreamContractId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsCallback
Gets or sets flag indicating that message belongs to a callback operation.
Declaration
public bool IsCallback { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsOneWay
Gets or sets flag indicating that message belongs to a one-way (send) operation.
Declaration
public bool IsOneWay { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsStatic
Gets or sets flag indicating that message triggers returning a static response and should not call the downstream service.
Declaration
public bool IsStatic { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MessageProcessing
Gets or sets the message processing configuration.
Declaration
public MessagePipeline MessageProcessing { get; set; }
Property Value
Type | Description |
---|---|
MessagePipeline |
MessageSamples
Gets the collection of static responses for the request.
Declaration
public Collection<MessageSample> MessageSamples { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<MessageSample> |
OperationName
Gets or sets the operation name this message belongs to.
Declaration
public string OperationName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OutboundRequest
Gets or sets the corresponding outbound OutboundRequestMessageDefinition.
Declaration
public OutboundRequestMessageDefinition OutboundRequest { get; set; }
Property Value
Type | Description |
---|---|
OutboundRequestMessageDefinition |
Responses
Gets the collection of the corresponding responses for the request.
Declaration
public Collection<MessageDefinition> Responses { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<MessageDefinition> |