.setShared(TransportResourceDefinition.SHARED.resolveModelAttribute(context, transport).asBoolean())
.setTopology(site, rack, machine)
.setSocketBinding(ModelNodes.asString(ProtocolResourceDefinition.SOCKET_BINDING.resolveModelAttribute(context, transport)))
.setDiagnosticsSocket(ModelNodes.asString(TransportResourceDefinition.DIAGNOSTICS_SOCKET_BINDING.resolveModelAttribute(context, transport)));
addProtocolProperties(context, transport, transportBuilder);
<BUG>if (transport.hasDefined(ThreadPoolResourceDefinition.WILDCARD_PATH.getKey())) {
addThreadPoolConfigurationAsProperties(ThreadPoolResourceDefinition.DEFAULT, "thread_pool", context, transport, transportBuilder);
addThreadPoolConfigurationAsProperties(ThreadPoolResourceDefinition.INTERNAL, "internal_thread_pool", context, transport, transportBuilder);
addThreadPoolConfigurationAsProperties(ThreadPoolResourceDefinition.OOB, "oob_thread_pool", context, transport, transportBuilder);
addThreadPoolConfigurationAsProperties(ThreadPoolResourceDefinition.TIMER, "timer", context, transport, transportBuilder);
}</BUG>
transportBuilder.build(target).install();

.setShared(TransportResourceDefinition.SHARED.resolveModelAttribute(context, transport).asBoolean())
.setTopology(site, rack, machine)
.setSocketBinding(ModelNodes.asString(ProtocolResourceDefinition.SOCKET_BINDING.resolveModelAttribute(context, transport)))
.setDiagnosticsSocket(ModelNodes.asString(TransportResourceDefinition.DIAGNOSTICS_SOCKET_BINDING.resolveModelAttribute(context, transport)));
addProtocolProperties(context, transport, transportBuilder);
addThreadPoolConfigurationProperties(ThreadPoolResourceDefinition.DEFAULT, "thread_pool", context, transport, transportBuilder);
addThreadPoolConfigurationProperties(ThreadPoolResourceDefinition.INTERNAL, "internal_thread_pool", context, transport, transportBuilder);
addThreadPoolConfigurationProperties(ThreadPoolResourceDefinition.OOB, "oob_thread_pool", context, transport, transportBuilder);
addThreadPoolConfigurationProperties(ThreadPoolResourceDefinition.TIMER, "timer", context, transport, transportBuilder);
transportBuilder.build(target).install();
