public RabbitPublishMessageJsonWrapper(T message, RabbitPublishMessageMetadata metadata) : base(message, metadata) { _jsonSerializer = ObjectContainer.Resolve <IJsonSerializer>(); }
public RabbitPublishMessageProtoWrapper(T message, RabbitPublishMessageMetadata metadata) : base(message, metadata) { _binarySerializer = ObjectContainer.Resolve <IBinarySerializer>(); }
public RabbitPublishMessageWrapper(T message, RabbitPublishMessageMetadata metadata) { Message = message; Metadata = metadata; }