public Tube createTube(ServerTubelineAssemblyContext context) {
final TransactionalFeature feature = context.getEndpoint().getBinding().getFeature(TransactionalFeature.class);
if (isWSATPolicyEnabled(context.getPolicyMap(), context.getWsdlPort(), true)
|| (feature != null && feature.isEnabled())) { //todo add the case where policy is enabled but annotation is NEVER
WSATGatewayRM.create();
return new WSATServerTube(context.getTubelineHead(), context, feature);
} else {
return context.getTubelineHead();
}
}