jbossas/jboss-as — pull request #2347 by darranl (2012-05-18 13:55:57+00:00)
Title: [AS7-4834] Don't register the connection provider as 'remote' is already registered in the EndpointService.

The reported race condition related to multiple remote-outbound-connection services registering a connection provider for 'remote://' simultaneously - however this was a bad registration and 'remote' is already registered by the EndpointService.

This class uses a URI to connect and EndpointImpl calls getScheme on the URI which returns 'remote' not 'remote://' so the registration code is safe to completely remove.