{"action":"created","comment":{"url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/comments/28197022","id":28197022,"diff_hunk":"@@ -0,0 +1,35 @@\n+/*\n+ * Copyright 2015 the original author or authors.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *      http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package org.springframework.integration.hazelcast.message;\n+\n+/**\n+ * Hazelcast Message Headers\n+ *\n+ * @author Eren Avsarogullari\n+ * @since 1.0.0\n+ */\n+public abstract class HazelcastHeaders {\n+\n+\tprivate static final String PREFIX = \"hazelcast_\";\n+\n+\tpublic static final String EVENT = PREFIX + \"event\";\n+\n+\tpublic static final String MEMBER = PREFIX + \"member\";\n+\n+\tpublic static final String NAME = PREFIX + \"name\";","path":"spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/message/HazelcastHeaders.java","position":32,"original_position":32,"commit_id":"990b23c86edaeaff82daa0b32c74e21eb830b091","original_commit_id":"990b23c86edaeaff82daa0b32c74e21eb830b091","user":{"login":"artembilan","id":1071590,"avatar_url":"https://avatars.githubusercontent.com/u/1071590?v=3","gravatar_id":"","url":"https://api.github.com/users/artembilan","html_url":"https://github.com/artembilan","followers_url":"https://api.github.com/users/artembilan/followers","following_url":"https://api.github.com/users/artembilan/following{/other_user}","gists_url":"https://api.github.com/users/artembilan/gists{/gist_id}","starred_url":"https://api.github.com/users/artembilan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artembilan/subscriptions","organizations_url":"https://api.github.com/users/artembilan/orgs","repos_url":"https://api.github.com/users/artembilan/repos","events_url":"https://api.github.com/users/artembilan/events{/privacy}","received_events_url":"https://api.github.com/users/artembilan/received_events","type":"User","site_admin":false},"body":"What is the purpose of this `NAME`?\r\n`The name of the map for this event` ?\r\nSo, how about to make it more clear: `MAP_NAME` ?","created_at":"2015-04-11T17:56:56Z","updated_at":"2015-04-11T17:56:56Z","html_url":"https://github.com/spring-projects/spring-integration-extensions/pull/138#discussion_r28197022","pull_request_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/138","_links":{"self":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/comments/28197022"},"html":{"href":"https://github.com/spring-projects/spring-integration-extensions/pull/138#discussion_r28197022"},"pull_request":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/138"}}},"pull_request":{"url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/138","id":32718532,"html_url":"https://github.com/spring-projects/spring-integration-extensions/pull/138","diff_url":"https://github.com/spring-projects/spring-integration-extensions/pull/138.diff","patch_url":"https://github.com/spring-projects/spring-integration-extensions/pull/138.patch","issue_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues/138","number":138,"state":"open","locked":false,"title":"INTEXT-150 - Extract Hazelcast Headers and Payloads","user":{"login":"erenavsarogullari","id":1437738,"avatar_url":"https://avatars.githubusercontent.com/u/1437738?v=3","gravatar_id":"","url":"https://api.github.com/users/erenavsarogullari","html_url":"https://github.com/erenavsarogullari","followers_url":"https://api.github.com/users/erenavsarogullari/followers","following_url":"https://api.github.com/users/erenavsarogullari/following{/other_user}","gists_url":"https://api.github.com/users/erenavsarogullari/gists{/gist_id}","starred_url":"https://api.github.com/users/erenavsarogullari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erenavsarogullari/subscriptions","organizations_url":"https://api.github.com/users/erenavsarogullari/orgs","repos_url":"https://api.github.com/users/erenavsarogullari/repos","events_url":"https://api.github.com/users/erenavsarogullari/events{/privacy}","received_events_url":"https://api.github.com/users/erenavsarogullari/received_events","type":"User","site_admin":false},"body":"**JIRA :** https://jira.spring.io/browse/INTEXT-150\r\n\r\nThis feature has been developed to support more meaningful Hazelcast Headers and Payloads.\r\n\r\n**All Hazelcast Headers :** event, member, name and publishingTime\r\n\r\n**For EntryEvent :**\r\nHeader : event, member and name.\r\nPayload : key, oldValue and value(EntryEventMessagePayload object has been created to cover these fields)\r\n\r\n**For MapEvent :**\r\nHeader : event, member and name.\r\nPayload : numberOfEntriesAffected (EntryEventMessagePayload object has been created to cover this field)\r\n\r\n**For ItemEvent :**\r\nHeader : event and member.\r\nPayload : item\r\n\r\n**For MessageEvent :**\r\nHeader : member, name and publishingTime\r\nPayload : message","created_at":"2015-04-06T22:40:14Z","updated_at":"2015-04-11T17:56:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a45b32eff6dd9d2c5c56b50d7e0e8cc98bb8289","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/138/commits","review_comments_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/138/comments","review_comment_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues/138/comments","statuses_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/statuses/990b23c86edaeaff82daa0b32c74e21eb830b091","head":{"label":"erenavsarogullari:INTEXT-150","ref":"INTEXT-150","sha":"990b23c86edaeaff82daa0b32c74e21eb830b091","user":{"login":"erenavsarogullari","id":1437738,"avatar_url":"https://avatars.githubusercontent.com/u/1437738?v=3","gravatar_id":"","url":"https://api.github.com/users/erenavsarogullari","html_url":"https://github.com/erenavsarogullari","followers_url":"https://api.github.com/users/erenavsarogullari/followers","following_url":"https://api.github.com/users/erenavsarogullari/following{/other_user}","gists_url":"https://api.github.com/users/erenavsarogullari/gists{/gist_id}","starred_url":"https://api.github.com/users/erenavsarogullari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erenavsarogullari/subscriptions","organizations_url":"https://api.github.com/users/erenavsarogullari/orgs","repos_url":"https://api.github.com/users/erenavsarogullari/repos","events_url":"https://api.github.com/users/erenavsarogullari/events{/privacy}","received_events_url":"https://api.github.com/users/erenavsarogullari/received_events","type":"User","site_admin":false},"repo":{"id":31688571,"name":"spring-integration-extensions","full_name":"erenavsarogullari/spring-integration-extensions","owner":{"login":"erenavsarogullari","id":1437738,"avatar_url":"https://avatars.githubusercontent.com/u/1437738?v=3","gravatar_id":"","url":"https://api.github.com/users/erenavsarogullari","html_url":"https://github.com/erenavsarogullari","followers_url":"https://api.github.com/users/erenavsarogullari/followers","following_url":"https://api.github.com/users/erenavsarogullari/following{/other_user}","gists_url":"https://api.github.com/users/erenavsarogullari/gists{/gist_id}","starred_url":"https://api.github.com/users/erenavsarogullari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erenavsarogullari/subscriptions","organizations_url":"https://api.github.com/users/erenavsarogullari/orgs","repos_url":"https://api.github.com/users/erenavsarogullari/repos","events_url":"https://api.github.com/users/erenavsarogullari/events{/privacy}","received_events_url":"https://api.github.com/users/erenavsarogullari/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erenavsarogullari/spring-integration-extensions","description":"The Spring Integration Extensions project provides extension components for Spring Integration","fork":true,"url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions","forks_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/forks","keys_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/teams","hooks_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/hooks","issue_events_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/events","assignees_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/tags","blobs_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/languages","stargazers_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/stargazers","contributors_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/contributors","subscribers_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/subscribers","subscription_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/subscription","commits_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/merges","archive_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/downloads","issues_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/labels{/name}","releases_url":"https://api.github.com/repos/erenavsarogullari/spring-integration-extensions/releases{/id}","created_at":"2015-03-05T01:03:46Z","updated_at":"2015-04-08T23:25:01Z","pushed_at":"2015-04-11T16:34:22Z","git_url":"git://github.com/erenavsarogullari/spring-integration-extensions.git","ssh_url":"git@github.com:erenavsarogullari/spring-integration-extensions.git","clone_url":"https://github.com/erenavsarogullari/spring-integration-extensions.git","svn_url":"https://github.com/erenavsarogullari/spring-integration-extensions","homepage":"http://www.springintegration.org/","size":1964,"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":"spring-projects:master","ref":"master","sha":"4ed2153a45db968a0a739464137856f998e7dbfe","user":{"login":"spring-projects","id":317776,"avatar_url":"https://avatars.githubusercontent.com/u/317776?v=3","gravatar_id":"","url":"https://api.github.com/users/spring-projects","html_url":"https://github.com/spring-projects","followers_url":"https://api.github.com/users/spring-projects/followers","following_url":"https://api.github.com/users/spring-projects/following{/other_user}","gists_url":"https://api.github.com/users/spring-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-projects/subscriptions","organizations_url":"https://api.github.com/users/spring-projects/orgs","repos_url":"https://api.github.com/users/spring-projects/repos","events_url":"https://api.github.com/users/spring-projects/events{/privacy}","received_events_url":"https://api.github.com/users/spring-projects/received_events","type":"Organization","site_admin":false},"repo":{"id":4653065,"name":"spring-integration-extensions","full_name":"spring-projects/spring-integration-extensions","owner":{"login":"spring-projects","id":317776,"avatar_url":"https://avatars.githubusercontent.com/u/317776?v=3","gravatar_id":"","url":"https://api.github.com/users/spring-projects","html_url":"https://github.com/spring-projects","followers_url":"https://api.github.com/users/spring-projects/followers","following_url":"https://api.github.com/users/spring-projects/following{/other_user}","gists_url":"https://api.github.com/users/spring-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-projects/subscriptions","organizations_url":"https://api.github.com/users/spring-projects/orgs","repos_url":"https://api.github.com/users/spring-projects/repos","events_url":"https://api.github.com/users/spring-projects/events{/privacy}","received_events_url":"https://api.github.com/users/spring-projects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spring-projects/spring-integration-extensions","description":"The Spring Integration Extensions project provides extension components for Spring Integration","fork":false,"url":"https://api.github.com/repos/spring-projects/spring-integration-extensions","forks_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/forks","keys_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/teams","hooks_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/hooks","issue_events_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/events","assignees_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/tags","blobs_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/languages","stargazers_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/stargazers","contributors_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/contributors","subscribers_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/subscribers","subscription_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/subscription","commits_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/merges","archive_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/downloads","issues_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/labels{/name}","releases_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/releases{/id}","created_at":"2012-06-13T16:05:52Z","updated_at":"2015-04-10T15:53:20Z","pushed_at":"2015-04-11T16:34:22Z","git_url":"git://github.com/spring-projects/spring-integration-extensions.git","ssh_url":"git@github.com:spring-projects/spring-integration-extensions.git","clone_url":"https://github.com/spring-projects/spring-integration-extensions.git","svn_url":"https://github.com/spring-projects/spring-integration-extensions","homepage":"http://www.springintegration.org/","size":18038,"stargazers_count":101,"watchers_count":101,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":136,"mirror_url":null,"open_issues_count":6,"forks":136,"open_issues":6,"watchers":101,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/138"},"html":{"href":"https://github.com/spring-projects/spring-integration-extensions/pull/138"},"issue":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues/138"},"comments":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues/138/comments"},"review_comments":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/138/comments"},"review_comment":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/138/commits"},"statuses":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/statuses/990b23c86edaeaff82daa0b32c74e21eb830b091"}}}}