Namespace: OpenEdge.Messaging
Type: Interface ISendResponse
Parent Classes:
Inherits: Progress.Lang.Object


/*
Copyright © 2021 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Purpose:
A send response is returned when a record is sent by the producer.
The application can use the data in the response object to verify
if the message was properly received by the server.
When messages are sent asynchronously it is the clients responsibility
to verify the response has completed as well as checking for the success
or faiure. In the case of a failure, the client application can retrieve
the error code and error message from the response object.
The OpenEdge Runtime will fill in the details of the response object after it receives
a delivery receipt from the server. This will take some time, and will not likely
be immediately available. The client may need to wait for the response by calling
PAUSE or producer:Flush() for some period of time.
Once the delivery response is received from the server, the Completed property will be
updated to TRUE, and the Success property will indicate if the server indicated
the message was properly received and stored.



Property Summary
  Options Name Purpose
  LOGICAL Completed
  INTEGER ErrorCode
  CHARACTER ErrorMessage
  INT64 Offset
  INTEGER PartitionId
  OpenEdge.Messaging.IProducer Producer
  LOGICAL Success
  DATETIME-TZ Timestamp
  CHARACTER TopicName


Property Detail
Top

LOGICAL Completed

Returns LOGICAL
 
Top

INTEGER ErrorCode

Returns INTEGER
 
Top

CHARACTER ErrorMessage

Returns CHARACTER
 
Top

INT64 Offset

Returns INT64
 
Top

INTEGER PartitionId

Returns INTEGER
 
Top

OpenEdge.Messaging.IProducer Producer

Returns OpenEdge.Messaging.IProducer
 
Top

LOGICAL Success

Returns LOGICAL
 
Top

DATETIME-TZ Timestamp

Returns DATETIME-TZ
 
Top

CHARACTER TopicName

Returns CHARACTER