Skip to content

Commit

Permalink
support sendOneway method
Browse files Browse the repository at this point in the history
  • Loading branch information
LIU-WEI-git committed Sep 21, 2022
1 parent 93426af commit 0c1fcb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void publish(CloudEvent cloudEvent, SendCallback sendCallback) throws Exc

@Override
public void sendOneway(CloudEvent cloudEvent) {
throw new UnsupportedOperationException();
client.publish(cloudEvent.getSubject(), cloudEvent);
}

@Override
Expand Down

0 comments on commit 0c1fcb7

Please sign in to comment.