{"action":"created","comment":{"url":"https://api.github.com/repos/eclipse/vert.x/pulls/comments/98363020","pull_request_review_id":19002203,"id":98363020,"diff_hunk":"@@ -0,0 +1,20 @@\n+package io.vertx.core.eventbus;\n+\n+import io.vertx.codegen.annotations.VertxGen;\n+import io.vertx.core.Handler;\n+\n+/**\n+ * An eventbus interceptor that will be called whenever a message is sent from, and delivered by,\n+ * Vert.x\n+ */\n+@VertxGen\n+public interface Interceptor extends Handler<SendContext> {\n+  /**\n+   * A message delivery attempt is about to occur.\n+   *\n+   * @param context the message delivery context to handle\n+   */\n+  default void handleDelivery(DeliveryContext context) {","path":"src/main/java/io/vertx/core/eventbus/Interceptor.java","position":17,"original_position":17,"commit_id":"1d6e33e19f5c62723ddedbfb7d6bfc0d5b28d53f","original_commit_id":"1d6e33e19f5c62723ddedbfb7d6bfc0d5b28d53f","user":{"login":"vietj","id":225674,"avatar_url":"https://avatars.githubusercontent.com/u/225674?v=3","gravatar_id":"","url":"https://api.github.com/users/vietj","html_url":"https://github.com/vietj","followers_url":"https://api.github.com/users/vietj/followers","following_url":"https://api.github.com/users/vietj/following{/other_user}","gists_url":"https://api.github.com/users/vietj/gists{/gist_id}","starred_url":"https://api.github.com/users/vietj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vietj/subscriptions","organizations_url":"https://api.github.com/users/vietj/orgs","repos_url":"https://api.github.com/users/vietj/repos","events_url":"https://api.github.com/users/vietj/events{/privacy}","received_events_url":"https://api.github.com/users/vietj/received_events","type":"User","site_admin":false},"body":"rather called `handleReceive` as this is the name used internally, _delivery_ is more general and care about both _send_ and/or _receive_ actions","created_at":"2017-01-29T20:58:28Z","updated_at":"2017-01-29T20:58:28Z","html_url":"https://github.com/eclipse/vert.x/pull/1784#discussion_r98363020","pull_request_url":"https://api.github.com/repos/eclipse/vert.x/pulls/1784","_links":{"self":{"href":"https://api.github.com/repos/eclipse/vert.x/pulls/comments/98363020"},"html":{"href":"https://github.com/eclipse/vert.x/pull/1784#discussion_r98363020"},"pull_request":{"href":"https://api.github.com/repos/eclipse/vert.x/pulls/1784"}}},"pull_request":{"url":"https://api.github.com/repos/eclipse/vert.x/pulls/1784","id":103658511,"html_url":"https://github.com/eclipse/vert.x/pull/1784","diff_url":"https://github.com/eclipse/vert.x/pull/1784.diff","patch_url":"https://github.com/eclipse/vert.x/pull/1784.patch","issue_url":"https://api.github.com/repos/eclipse/vert.x/issues/1784","number":1784,"state":"open","locked":false,"title":"feat: Extend EventBus listener to allow for delivery interception","user":{"login":"emmanuelidi","id":1284135,"avatar_url":"https://avatars.githubusercontent.com/u/1284135?v=3","gravatar_id":"","url":"https://api.github.com/users/emmanuelidi","html_url":"https://github.com/emmanuelidi","followers_url":"https://api.github.com/users/emmanuelidi/followers","following_url":"https://api.github.com/users/emmanuelidi/following{/other_user}","gists_url":"https://api.github.com/users/emmanuelidi/gists{/gist_id}","starred_url":"https://api.github.com/users/emmanuelidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmanuelidi/subscriptions","organizations_url":"https://api.github.com/users/emmanuelidi/orgs","repos_url":"https://api.github.com/users/emmanuelidi/repos","events_url":"https://api.github.com/users/emmanuelidi/events{/privacy}","received_events_url":"https://api.github.com/users/emmanuelidi/received_events","type":"User","site_admin":false},"body":"resolves: issue #1783","created_at":"2017-01-29T20:20:21Z","updated_at":"2017-01-29T20:58:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e6ba3c4698267356c0be5b779794b2d394da69d6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/vert.x/pulls/1784/commits","review_comments_url":"https://api.github.com/repos/eclipse/vert.x/pulls/1784/comments","review_comment_url":"https://api.github.com/repos/eclipse/vert.x/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/vert.x/issues/1784/comments","statuses_url":"https://api.github.com/repos/eclipse/vert.x/statuses/1d6e33e19f5c62723ddedbfb7d6bfc0d5b28d53f","head":{"label":"emmanuelidi:issue-1783","ref":"issue-1783","sha":"1d6e33e19f5c62723ddedbfb7d6bfc0d5b28d53f","user":{"login":"emmanuelidi","id":1284135,"avatar_url":"https://avatars.githubusercontent.com/u/1284135?v=3","gravatar_id":"","url":"https://api.github.com/users/emmanuelidi","html_url":"https://github.com/emmanuelidi","followers_url":"https://api.github.com/users/emmanuelidi/followers","following_url":"https://api.github.com/users/emmanuelidi/following{/other_user}","gists_url":"https://api.github.com/users/emmanuelidi/gists{/gist_id}","starred_url":"https://api.github.com/users/emmanuelidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmanuelidi/subscriptions","organizations_url":"https://api.github.com/users/emmanuelidi/orgs","repos_url":"https://api.github.com/users/emmanuelidi/repos","events_url":"https://api.github.com/users/emmanuelidi/events{/privacy}","received_events_url":"https://api.github.com/users/emmanuelidi/received_events","type":"User","site_admin":false},"repo":{"id":66108434,"name":"vert.x","full_name":"emmanuelidi/vert.x","owner":{"login":"emmanuelidi","id":1284135,"avatar_url":"https://avatars.githubusercontent.com/u/1284135?v=3","gravatar_id":"","url":"https://api.github.com/users/emmanuelidi","html_url":"https://github.com/emmanuelidi","followers_url":"https://api.github.com/users/emmanuelidi/followers","following_url":"https://api.github.com/users/emmanuelidi/following{/other_user}","gists_url":"https://api.github.com/users/emmanuelidi/gists{/gist_id}","starred_url":"https://api.github.com/users/emmanuelidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmanuelidi/subscriptions","organizations_url":"https://api.github.com/users/emmanuelidi/orgs","repos_url":"https://api.github.com/users/emmanuelidi/repos","events_url":"https://api.github.com/users/emmanuelidi/events{/privacy}","received_events_url":"https://api.github.com/users/emmanuelidi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emmanuelidi/vert.x","description":"Vert.x is a tool-kit for building reactive applications on the JVM","fork":true,"url":"https://api.github.com/repos/emmanuelidi/vert.x","forks_url":"https://api.github.com/repos/emmanuelidi/vert.x/forks","keys_url":"https://api.github.com/repos/emmanuelidi/vert.x/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emmanuelidi/vert.x/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emmanuelidi/vert.x/teams","hooks_url":"https://api.github.com/repos/emmanuelidi/vert.x/hooks","issue_events_url":"https://api.github.com/repos/emmanuelidi/vert.x/issues/events{/number}","events_url":"https://api.github.com/repos/emmanuelidi/vert.x/events","assignees_url":"https://api.github.com/repos/emmanuelidi/vert.x/assignees{/user}","branches_url":"https://api.github.com/repos/emmanuelidi/vert.x/branches{/branch}","tags_url":"https://api.github.com/repos/emmanuelidi/vert.x/tags","blobs_url":"https://api.github.com/repos/emmanuelidi/vert.x/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emmanuelidi/vert.x/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emmanuelidi/vert.x/git/refs{/sha}","trees_url":"https://api.github.com/repos/emmanuelidi/vert.x/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emmanuelidi/vert.x/statuses/{sha}","languages_url":"https://api.github.com/repos/emmanuelidi/vert.x/languages","stargazers_url":"https://api.github.com/repos/emmanuelidi/vert.x/stargazers","contributors_url":"https://api.github.com/repos/emmanuelidi/vert.x/contributors","subscribers_url":"https://api.github.com/repos/emmanuelidi/vert.x/subscribers","subscription_url":"https://api.github.com/repos/emmanuelidi/vert.x/subscription","commits_url":"https://api.github.com/repos/emmanuelidi/vert.x/commits{/sha}","git_commits_url":"https://api.github.com/repos/emmanuelidi/vert.x/git/commits{/sha}","comments_url":"https://api.github.com/repos/emmanuelidi/vert.x/comments{/number}","issue_comment_url":"https://api.github.com/repos/emmanuelidi/vert.x/issues/comments{/number}","contents_url":"https://api.github.com/repos/emmanuelidi/vert.x/contents/{+path}","compare_url":"https://api.github.com/repos/emmanuelidi/vert.x/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emmanuelidi/vert.x/merges","archive_url":"https://api.github.com/repos/emmanuelidi/vert.x/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emmanuelidi/vert.x/downloads","issues_url":"https://api.github.com/repos/emmanuelidi/vert.x/issues{/number}","pulls_url":"https://api.github.com/repos/emmanuelidi/vert.x/pulls{/number}","milestones_url":"https://api.github.com/repos/emmanuelidi/vert.x/milestones{/number}","notifications_url":"https://api.github.com/repos/emmanuelidi/vert.x/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emmanuelidi/vert.x/labels{/name}","releases_url":"https://api.github.com/repos/emmanuelidi/vert.x/releases{/id}","deployments_url":"https://api.github.com/repos/emmanuelidi/vert.x/deployments","created_at":"2016-08-19T19:51:25Z","updated_at":"2016-08-19T19:51:30Z","pushed_at":"2017-01-29T20:22:42Z","git_url":"git://github.com/emmanuelidi/vert.x.git","ssh_url":"git@github.com:emmanuelidi/vert.x.git","clone_url":"https://github.com/emmanuelidi/vert.x.git","svn_url":"https://github.com/emmanuelidi/vert.x","homepage":"http://vertx.io","size":96776,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"eclipse:master","ref":"master","sha":"fb3e03f02f4f167faa4825706f63e621bdd80d19","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":1911523,"name":"vert.x","full_name":"eclipse/vert.x","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/vert.x","description":"Vert.x is a tool-kit for building reactive applications on the JVM","fork":false,"url":"https://api.github.com/repos/eclipse/vert.x","forks_url":"https://api.github.com/repos/eclipse/vert.x/forks","keys_url":"https://api.github.com/repos/eclipse/vert.x/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/vert.x/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/vert.x/teams","hooks_url":"https://api.github.com/repos/eclipse/vert.x/hooks","issue_events_url":"https://api.github.com/repos/eclipse/vert.x/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/vert.x/events","assignees_url":"https://api.github.com/repos/eclipse/vert.x/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/vert.x/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/vert.x/tags","blobs_url":"https://api.github.com/repos/eclipse/vert.x/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/vert.x/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/vert.x/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/vert.x/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/vert.x/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/vert.x/languages","stargazers_url":"https://api.github.com/repos/eclipse/vert.x/stargazers","contributors_url":"https://api.github.com/repos/eclipse/vert.x/contributors","subscribers_url":"https://api.github.com/repos/eclipse/vert.x/subscribers","subscription_url":"https://api.github.com/repos/eclipse/vert.x/subscription","commits_url":"https://api.github.com/repos/eclipse/vert.x/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/vert.x/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/vert.x/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/vert.x/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/vert.x/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/vert.x/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/vert.x/merges","archive_url":"https://api.github.com/repos/eclipse/vert.x/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/vert.x/downloads","issues_url":"https://api.github.com/repos/eclipse/vert.x/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/vert.x/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/vert.x/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/vert.x/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/vert.x/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/vert.x/releases{/id}","deployments_url":"https://api.github.com/repos/eclipse/vert.x/deployments","created_at":"2011-06-17T14:54:55Z","updated_at":"2017-01-28T22:29:03Z","pushed_at":"2017-01-29T20:22:44Z","git_url":"git://github.com/eclipse/vert.x.git","ssh_url":"git@github.com:eclipse/vert.x.git","clone_url":"https://github.com/eclipse/vert.x.git","svn_url":"https://github.com/eclipse/vert.x","homepage":"http://vertx.io","size":96948,"stargazers_count":5614,"watchers_count":5614,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1063,"mirror_url":null,"open_issues_count":150,"forks":1063,"open_issues":150,"watchers":5614,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/vert.x/pulls/1784"},"html":{"href":"https://github.com/eclipse/vert.x/pull/1784"},"issue":{"href":"https://api.github.com/repos/eclipse/vert.x/issues/1784"},"comments":{"href":"https://api.github.com/repos/eclipse/vert.x/issues/1784/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/vert.x/pulls/1784/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/vert.x/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/vert.x/pulls/1784/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/vert.x/statuses/1d6e33e19f5c62723ddedbfb7d6bfc0d5b28d53f"}}}}
{"actor":{"display_login":"vietj"}}