Beispiel #1
0
        public static IBizMessage CreateBizMessage(string uniqueId, BizMessageType type, string payload, MessageActionStatus status)
        {
            IBizMessage message = new BizMessage();

            message.Type        = type;
            message.UniqueId    = uniqueId;
            message.CreatedTime = DateTime.Now;
            message.Payload     = payload;
            message.Actions.Add(new BizMessageAction
            {
                Description    = "Document level action",
                PayloadSection = "/",
                CreatedTime    = DateTime.Now,
                LastUpdateTime = DateTime.Now,
                Status         = status,
            });

            return(message);
        }
Beispiel #2
0
        public static IBizMessage CreateBizMessage()
        {
            IBizMessage message = new BizMessage();

            return(message);
        }