Class GrpcRequestPropagationStreamObserver
java.lang.Object
org.apache.camel.component.grpc.server.GrpcRequestAbstractStreamObserver
org.apache.camel.component.grpc.server.GrpcRequestPropagationStreamObserver
- All Implemented Interfaces:
io.grpc.stub.StreamObserver<Object>
This is the default consumer strategy for client-streaming and bi-directional streaming gRPC calls. gRPC request
stream observer which is propagating every onNext(), onError() or onCompleted() calls to the Camel route.
-
Field Summary
Fields inherited from class org.apache.camel.component.grpc.server.GrpcRequestAbstractStreamObserver
consumer, endpoint, exchange, headers, responseObserver
-
Constructor Summary
ConstructorDescriptionGrpcRequestPropagationStreamObserver
(GrpcEndpoint endpoint, GrpcConsumer consumer, io.grpc.stub.StreamObserver<Object> responseObserver, Map<String, Object> headers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
-
Constructor Details
-
GrpcRequestPropagationStreamObserver
public GrpcRequestPropagationStreamObserver(GrpcEndpoint endpoint, GrpcConsumer consumer, io.grpc.stub.StreamObserver<Object> responseObserver, Map<String, Object> headers)
-
-
Method Details
-
onNext
-
onError
-
onCompleted
public void onCompleted()
-