public class WorkflowPaymentAsyncSubscribe
extends java.lang.Object
implements org.apache.eventmesh.client.grpc.consumer.ReceiveMsgHook<org.apache.eventmesh.common.EventMeshMessage>
| Modifier and Type | Field and Description |
|---|---|
static WorkflowPaymentAsyncSubscribe |
handler |
static org.apache.eventmesh.client.workflow.EventMeshWorkflowClient |
workflowClient |
| Constructor and Description |
|---|
WorkflowPaymentAsyncSubscribe() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProtocolType() |
java.util.Optional<org.apache.eventmesh.common.EventMeshMessage> |
handle(org.apache.eventmesh.common.EventMeshMessage msg) |
static void |
main(java.lang.String[] args) |
public static final WorkflowPaymentAsyncSubscribe handler
public static org.apache.eventmesh.client.workflow.EventMeshWorkflowClient workflowClient
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic java.util.Optional<org.apache.eventmesh.common.EventMeshMessage> handle(org.apache.eventmesh.common.EventMeshMessage msg)
throws java.lang.Exception
handle in interface org.apache.eventmesh.client.grpc.consumer.ReceiveMsgHook<org.apache.eventmesh.common.EventMeshMessage>java.lang.Exceptionpublic java.lang.String getProtocolType()
getProtocolType in interface org.apache.eventmesh.client.grpc.consumer.ReceiveMsgHook<org.apache.eventmesh.common.EventMeshMessage>