{"action":"created","comment":{"url":"https://api.github.com/repos/tracee/tracee/pulls/comments/23496126","id":23496126,"diff_hunk":"@@ -0,0 +1,74 @@\n+package io.tracee.binding.springamqp;\n+\n+import com.rabbitmq.client.AMQP;\n+import com.rabbitmq.client.Envelope;\n+import io.tracee.Tracee;\n+import io.tracee.TraceeBackend;\n+import io.tracee.TraceeConstants;\n+import io.tracee.configuration.TraceeFilterConfiguration;\n+import io.tracee.transport.HttpHeaderTransport;\n+import org.springframework.amqp.core.MessageProperties;\n+import org.springframework.amqp.rabbit.support.DefaultMessagePropertiesConverter;\n+\n+import java.util.Arrays;\n+import java.util.Map;\n+\n+import static io.tracee.configuration.TraceeFilterConfiguration.Channel.IncomingResponse;\n+import static io.tracee.configuration.TraceeFilterConfiguration.Channel.OutgoingRequest;\n+\n+public class TraceeMessagePropertiesConverter extends DefaultMessagePropertiesConverter {\n+\n+\tprivate final TraceeBackend backend;\n+\tprivate final HttpHeaderTransport transportSerialization;","path":"binding/springamqp/src/main/java/io/tracee/binding/springamqp/TraceeMessagePropertiesConverter.java","position":22,"original_position":22,"commit_id":"5db938f0aaa75b8cd08e74dacfa6f52474713885","original_commit_id":"5db938f0aaa75b8cd08e74dacfa6f52474713885","user":{"login":"SvenBunge","id":2501349,"avatar_url":"https://avatars.githubusercontent.com/u/2501349?v=3","gravatar_id":"","url":"https://api.github.com/users/SvenBunge","html_url":"https://github.com/SvenBunge","followers_url":"https://api.github.com/users/SvenBunge/followers","following_url":"https://api.github.com/users/SvenBunge/following{/other_user}","gists_url":"https://api.github.com/users/SvenBunge/gists{/gist_id}","starred_url":"https://api.github.com/users/SvenBunge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvenBunge/subscriptions","organizations_url":"https://api.github.com/users/SvenBunge/orgs","repos_url":"https://api.github.com/users/SvenBunge/repos","events_url":"https://api.github.com/users/SvenBunge/events{/privacy}","received_events_url":"https://api.github.com/users/SvenBunge/received_events","type":"User","site_admin":false},"body":"Is there a reason for tracee context serialization? I read the Spring Javadoc and the AMQP-Header is able to deal with objects. Maybe we could store a Map directly like we do in the JMS-Implementation as well. (See `io.tracee.binding.jms.TraceeMessageListener`for example).","created_at":"2015-01-24T12:38:53Z","updated_at":"2015-01-24T12:38:53Z","html_url":"https://github.com/tracee/tracee/pull/87#discussion_r23496126","pull_request_url":"https://api.github.com/repos/tracee/tracee/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/tracee/tracee/pulls/comments/23496126"},"html":{"href":"https://github.com/tracee/tracee/pull/87#discussion_r23496126"},"pull_request":{"href":"https://api.github.com/repos/tracee/tracee/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/tracee/tracee/pulls/87","id":27975568,"html_url":"https://github.com/tracee/tracee/pull/87","diff_url":"https://github.com/tracee/tracee/pull/87.diff","patch_url":"https://github.com/tracee/tracee/pull/87.patch","issue_url":"https://api.github.com/repos/tracee/tracee/issues/87","number":87,"state":"open","locked":false,"title":"WIP: First attempt to implement spring amqp rabbit functionality","user":{"login":"mplushnikov","id":1204509,"avatar_url":"https://avatars.githubusercontent.com/u/1204509?v=3","gravatar_id":"","url":"https://api.github.com/users/mplushnikov","html_url":"https://github.com/mplushnikov","followers_url":"https://api.github.com/users/mplushnikov/followers","following_url":"https://api.github.com/users/mplushnikov/following{/other_user}","gists_url":"https://api.github.com/users/mplushnikov/gists{/gist_id}","starred_url":"https://api.github.com/users/mplushnikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mplushnikov/subscriptions","organizations_url":"https://api.github.com/users/mplushnikov/orgs","repos_url":"https://api.github.com/users/mplushnikov/repos","events_url":"https://api.github.com/users/mplushnikov/events{/privacy}","received_events_url":"https://api.github.com/users/mplushnikov/received_events","type":"User","site_admin":false},"body":"First attempt to implement spring amqp rabbit functionality","created_at":"2015-01-24T11:51:45Z","updated_at":"2015-01-24T12:38:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0293c2428ed9e54008e19b70a0902fd18fc2240","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tracee/tracee/pulls/87/commits","review_comments_url":"https://api.github.com/repos/tracee/tracee/pulls/87/comments","review_comment_url":"https://api.github.com/repos/tracee/tracee/pulls/comments/{number}","comments_url":"https://api.github.com/repos/tracee/tracee/issues/87/comments","statuses_url":"https://api.github.com/repos/tracee/tracee/statuses/5db938f0aaa75b8cd08e74dacfa6f52474713885","head":{"label":"as-ideas:spring_amqp_binding","ref":"spring_amqp_binding","sha":"5db938f0aaa75b8cd08e74dacfa6f52474713885","user":{"login":"as-ideas","id":6329093,"avatar_url":"https://avatars.githubusercontent.com/u/6329093?v=3","gravatar_id":"","url":"https://api.github.com/users/as-ideas","html_url":"https://github.com/as-ideas","followers_url":"https://api.github.com/users/as-ideas/followers","following_url":"https://api.github.com/users/as-ideas/following{/other_user}","gists_url":"https://api.github.com/users/as-ideas/gists{/gist_id}","starred_url":"https://api.github.com/users/as-ideas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/as-ideas/subscriptions","organizations_url":"https://api.github.com/users/as-ideas/orgs","repos_url":"https://api.github.com/users/as-ideas/repos","events_url":"https://api.github.com/users/as-ideas/events{/privacy}","received_events_url":"https://api.github.com/users/as-ideas/received_events","type":"Organization","site_admin":false},"repo":{"id":29769731,"name":"tracee","full_name":"as-ideas/tracee","owner":{"login":"as-ideas","id":6329093,"avatar_url":"https://avatars.githubusercontent.com/u/6329093?v=3","gravatar_id":"","url":"https://api.github.com/users/as-ideas","html_url":"https://github.com/as-ideas","followers_url":"https://api.github.com/users/as-ideas/followers","following_url":"https://api.github.com/users/as-ideas/following{/other_user}","gists_url":"https://api.github.com/users/as-ideas/gists{/gist_id}","starred_url":"https://api.github.com/users/as-ideas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/as-ideas/subscriptions","organizations_url":"https://api.github.com/users/as-ideas/orgs","repos_url":"https://api.github.com/users/as-ideas/repos","events_url":"https://api.github.com/users/as-ideas/events{/privacy}","received_events_url":"https://api.github.com/users/as-ideas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/as-ideas/tracee","description":"TracEE, a framework for invocation context propagation in distributed JavaEE applications.","fork":true,"url":"https://api.github.com/repos/as-ideas/tracee","forks_url":"https://api.github.com/repos/as-ideas/tracee/forks","keys_url":"https://api.github.com/repos/as-ideas/tracee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/as-ideas/tracee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/as-ideas/tracee/teams","hooks_url":"https://api.github.com/repos/as-ideas/tracee/hooks","issue_events_url":"https://api.github.com/repos/as-ideas/tracee/issues/events{/number}","events_url":"https://api.github.com/repos/as-ideas/tracee/events","assignees_url":"https://api.github.com/repos/as-ideas/tracee/assignees{/user}","branches_url":"https://api.github.com/repos/as-ideas/tracee/branches{/branch}","tags_url":"https://api.github.com/repos/as-ideas/tracee/tags","blobs_url":"https://api.github.com/repos/as-ideas/tracee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/as-ideas/tracee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/as-ideas/tracee/git/refs{/sha}","trees_url":"https://api.github.com/repos/as-ideas/tracee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/as-ideas/tracee/statuses/{sha}","languages_url":"https://api.github.com/repos/as-ideas/tracee/languages","stargazers_url":"https://api.github.com/repos/as-ideas/tracee/stargazers","contributors_url":"https://api.github.com/repos/as-ideas/tracee/contributors","subscribers_url":"https://api.github.com/repos/as-ideas/tracee/subscribers","subscription_url":"https://api.github.com/repos/as-ideas/tracee/subscription","commits_url":"https://api.github.com/repos/as-ideas/tracee/commits{/sha}","git_commits_url":"https://api.github.com/repos/as-ideas/tracee/git/commits{/sha}","comments_url":"https://api.github.com/repos/as-ideas/tracee/comments{/number}","issue_comment_url":"https://api.github.com/repos/as-ideas/tracee/issues/comments/{number}","contents_url":"https://api.github.com/repos/as-ideas/tracee/contents/{+path}","compare_url":"https://api.github.com/repos/as-ideas/tracee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/as-ideas/tracee/merges","archive_url":"https://api.github.com/repos/as-ideas/tracee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/as-ideas/tracee/downloads","issues_url":"https://api.github.com/repos/as-ideas/tracee/issues{/number}","pulls_url":"https://api.github.com/repos/as-ideas/tracee/pulls{/number}","milestones_url":"https://api.github.com/repos/as-ideas/tracee/milestones{/number}","notifications_url":"https://api.github.com/repos/as-ideas/tracee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/as-ideas/tracee/labels{/name}","releases_url":"https://api.github.com/repos/as-ideas/tracee/releases{/id}","created_at":"2015-01-24T07:53:29Z","updated_at":"2015-01-24T07:53:30Z","pushed_at":"2015-01-24T11:57:04Z","git_url":"git://github.com/as-ideas/tracee.git","ssh_url":"git@github.com:as-ideas/tracee.git","clone_url":"https://github.com/as-ideas/tracee.git","svn_url":"https://github.com/as-ideas/tracee","homepage":"http://tracee.io","size":6283,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"tracee:master","ref":"master","sha":"4ce235fa935b8a52271ac93f68df412b51843962","user":{"login":"tracee","id":7247624,"avatar_url":"https://avatars.githubusercontent.com/u/7247624?v=3","gravatar_id":"","url":"https://api.github.com/users/tracee","html_url":"https://github.com/tracee","followers_url":"https://api.github.com/users/tracee/followers","following_url":"https://api.github.com/users/tracee/following{/other_user}","gists_url":"https://api.github.com/users/tracee/gists{/gist_id}","starred_url":"https://api.github.com/users/tracee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracee/subscriptions","organizations_url":"https://api.github.com/users/tracee/orgs","repos_url":"https://api.github.com/users/tracee/repos","events_url":"https://api.github.com/users/tracee/events{/privacy}","received_events_url":"https://api.github.com/users/tracee/received_events","type":"Organization","site_admin":false},"repo":{"id":14616420,"name":"tracee","full_name":"tracee/tracee","owner":{"login":"tracee","id":7247624,"avatar_url":"https://avatars.githubusercontent.com/u/7247624?v=3","gravatar_id":"","url":"https://api.github.com/users/tracee","html_url":"https://github.com/tracee","followers_url":"https://api.github.com/users/tracee/followers","following_url":"https://api.github.com/users/tracee/following{/other_user}","gists_url":"https://api.github.com/users/tracee/gists{/gist_id}","starred_url":"https://api.github.com/users/tracee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracee/subscriptions","organizations_url":"https://api.github.com/users/tracee/orgs","repos_url":"https://api.github.com/users/tracee/repos","events_url":"https://api.github.com/users/tracee/events{/privacy}","received_events_url":"https://api.github.com/users/tracee/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tracee/tracee","description":"TracEE, a framework for invocation context propagation in distributed JavaEE applications.","fork":false,"url":"https://api.github.com/repos/tracee/tracee","forks_url":"https://api.github.com/repos/tracee/tracee/forks","keys_url":"https://api.github.com/repos/tracee/tracee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tracee/tracee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tracee/tracee/teams","hooks_url":"https://api.github.com/repos/tracee/tracee/hooks","issue_events_url":"https://api.github.com/repos/tracee/tracee/issues/events{/number}","events_url":"https://api.github.com/repos/tracee/tracee/events","assignees_url":"https://api.github.com/repos/tracee/tracee/assignees{/user}","branches_url":"https://api.github.com/repos/tracee/tracee/branches{/branch}","tags_url":"https://api.github.com/repos/tracee/tracee/tags","blobs_url":"https://api.github.com/repos/tracee/tracee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tracee/tracee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tracee/tracee/git/refs{/sha}","trees_url":"https://api.github.com/repos/tracee/tracee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tracee/tracee/statuses/{sha}","languages_url":"https://api.github.com/repos/tracee/tracee/languages","stargazers_url":"https://api.github.com/repos/tracee/tracee/stargazers","contributors_url":"https://api.github.com/repos/tracee/tracee/contributors","subscribers_url":"https://api.github.com/repos/tracee/tracee/subscribers","subscription_url":"https://api.github.com/repos/tracee/tracee/subscription","commits_url":"https://api.github.com/repos/tracee/tracee/commits{/sha}","git_commits_url":"https://api.github.com/repos/tracee/tracee/git/commits{/sha}","comments_url":"https://api.github.com/repos/tracee/tracee/comments{/number}","issue_comment_url":"https://api.github.com/repos/tracee/tracee/issues/comments/{number}","contents_url":"https://api.github.com/repos/tracee/tracee/contents/{+path}","compare_url":"https://api.github.com/repos/tracee/tracee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tracee/tracee/merges","archive_url":"https://api.github.com/repos/tracee/tracee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tracee/tracee/downloads","issues_url":"https://api.github.com/repos/tracee/tracee/issues{/number}","pulls_url":"https://api.github.com/repos/tracee/tracee/pulls{/number}","milestones_url":"https://api.github.com/repos/tracee/tracee/milestones{/number}","notifications_url":"https://api.github.com/repos/tracee/tracee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tracee/tracee/labels{/name}","releases_url":"https://api.github.com/repos/tracee/tracee/releases{/id}","created_at":"2013-11-22T11:49:36Z","updated_at":"2015-01-21T19:37:50Z","pushed_at":"2015-01-21T19:37:50Z","git_url":"git://github.com/tracee/tracee.git","ssh_url":"git@github.com:tracee/tracee.git","clone_url":"https://github.com/tracee/tracee.git","svn_url":"https://github.com/tracee/tracee","homepage":"http://tracee.io","size":6283,"stargazers_count":12,"watchers_count":12,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":4,"forks":8,"open_issues":4,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tracee/tracee/pulls/87"},"html":{"href":"https://github.com/tracee/tracee/pull/87"},"issue":{"href":"https://api.github.com/repos/tracee/tracee/issues/87"},"comments":{"href":"https://api.github.com/repos/tracee/tracee/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/tracee/tracee/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/tracee/tracee/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/tracee/tracee/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/tracee/tracee/statuses/5db938f0aaa75b8cd08e74dacfa6f52474713885"}}}}