Example #1
0
 public MessageRouteBranch(MessageRoute route, MessageRouteId routeId, string messageName, MessageType messageType)
     : base(route)
 {
     id               = new MessageId();
     this.routeId     = routeId;
     this.messageName = messageName;
     this.messageType = messageType;
 }
 public MessageRouteBranch(MessageRoute route, MessageRouteId routeId, string messageName, MessageType messageType)
     : base(route)
 {
     id = new MessageId();
     this.routeId = routeId;
     this.messageName = messageName;
     this.messageType = messageType;
 }
        MessageRoute(IEventBus bus, ProcessId processId, DateTime createdOn)
            : base(bus)
        {
            var id = new MessageRouteId();
            hierarchy = new MessageRouteHierarchy(this, id);
            this.processId = processId;

            PublishEvent(new MessageRouteStarted
            {
                Id = id,
                MachineName = processId.MachineName,
                Thread = processId.Thread,
                CreatedOn = createdOn
            });
        }
        MessageRoute(IEventBus bus, ProcessId processId, DateTime createdOn)
            : base(bus)
        {
            var id = new MessageRouteId();

            hierarchy      = new MessageRouteHierarchy(this, id);
            this.processId = processId;

            PublishEvent(new MessageRouteStarted
            {
                Id          = id,
                MachineName = processId.MachineName,
                Thread      = processId.Thread,
                CreatedOn   = createdOn
            });
        }
Example #5
0
 public MessageRouteHierarchy(MessageRoute route, MessageRouteId routeId) : base(route)
 {
     this.route   = route;
     this.routeId = routeId;
 }
 public MessageRouteHierarchy(MessageRoute route, MessageRouteId routeId) : base(route)
 {
     this.route = route;
     this.routeId = routeId;
 }