Integration Server 10.11 | Built-In Services Reference Guide | gRPC Folder | Summary of Elements in This Folder | pub.grpc.observer:onNext
 
pub.grpc.observer:onNext
WmGRPC. Converts a document (IData) to a gRPC response and returns it to the gRPC client.
Input Parameters
document
Document A document (IData object) representing the gRPC response message to be returned to the gRPC client. The document must conform to the document type in documentTypeName.
documentTypeName
String Fully qualified name of the gRPC document type representing the gRPC response.
streamObserver
Object A gRPC object used by the gRPC framework to return the response to the gRPC client.
streamType
ObjectA gRPC object used by the gRPC framework to identify the gRPC message type of the expected response.
Output Parameters
None.
Usage Notes
An instance of the streamObserver is present in the pipeline when any gRPC method flow service is invoked by the gRPC server. It is an opaque object to be used only as input to the pub.grpc.observer:onNext, pub.grpc.observer:onCompleted, or pub.grpc.observer:onError services.
An instance of the streamType is present in the pipeline when any gRPC method flow service is invoked by the gRPC server. It is an opaque object be used only as input to the pub.grpc.observer:onNext service when returning a gRPC response.