{"action":"created","comment":{"url":"https://api.github.com/repos/jboss-switchyard/switchyard/pulls/comments/51137335","id":51137335,"diff_hunk":"@@ -0,0 +1,68 @@\n+package org.switchyard.component.camel.jms.deploy;\n+\n+import java.util.HashMap;\n+\n+import javax.annotation.Resource;\n+import javax.xml.namespace.QName;\n+import javax.xml.ws.WebServiceContext;\n+\n+import org.apache.camel.Exchange;\n+import org.apache.camel.Processor;\n+import org.apache.camel.builder.ValueBuilder;\n+import org.apache.camel.impl.ExpressionAdapter;\n+import org.apache.camel.model.RouteDefinition;\n+import org.switchyard.ServiceDomain;\n+import org.switchyard.common.camel.SwitchYardCamelContext;\n+import org.switchyard.common.type.Classes;\n+import org.switchyard.component.camel.common.CamelConstants;\n+import org.switchyard.component.camel.common.handler.InboundHandler;\n+import org.switchyard.component.camel.common.handler.MessageComposerProcessor;\n+import org.switchyard.component.camel.common.handler.OperationSelectorProcessor;\n+import org.switchyard.component.camel.jms.model.CamelJmsBindingModel;\n+import org.switchyard.runtime.event.ExchangeCompletionEvent;\n+\n+\n+public class CamelJmsInboundHandler extends InboundHandler<CamelJmsBindingModel> {\n+\n+    @Resource\n+    private WebServiceContext _wsContext;","path":"components/camel/camel-jms/src/main/java/org/switchyard/component/camel/jms/deploy/CamelJmsInboundHandler.java","position":28,"original_position":28,"commit_id":"49868d942437f65e10835b03539bd6c6c7077f35","original_commit_id":"49868d942437f65e10835b03539bd6c6c7077f35","user":{"login":"igarashitm","id":265462,"avatar_url":"https://avatars.githubusercontent.com/u/265462?v=3","gravatar_id":"","url":"https://api.github.com/users/igarashitm","html_url":"https://github.com/igarashitm","followers_url":"https://api.github.com/users/igarashitm/followers","following_url":"https://api.github.com/users/igarashitm/following{/other_user}","gists_url":"https://api.github.com/users/igarashitm/gists{/gist_id}","starred_url":"https://api.github.com/users/igarashitm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igarashitm/subscriptions","organizations_url":"https://api.github.com/users/igarashitm/orgs","repos_url":"https://api.github.com/users/igarashitm/repos","events_url":"https://api.github.com/users/igarashitm/events{/privacy}","received_events_url":"https://api.github.com/users/igarashitm/received_events","type":"User","site_admin":false},"body":"camel-jms binding shouldn't depend on WebServiceContext. The security credentials should be extracted in service binding, and should be carried as a binding agnostic format when propagating.","created_at":"2016-01-28T15:32:21Z","updated_at":"2016-01-28T15:32:21Z","html_url":"https://github.com/jboss-switchyard/switchyard/pull/55#discussion_r51137335","pull_request_url":"https://api.github.com/repos/jboss-switchyard/switchyard/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/jboss-switchyard/switchyard/pulls/comments/51137335"},"html":{"href":"https://github.com/jboss-switchyard/switchyard/pull/55#discussion_r51137335"},"pull_request":{"href":"https://api.github.com/repos/jboss-switchyard/switchyard/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/jboss-switchyard/switchyard/pulls/55","id":55331640,"html_url":"https://github.com/jboss-switchyard/switchyard/pull/55","diff_url":"https://github.com/jboss-switchyard/switchyard/pull/55.diff","patch_url":"https://github.com/jboss-switchyard/switchyard/pull/55.patch","issue_url":"https://api.github.com/repos/jboss-switchyard/switchyard/issues/55","number":55,"state":"open","locked":false,"title":"SWITCHYARD-2172 Security context not propagated through JMS reference…","user":{"login":"dvirgiln","id":6932080,"avatar_url":"https://avatars.githubusercontent.com/u/6932080?v=3","gravatar_id":"","url":"https://api.github.com/users/dvirgiln","html_url":"https://github.com/dvirgiln","followers_url":"https://api.github.com/users/dvirgiln/followers","following_url":"https://api.github.com/users/dvirgiln/following{/other_user}","gists_url":"https://api.github.com/users/dvirgiln/gists{/gist_id}","starred_url":"https://api.github.com/users/dvirgiln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvirgiln/subscriptions","organizations_url":"https://api.github.com/users/dvirgiln/orgs","repos_url":"https://api.github.com/users/dvirgiln/repos","events_url":"https://api.github.com/users/dvirgiln/events{/privacy}","received_events_url":"https://api.github.com/users/dvirgiln/received_events","type":"User","site_admin":false},"body":"https://issues.jboss.org/browse/SWITCHYARD-2172","created_at":"2016-01-07T12:18:06Z","updated_at":"2016-01-28T15:32:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0825dc928d9f9fa45878ca0750e8f7f834fad2bd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jboss-switchyard/switchyard/pulls/55/commits","review_comments_url":"https://api.github.com/repos/jboss-switchyard/switchyard/pulls/55/comments","review_comment_url":"https://api.github.com/repos/jboss-switchyard/switchyard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jboss-switchyard/switchyard/issues/55/comments","statuses_url":"https://api.github.com/repos/jboss-switchyard/switchyard/statuses/49868d942437f65e10835b03539bd6c6c7077f35","head":{"label":"dvirgiln:SWITCHYARD-2172","ref":"SWITCHYARD-2172","sha":"49868d942437f65e10835b03539bd6c6c7077f35","user":{"login":"dvirgiln","id":6932080,"avatar_url":"https://avatars.githubusercontent.com/u/6932080?v=3","gravatar_id":"","url":"https://api.github.com/users/dvirgiln","html_url":"https://github.com/dvirgiln","followers_url":"https://api.github.com/users/dvirgiln/followers","following_url":"https://api.github.com/users/dvirgiln/following{/other_user}","gists_url":"https://api.github.com/users/dvirgiln/gists{/gist_id}","starred_url":"https://api.github.com/users/dvirgiln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvirgiln/subscriptions","organizations_url":"https://api.github.com/users/dvirgiln/orgs","repos_url":"https://api.github.com/users/dvirgiln/repos","events_url":"https://api.github.com/users/dvirgiln/events{/privacy}","received_events_url":"https://api.github.com/users/dvirgiln/received_events","type":"User","site_admin":false},"repo":{"id":42250415,"name":"switchyard-1","full_name":"dvirgiln/switchyard-1","owner":{"login":"dvirgiln","id":6932080,"avatar_url":"https://avatars.githubusercontent.com/u/6932080?v=3","gravatar_id":"","url":"https://api.github.com/users/dvirgiln","html_url":"https://github.com/dvirgiln","followers_url":"https://api.github.com/users/dvirgiln/followers","following_url":"https://api.github.com/users/dvirgiln/following{/other_user}","gists_url":"https://api.github.com/users/dvirgiln/gists{/gist_id}","starred_url":"https://api.github.com/users/dvirgiln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvirgiln/subscriptions","organizations_url":"https://api.github.com/users/dvirgiln/orgs","repos_url":"https://api.github.com/users/dvirgiln/repos","events_url":"https://api.github.com/users/dvirgiln/events{/privacy}","received_events_url":"https://api.github.com/users/dvirgiln/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dvirgiln/switchyard-1","description":"Aggregated SwitchYard repository","fork":true,"url":"https://api.github.com/repos/dvirgiln/switchyard-1","forks_url":"https://api.github.com/repos/dvirgiln/switchyard-1/forks","keys_url":"https://api.github.com/repos/dvirgiln/switchyard-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dvirgiln/switchyard-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dvirgiln/switchyard-1/teams","hooks_url":"https://api.github.com/repos/dvirgiln/switchyard-1/hooks","issue_events_url":"https://api.github.com/repos/dvirgiln/switchyard-1/issues/events{/number}","events_url":"https://api.github.com/repos/dvirgiln/switchyard-1/events","assignees_url":"https://api.github.com/repos/dvirgiln/switchyard-1/assignees{/user}","branches_url":"https://api.github.com/repos/dvirgiln/switchyard-1/branches{/branch}","tags_url":"https://api.github.com/repos/dvirgiln/switchyard-1/tags","blobs_url":"https://api.github.com/repos/dvirgiln/switchyard-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dvirgiln/switchyard-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dvirgiln/switchyard-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/dvirgiln/switchyard-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dvirgiln/switchyard-1/statuses/{sha}","languages_url":"https://api.github.com/repos/dvirgiln/switchyard-1/languages","stargazers_url":"https://api.github.com/repos/dvirgiln/switchyard-1/stargazers","contributors_url":"https://api.github.com/repos/dvirgiln/switchyard-1/contributors","subscribers_url":"https://api.github.com/repos/dvirgiln/switchyard-1/subscribers","subscription_url":"https://api.github.com/repos/dvirgiln/switchyard-1/subscription","commits_url":"https://api.github.com/repos/dvirgiln/switchyard-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/dvirgiln/switchyard-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/dvirgiln/switchyard-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/dvirgiln/switchyard-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/dvirgiln/switchyard-1/contents/{+path}","compare_url":"https://api.github.com/repos/dvirgiln/switchyard-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dvirgiln/switchyard-1/merges","archive_url":"https://api.github.com/repos/dvirgiln/switchyard-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dvirgiln/switchyard-1/downloads","issues_url":"https://api.github.com/repos/dvirgiln/switchyard-1/issues{/number}","pulls_url":"https://api.github.com/repos/dvirgiln/switchyard-1/pulls{/number}","milestones_url":"https://api.github.com/repos/dvirgiln/switchyard-1/milestones{/number}","notifications_url":"https://api.github.com/repos/dvirgiln/switchyard-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dvirgiln/switchyard-1/labels{/name}","releases_url":"https://api.github.com/repos/dvirgiln/switchyard-1/releases{/id}","deployments_url":"https://api.github.com/repos/dvirgiln/switchyard-1/deployments","created_at":"2015-09-10T14:42:29Z","updated_at":"2015-09-10T14:42:40Z","pushed_at":"2016-01-27T14:57:26Z","git_url":"git://github.com/dvirgiln/switchyard-1.git","ssh_url":"git@github.com:dvirgiln/switchyard-1.git","clone_url":"https://github.com/dvirgiln/switchyard-1.git","svn_url":"https://github.com/dvirgiln/switchyard-1","homepage":null,"size":24218,"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":"jboss-switchyard:master","ref":"master","sha":"e7afb2583fe979ea280d8db1a14808490813efaa","user":{"login":"jboss-switchyard","id":447316,"avatar_url":"https://avatars.githubusercontent.com/u/447316?v=3","gravatar_id":"","url":"https://api.github.com/users/jboss-switchyard","html_url":"https://github.com/jboss-switchyard","followers_url":"https://api.github.com/users/jboss-switchyard/followers","following_url":"https://api.github.com/users/jboss-switchyard/following{/other_user}","gists_url":"https://api.github.com/users/jboss-switchyard/gists{/gist_id}","starred_url":"https://api.github.com/users/jboss-switchyard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jboss-switchyard/subscriptions","organizations_url":"https://api.github.com/users/jboss-switchyard/orgs","repos_url":"https://api.github.com/users/jboss-switchyard/repos","events_url":"https://api.github.com/users/jboss-switchyard/events{/privacy}","received_events_url":"https://api.github.com/users/jboss-switchyard/received_events","type":"Organization","site_admin":false},"repo":{"id":34336359,"name":"switchyard","full_name":"jboss-switchyard/switchyard","owner":{"login":"jboss-switchyard","id":447316,"avatar_url":"https://avatars.githubusercontent.com/u/447316?v=3","gravatar_id":"","url":"https://api.github.com/users/jboss-switchyard","html_url":"https://github.com/jboss-switchyard","followers_url":"https://api.github.com/users/jboss-switchyard/followers","following_url":"https://api.github.com/users/jboss-switchyard/following{/other_user}","gists_url":"https://api.github.com/users/jboss-switchyard/gists{/gist_id}","starred_url":"https://api.github.com/users/jboss-switchyard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jboss-switchyard/subscriptions","organizations_url":"https://api.github.com/users/jboss-switchyard/orgs","repos_url":"https://api.github.com/users/jboss-switchyard/repos","events_url":"https://api.github.com/users/jboss-switchyard/events{/privacy}","received_events_url":"https://api.github.com/users/jboss-switchyard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jboss-switchyard/switchyard","description":"Aggregated SwitchYard repository","fork":false,"url":"https://api.github.com/repos/jboss-switchyard/switchyard","forks_url":"https://api.github.com/repos/jboss-switchyard/switchyard/forks","keys_url":"https://api.github.com/repos/jboss-switchyard/switchyard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jboss-switchyard/switchyard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jboss-switchyard/switchyard/teams","hooks_url":"https://api.github.com/repos/jboss-switchyard/switchyard/hooks","issue_events_url":"https://api.github.com/repos/jboss-switchyard/switchyard/issues/events{/number}","events_url":"https://api.github.com/repos/jboss-switchyard/switchyard/events","assignees_url":"https://api.github.com/repos/jboss-switchyard/switchyard/assignees{/user}","branches_url":"https://api.github.com/repos/jboss-switchyard/switchyard/branches{/branch}","tags_url":"https://api.github.com/repos/jboss-switchyard/switchyard/tags","blobs_url":"https://api.github.com/repos/jboss-switchyard/switchyard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jboss-switchyard/switchyard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jboss-switchyard/switchyard/git/refs{/sha}","trees_url":"https://api.github.com/repos/jboss-switchyard/switchyard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jboss-switchyard/switchyard/statuses/{sha}","languages_url":"https://api.github.com/repos/jboss-switchyard/switchyard/languages","stargazers_url":"https://api.github.com/repos/jboss-switchyard/switchyard/stargazers","contributors_url":"https://api.github.com/repos/jboss-switchyard/switchyard/contributors","subscribers_url":"https://api.github.com/repos/jboss-switchyard/switchyard/subscribers","subscription_url":"https://api.github.com/repos/jboss-switchyard/switchyard/subscription","commits_url":"https://api.github.com/repos/jboss-switchyard/switchyard/commits{/sha}","git_commits_url":"https://api.github.com/repos/jboss-switchyard/switchyard/git/commits{/sha}","comments_url":"https://api.github.com/repos/jboss-switchyard/switchyard/comments{/number}","issue_comment_url":"https://api.github.com/repos/jboss-switchyard/switchyard/issues/comments{/number}","contents_url":"https://api.github.com/repos/jboss-switchyard/switchyard/contents/{+path}","compare_url":"https://api.github.com/repos/jboss-switchyard/switchyard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jboss-switchyard/switchyard/merges","archive_url":"https://api.github.com/repos/jboss-switchyard/switchyard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jboss-switchyard/switchyard/downloads","issues_url":"https://api.github.com/repos/jboss-switchyard/switchyard/issues{/number}","pulls_url":"https://api.github.com/repos/jboss-switchyard/switchyard/pulls{/number}","milestones_url":"https://api.github.com/repos/jboss-switchyard/switchyard/milestones{/number}","notifications_url":"https://api.github.com/repos/jboss-switchyard/switchyard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jboss-switchyard/switchyard/labels{/name}","releases_url":"https://api.github.com/repos/jboss-switchyard/switchyard/releases{/id}","deployments_url":"https://api.github.com/repos/jboss-switchyard/switchyard/deployments","created_at":"2015-04-21T15:41:24Z","updated_at":"2016-01-22T12:26:32Z","pushed_at":"2016-01-27T14:57:26Z","git_url":"git://github.com/jboss-switchyard/switchyard.git","ssh_url":"git@github.com:jboss-switchyard/switchyard.git","clone_url":"https://github.com/jboss-switchyard/switchyard.git","svn_url":"https://github.com/jboss-switchyard/switchyard","homepage":null,"size":24304,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":7,"forks":17,"open_issues":7,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jboss-switchyard/switchyard/pulls/55"},"html":{"href":"https://github.com/jboss-switchyard/switchyard/pull/55"},"issue":{"href":"https://api.github.com/repos/jboss-switchyard/switchyard/issues/55"},"comments":{"href":"https://api.github.com/repos/jboss-switchyard/switchyard/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/jboss-switchyard/switchyard/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/jboss-switchyard/switchyard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jboss-switchyard/switchyard/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/jboss-switchyard/switchyard/statuses/49868d942437f65e10835b03539bd6c6c7077f35"}}}}