Take a look at how gRPC is implemented over http2 at
https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md .

That will give you some idea of how you can "persist" the relevant parts of
an http2 request as an ActiveMQ message to be executed later as a gRPC
call.

On Thu, May 13, 2021 at 5:16 AM Karan Kaira <[email protected]>
wrote:

>
> I am working with ActiveMQ(beginner). I want to put gRPC calls as a
> message on ActiveMQ. As soon as consumer picks a message , the gRPC in the
> message should execute.
>
> gRPC calls take parameters , so I want to understand how to send these
> parameters in the message body along with the method name/identifier , or
> if there is any another way of achieving this which is followed already?
>
> Example :
>
> ```
> someResponse response = someStub.rpcMethodName(parameter); // grpc call
> ```
>
> What I need is to store this statement in some format on activemq without
> calling the grpc now , then in the future when the consumer of activemq
> picks up the message containing this statement it should execute this gRPC
> call.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/dda22bd6-3f96-4a7e-80b6-24a069744f29n%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/dda22bd6-3f96-4a7e-80b6-24a069744f29n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CA%2BPad6hNd5PhzW_JxZsvOK4GJCa8YNLMTSXBAP0uVitcQHLwtQ%40mail.gmail.com.

Reply via email to