Example #1
0
        private IMessage Create(DataMessage dataMessage)
        {
            IAssembler assembler = this.GetAssembler();

            if (assembler != null)
            {
                if ((log != null) && log.get_IsDebugEnabled())
                {
                    log.Debug(assembler.GetType().FullName + " CreateItem");
                }
                assembler.CreateItem(dataMessage.body);
                Identity identity = Identity.GetIdentity(dataMessage.body, base.Destination as DataDestination);
                dataMessage.identity = identity;
            }
            return(dataMessage);
        }