protected virtual TransportInfo CreateTransportInfo(SendPortTransport transport, bool primary, bool orderedDelivery) { var transportInfo = new TransportInfo { Address = transport.Adapter.Address, // TODO DeliveryNotification = 0, FromTime = transport.ServiceWindow.StartTime, OrderedDelivery = orderedDelivery, Primary = primary, RetryCount = transport.RetryPolicy.Count, RetryInterval = (int)transport.RetryPolicy.Interval.TotalMinutes, SendHandler = new SendHandlerRef { // TODO HostTrusted = , Name = transport.Host, TransportType = transport.Adapter.ProtocolType }, ServiceWindowEnabled = transport.ServiceWindow.Enabled, ToTime = transport.ServiceWindow.StopTime, TransportType = transport.Adapter.ProtocolType, TransportTypeData = ((IAdapterBindingSerializerFactory)transport.Adapter).GetAdapterBindingSerializer().Serialize() }; return(transportInfo); }
public virtual string ResolveHost <TNamingConvention>(SendPortTransport <TNamingConvention> transport) where TNamingConvention : class { return(_name); }
internal new string ResolveHost <TNamingConvention>(SendPortTransport <TNamingConvention> transport) where TNamingConvention : class { return(base.ResolveHost(transport)); }
public override string ResolveHost <TNamingConvention>(SendPortTransport <TNamingConvention> transport) { return(Platform.Settings.HostNameProvider.TransmittingHost); }