{"action":"created","comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/pulls/comments/38593324","id":38593324,"diff_hunk":"@@ -0,0 +1,43 @@\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.cloud.stream.annotation.rxjava;\n+\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.cloud.stream.annotation.Processor;\n+import org.springframework.context.annotation.Bean;\n+import org.springframework.context.annotation.Configuration;\n+import org.springframework.integration.annotation.ServiceActivator;\n+import org.springframework.messaging.MessageHandler;\n+\n+/**\n+ * Configuration class for RxJava module support.\n+ *\n+ * @author Ilayaperumal Gopinathan\n+ */\n+@Configuration\n+public class RxJavaConfiguration {","path":"spring-cloud-stream-rxjava/src/main/java/org/springframework/cloud/stream/annotation/rxjava/RxJavaConfiguration.java","position":31,"original_position":31,"commit_id":"ce56bd7a1745e5fccb83e6a19201ff2c1c75f467","original_commit_id":"ce56bd7a1745e5fccb83e6a19201ff2c1c75f467","user":{"login":"mbogoevici","id":159684,"avatar_url":"https://avatars.githubusercontent.com/u/159684?v=3","gravatar_id":"","url":"https://api.github.com/users/mbogoevici","html_url":"https://github.com/mbogoevici","followers_url":"https://api.github.com/users/mbogoevici/followers","following_url":"https://api.github.com/users/mbogoevici/following{/other_user}","gists_url":"https://api.github.com/users/mbogoevici/gists{/gist_id}","starred_url":"https://api.github.com/users/mbogoevici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbogoevici/subscriptions","organizations_url":"https://api.github.com/users/mbogoevici/orgs","repos_url":"https://api.github.com/users/mbogoevici/repos","events_url":"https://api.github.com/users/mbogoevici/events{/privacy}","received_events_url":"https://api.github.com/users/mbogoevici/received_events","type":"User","site_admin":false},"body":"Let's rename this to `@RxJavaProcessorConfiguration`, partly in accordance with https://github.com/spring-cloud/spring-cloud-stream/pull/116/files#r38593219, but also because it indicates better what do we enable with respect to RxJava. ","created_at":"2015-09-02T22:31:03Z","updated_at":"2015-09-02T22:31:03Z","html_url":"https://github.com/spring-cloud/spring-cloud-stream/pull/116#discussion_r38593324","pull_request_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/pulls/116","_links":{"self":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/pulls/comments/38593324"},"html":{"href":"https://github.com/spring-cloud/spring-cloud-stream/pull/116#discussion_r38593324"},"pull_request":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/pulls/116"}}},"pull_request":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/pulls/116","id":43957833,"html_url":"https://github.com/spring-cloud/spring-cloud-stream/pull/116","diff_url":"https://github.com/spring-cloud/spring-cloud-stream/pull/116.diff","patch_url":"https://github.com/spring-cloud/spring-cloud-stream/pull/116.patch","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/issues/116","number":116,"state":"open","locked":false,"title":"Support RxJava module","user":{"login":"ilayaperumalg","id":151690,"avatar_url":"https://avatars.githubusercontent.com/u/151690?v=3","gravatar_id":"","url":"https://api.github.com/users/ilayaperumalg","html_url":"https://github.com/ilayaperumalg","followers_url":"https://api.github.com/users/ilayaperumalg/followers","following_url":"https://api.github.com/users/ilayaperumalg/following{/other_user}","gists_url":"https://api.github.com/users/ilayaperumalg/gists{/gist_id}","starred_url":"https://api.github.com/users/ilayaperumalg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilayaperumalg/subscriptions","organizations_url":"https://api.github.com/users/ilayaperumalg/orgs","repos_url":"https://api.github.com/users/ilayaperumalg/repos","events_url":"https://api.github.com/users/ilayaperumalg/events{/privacy}","received_events_url":"https://api.github.com/users/ilayaperumalg/received_events","type":"User","site_admin":false},"body":" - Add a way to enable `RxJava` module\r\n   - Add `EnableRxJavaModule` annotation that inherits `EnableModule` for `Processor` type.\r\n      - It also registers the custom `MessageHandler` that sets up RxJava `Observable/Subscriber` to process the incoming message reactively.\r\n      - Introduce `RxJavaProcessor` that is expected to be implemented by the module author with the input/output being `Observable`. This processor is autowired into the message handler registered above.\r\n - Add moving average sample","created_at":"2015-09-02T06:28:28Z","updated_at":"2015-09-02T22:31:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25e51a70200eebbceb8b3d4af6026eab69f76439","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/pulls/116/commits","review_comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/pulls/116/comments","review_comment_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/issues/116/comments","statuses_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/statuses/ce56bd7a1745e5fccb83e6a19201ff2c1c75f467","head":{"label":"ilayaperumalg:rxjava-module-support","ref":"rxjava-module-support","sha":"ce56bd7a1745e5fccb83e6a19201ff2c1c75f467","user":{"login":"ilayaperumalg","id":151690,"avatar_url":"https://avatars.githubusercontent.com/u/151690?v=3","gravatar_id":"","url":"https://api.github.com/users/ilayaperumalg","html_url":"https://github.com/ilayaperumalg","followers_url":"https://api.github.com/users/ilayaperumalg/followers","following_url":"https://api.github.com/users/ilayaperumalg/following{/other_user}","gists_url":"https://api.github.com/users/ilayaperumalg/gists{/gist_id}","starred_url":"https://api.github.com/users/ilayaperumalg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilayaperumalg/subscriptions","organizations_url":"https://api.github.com/users/ilayaperumalg/orgs","repos_url":"https://api.github.com/users/ilayaperumalg/repos","events_url":"https://api.github.com/users/ilayaperumalg/events{/privacy}","received_events_url":"https://api.github.com/users/ilayaperumalg/received_events","type":"User","site_admin":false},"repo":{"id":38768604,"name":"spring-cloud-stream","full_name":"ilayaperumalg/spring-cloud-stream","owner":{"login":"ilayaperumalg","id":151690,"avatar_url":"https://avatars.githubusercontent.com/u/151690?v=3","gravatar_id":"","url":"https://api.github.com/users/ilayaperumalg","html_url":"https://github.com/ilayaperumalg","followers_url":"https://api.github.com/users/ilayaperumalg/followers","following_url":"https://api.github.com/users/ilayaperumalg/following{/other_user}","gists_url":"https://api.github.com/users/ilayaperumalg/gists{/gist_id}","starred_url":"https://api.github.com/users/ilayaperumalg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilayaperumalg/subscriptions","organizations_url":"https://api.github.com/users/ilayaperumalg/orgs","repos_url":"https://api.github.com/users/ilayaperumalg/repos","events_url":"https://api.github.com/users/ilayaperumalg/events{/privacy}","received_events_url":"https://api.github.com/users/ilayaperumalg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ilayaperumalg/spring-cloud-stream","description":"Messaging Microservices with Spring Integration","fork":true,"url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream","forks_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/forks","keys_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/teams","hooks_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/hooks","issue_events_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/issues/events{/number}","events_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/events","assignees_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/assignees{/user}","branches_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/branches{/branch}","tags_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/tags","blobs_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/git/refs{/sha}","trees_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/statuses/{sha}","languages_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/languages","stargazers_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/stargazers","contributors_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/contributors","subscribers_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/subscribers","subscription_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/subscription","commits_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/commits{/sha}","git_commits_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/git/commits{/sha}","comments_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/comments{/number}","issue_comment_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/issues/comments{/number}","contents_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/contents/{+path}","compare_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/merges","archive_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/downloads","issues_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/issues{/number}","pulls_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/pulls{/number}","milestones_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/milestones{/number}","notifications_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/labels{/name}","releases_url":"https://api.github.com/repos/ilayaperumalg/spring-cloud-stream/releases{/id}","created_at":"2015-07-08T17:17:59Z","updated_at":"2015-07-16T05:31:31Z","pushed_at":"2015-09-02T18:57:54Z","git_url":"git://github.com/ilayaperumalg/spring-cloud-stream.git","ssh_url":"git@github.com:ilayaperumalg/spring-cloud-stream.git","clone_url":"https://github.com/ilayaperumalg/spring-cloud-stream.git","svn_url":"https://github.com/ilayaperumalg/spring-cloud-stream","homepage":null,"size":1137,"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-cloud:master","ref":"master","sha":"d4425b3a523c38c3268d7c3c1325ee205f3afe26","user":{"login":"spring-cloud","id":7815877,"avatar_url":"https://avatars.githubusercontent.com/u/7815877?v=3","gravatar_id":"","url":"https://api.github.com/users/spring-cloud","html_url":"https://github.com/spring-cloud","followers_url":"https://api.github.com/users/spring-cloud/followers","following_url":"https://api.github.com/users/spring-cloud/following{/other_user}","gists_url":"https://api.github.com/users/spring-cloud/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-cloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-cloud/subscriptions","organizations_url":"https://api.github.com/users/spring-cloud/orgs","repos_url":"https://api.github.com/users/spring-cloud/repos","events_url":"https://api.github.com/users/spring-cloud/events{/privacy}","received_events_url":"https://api.github.com/users/spring-cloud/received_events","type":"Organization","site_admin":false},"repo":{"id":38764029,"name":"spring-cloud-stream","full_name":"spring-cloud/spring-cloud-stream","owner":{"login":"spring-cloud","id":7815877,"avatar_url":"https://avatars.githubusercontent.com/u/7815877?v=3","gravatar_id":"","url":"https://api.github.com/users/spring-cloud","html_url":"https://github.com/spring-cloud","followers_url":"https://api.github.com/users/spring-cloud/followers","following_url":"https://api.github.com/users/spring-cloud/following{/other_user}","gists_url":"https://api.github.com/users/spring-cloud/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-cloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-cloud/subscriptions","organizations_url":"https://api.github.com/users/spring-cloud/orgs","repos_url":"https://api.github.com/users/spring-cloud/repos","events_url":"https://api.github.com/users/spring-cloud/events{/privacy}","received_events_url":"https://api.github.com/users/spring-cloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spring-cloud/spring-cloud-stream","description":"Messaging Microservices with Spring Integration","fork":false,"url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream","forks_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/forks","keys_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/teams","hooks_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/hooks","issue_events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/issues/events{/number}","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/events","assignees_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/assignees{/user}","branches_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/branches{/branch}","tags_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/tags","blobs_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/git/refs{/sha}","trees_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/statuses/{sha}","languages_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/languages","stargazers_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/stargazers","contributors_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/contributors","subscribers_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/subscribers","subscription_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/subscription","commits_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/commits{/sha}","git_commits_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/git/commits{/sha}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/comments{/number}","issue_comment_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/issues/comments{/number}","contents_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/contents/{+path}","compare_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/merges","archive_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/downloads","issues_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/issues{/number}","pulls_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/pulls{/number}","milestones_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/milestones{/number}","notifications_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/labels{/name}","releases_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/releases{/id}","created_at":"2015-07-08T15:51:38Z","updated_at":"2015-08-27T17:43:34Z","pushed_at":"2015-09-02T22:18:13Z","git_url":"git://github.com/spring-cloud/spring-cloud-stream.git","ssh_url":"git@github.com:spring-cloud/spring-cloud-stream.git","clone_url":"https://github.com/spring-cloud/spring-cloud-stream.git","svn_url":"https://github.com/spring-cloud/spring-cloud-stream","homepage":"http://cloud.spring.io/spring-cloud-stream/","size":3043,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"open_issues_count":11,"forks":16,"open_issues":11,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/pulls/116"},"html":{"href":"https://github.com/spring-cloud/spring-cloud-stream/pull/116"},"issue":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/issues/116"},"comments":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/issues/116/comments"},"review_comments":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/pulls/116/comments"},"review_comment":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/pulls/116/commits"},"statuses":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream/statuses/ce56bd7a1745e5fccb83e6a19201ff2c1c75f467"}}}}