11 lines
241 B
C#
11 lines
241 B
C#
using RabbitMQ.Client;
|
|
|
|
namespace Tapeti
|
|
{
|
|
public interface IMessageSerializer
|
|
{
|
|
byte[] Serialize(object message, IBasicProperties properties);
|
|
object Deserialize(byte[] body, IBasicProperties properties);
|
|
}
|
|
}
|