{"action":"created","comment":{"url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/comments/26449663","id":26449663,"diff_hunk":"@@ -0,0 +1,30 @@\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+\n+package org.springframework.integration.hazelcast.common;\n+\n+/**\n+ * Enumeration of Cache Event Types of Hazelcast Inbound Channel Adapter","path":"spring-integration-hazelcast/src/main/java/org/springframework/integration/hazelcast/common/CacheEventType.java","position":20,"original_position":20,"commit_id":"a61f87e7d0120cf080f5ba8900644a1c671df3fb","original_commit_id":"a61f87e7d0120cf080f5ba8900644a1c671df3fb","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":"No reason to mention `Hazelcast Inbound Channel Adapter` from the description JavaDoc.\r\nYou can use `@see AbstractHazelcastMessageProducer`  after `@since`","created_at":"2015-03-15T17:22:16Z","updated_at":"2015-03-15T17:22:16Z","html_url":"https://github.com/spring-projects/spring-integration-extensions/pull/136#discussion_r26449663","pull_request_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/136","_links":{"self":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/comments/26449663"},"html":{"href":"https://github.com/spring-projects/spring-integration-extensions/pull/136#discussion_r26449663"},"pull_request":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/136"}}},"pull_request":{"url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/136","id":30523575,"html_url":"https://github.com/spring-projects/spring-integration-extensions/pull/136","diff_url":"https://github.com/spring-projects/spring-integration-extensions/pull/136.diff","patch_url":"https://github.com/spring-projects/spring-integration-extensions/pull/136.patch","issue_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues/136","number":136,"state":"open","locked":false,"title":"INTEXT-142 : Add Spring Integration Hazelcast Support","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-142\r\n\r\nSpring Integration Hazelcast Support offers both Event-Driven & Polling Inbound and Outbound Channel Adapters to integrate SI Messaging Systems with Hazelcast Clusters easily as follows :\r\n\r\n* **Hazelcast Inbound Channel Adapter :** is an event-driven inbound channel adapter. It listens defined cache events and sends event messages to defined channel. Its sample definition is as follows :\r\n```\r\n   <int-hazelcast:inbound-channel-adapter channel=\"mapChannel\" \r\n\t\t\t\t\t  cache=\"map\" \r\n\t\t\t\t\t  cache-events=\"UPDATED, REMOVED\"\r\n\t\t\t\t\t  cache-listening-policy=\"SINGLE\" /> \r\n```\r\n* **Hazelcast Continuous Query Inbound Channel Adapter :** is an event-driven inbound channel adapter. It listens defined distributed map events in the light of defined predicate and sends event messages to defined channel. Its sample definition is as follows :\r\n```\r\n<int-hazelcast:cq-inbound-channel-adapter \r\n\t\t\t\tchannel=\"cqMapChannel\" \r\n\t\t\t\tcache=\"cqMap\" \r\n\t\t\t\tcache-events=\"UPDATED, REMOVED\" \r\n\t\t\t\tpredicate=\"name=TestName AND surname=TestSurname\" /> \r\n```\r\n* **Hazelcast Distributed-SQL Inbound Channel Adapter :** is a poller-driven inbound channel adapter. It runs defined distributed query in the cluster and sends results in the light of iteration type to defined channel. Its sample definition is as follows :\r\n```\r\n<int-hazelcast:ds-inbound-channel-adapter  \r\n\t\t\t     channel=\"dsMapChannel\" \r\n\t\t\t     cache=\"dsMap\"\r\n \t\t\t     iteration-type=\"ENTRY\" \r\n                 distributed-sql=\"active=false OR age >= 25 OR name = 'TestName'\"> \r\n\t<int:poller cron=\"*/10 * * * * *\"/> \r\n</int-hazelcast:ds-inbound-channel-adapter> \r\n```\r\n* **Hazelcast Outbound Channel Adapter :** listens its defined channel and writes incoming messages to defined distributed cache(Supported data structures : java.util.Map, List, Set and Queue). Its sample definition is as follows :\r\n```\r\n<int-hazelcast:outbound-channel-adapter  channel=\"mapChannel\" cache=\"distributedMap\" /> \r\n```","created_at":"2015-03-05T01:52:54Z","updated_at":"2015-03-15T17:22:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8f1af1a823c744424eb31174ff5065903c5643f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/136/commits","review_comments_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/136/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/136/comments","statuses_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/statuses/a61f87e7d0120cf080f5ba8900644a1c671df3fb","head":{"label":"erenavsarogullari:INTEXT-142","ref":"INTEXT-142","sha":"a61f87e7d0120cf080f5ba8900644a1c671df3fb","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-03-05T01:03:47Z","pushed_at":"2015-03-15T01:00:45Z","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":1934,"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":"fddd7e47b4f179d31c2910548da1a63a737a48e2","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-03-11T10:18:30Z","pushed_at":"2014-12-08T17:42:04Z","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":18814,"stargazers_count":99,"watchers_count":99,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":131,"mirror_url":null,"open_issues_count":6,"forks":131,"open_issues":6,"watchers":99,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/136"},"html":{"href":"https://github.com/spring-projects/spring-integration-extensions/pull/136"},"issue":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues/136"},"comments":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/136/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/136/commits"},"statuses":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/statuses/a61f87e7d0120cf080f5ba8900644a1c671df3fb"}}}}