gnodet-bot commented on code in PR #29300:
URL: https://github.com/apache/camel/pull/29300#discussion_r4511070498


##########
components/camel-grpc/src/main/java/org/apache/camel/component/grpc/server/GrpcRequestAbstractStreamObserver.java:
##########
@@ -40,4 +42,45 @@ protected GrpcRequestAbstractStreamObserver(GrpcEndpoint 
endpoint, GrpcConsumer
         this.responseObserver = responseObserver;
         this.headers = headers;
     }
+
+    /**
+     * The response message type of the method: a reply of another type is 
converted to it, or ends the call with an
+     * error.
+     */
+    public Class<?> getResponseType() {

Review Comment:
   **Dead public API — no callers on 4.22.x.**
   
   `getResponseType()`/`setResponseType()` have no callers on the 4.22.x 
branch. The sibling `sendResponses()` method even documents this explicitly: 
*"type conversion is not performed in this backport"*. `responseType` is always 
`null` here. Consider removing these from the backport.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to