Sha256: 2817abb2632623d3b226a0a6aefc202b50d4cf147ccc4029515fa595bc11540d

Contents?: true

Size: 866 Bytes

Versions: 5

Compression:

Stored size: 866 Bytes

Contents

using System;
using FubuTransportation;
using FubuTransportation.Configuration;

namespace %NAMESPACE%
{
    public class BusSettings
    {
        public BusSettings()
        {
            Inbound = "memory://transport/inbound".ToUri();
            Outbound = "memory://transport/outbound".ToUri();
        }

        public Uri Inbound { get; set; }
        public Uri Outbound { get; set; }
    }

    public class %TRANSPORT_REGISTRY% : FubuTransportRegistry<BusSettings>
    {
        public %TRANSPORT_REGISTRY%()
        {
            EnableInMemoryTransport();

            // More options are available for thread or task scheduling
            Channel(x => x.Inbound).ReadIncoming();

            // Static subscriptions
            Channel(x => x.Outbound)
                .AcceptsMessages(x => true);
        }
    }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fubu-2.0.0.1887.alpha bin/templates/alteration/ft-in-memory/FubuTransportationSetup.cs
fubu-2.0.0.1853.alpha bin/templates/alteration/ft-in-memory/FubuTransportationSetup.cs
fubu-2.0.0.1824.alpha bin/templates/alteration/ft-in-memory/FubuTransportationSetup.cs
fubu-1.0.0.391 bin/templates/alteration/ft-in-memory/FubuTransportationSetup.cs
fubu-0.9.9.370 bin/templates/alteration/ft-in-memory/FubuTransportationSetup.cs