public AmqpMessageBuilder( IAmqpSerializerFactory serializerFactory, IAmqpPropertyBuilder propertyBuilder, IAmqpRouter router) { this.serializerFactory = serializerFactory; this.propertyBuilder = propertyBuilder; this.router = router; }
public AmqpSubscriptionBuilder() { this.Serializers = new Dictionary <string, IAmqpSerializer> { { "plain/text", new SimpleSerializer() } }; this.ConnectionFactory = new AsyncAmqpConnectionFactory(new Uri("amqp://")); this.router = new AmqpRouter(); this.propertyBuilder = new AmqpPropertyBuilder(); this.subscriptions = new List <Func <IAmqpConnectionFactory, IAmqpMessageBuilder, ISubscriptionRegistry, ISubscriptionTag> >(); }