{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-bus/issues/19","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-bus/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-bus/issues/19/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-bus/issues/19/events","html_url":"https://github.com/spring-cloud/spring-cloud-bus/pull/19","id":107193679,"number":19,"title":"Inject ServiceMatcher's PathMatcher by name","user":{"login":"jkuipers","id":74792,"avatar_url":"https://avatars.githubusercontent.com/u/74792?v=3","gravatar_id":"","url":"https://api.github.com/users/jkuipers","html_url":"https://github.com/jkuipers","followers_url":"https://api.github.com/users/jkuipers/followers","following_url":"https://api.github.com/users/jkuipers/following{/other_user}","gists_url":"https://api.github.com/users/jkuipers/gists{/gist_id}","starred_url":"https://api.github.com/users/jkuipers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkuipers/subscriptions","organizations_url":"https://api.github.com/users/jkuipers/orgs","repos_url":"https://api.github.com/users/jkuipers/repos","events_url":"https://api.github.com/users/jkuipers/events{/privacy}","received_events_url":"https://api.github.com/users/jkuipers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-18T12:30:04Z","updated_at":"2015-09-21T06:51:11Z","closed_at":"2015-09-21T06:51:11Z","pull_request":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-bus/pulls/19","html_url":"https://github.com/spring-cloud/spring-cloud-bus/pull/19","diff_url":"https://github.com/spring-cloud/spring-cloud-bus/pull/19.diff","patch_url":"https://github.com/spring-cloud/spring-cloud-bus/pull/19.patch"},"body":"Wiring a PathMatcher by type in the BusAutoConfiguration causes issues when other PathMatchers are also defined, e.g. WebMvcConfigurationSupport's mvcPathMatcher.\r\n\r\nI ran into this when trying the samples from https://github.com/spring-cloud-samples/customers-stores.\r\nI'm assuming that the intent here is to wire the busPathMatcher defined in the same Configuration class, so I now refer to that bean explicitly rather than relying on autowiring in the Bean method."},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-bus/issues/comments/141892768","html_url":"https://github.com/spring-cloud/spring-cloud-bus/pull/19#issuecomment-141892768","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-bus/issues/19","id":141892768,"user":{"login":"jkuipers","id":74792,"avatar_url":"https://avatars.githubusercontent.com/u/74792?v=3","gravatar_id":"","url":"https://api.github.com/users/jkuipers","html_url":"https://github.com/jkuipers","followers_url":"https://api.github.com/users/jkuipers/followers","following_url":"https://api.github.com/users/jkuipers/following{/other_user}","gists_url":"https://api.github.com/users/jkuipers/gists{/gist_id}","starred_url":"https://api.github.com/users/jkuipers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkuipers/subscriptions","organizations_url":"https://api.github.com/users/jkuipers/orgs","repos_url":"https://api.github.com/users/jkuipers/repos","events_url":"https://api.github.com/users/jkuipers/events{/privacy}","received_events_url":"https://api.github.com/users/jkuipers/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T06:51:11Z","updated_at":"2015-09-21T06:51:11Z","body":"Looks like @wwadge is right: I'll close this pull request. "}}