public IncomingPipeline Create() { var pipeline = new IncomingPipeline(); pipeline.Transport .Register(new DeadLetterMessagesWhichCantBeDeserializedStep()) .Register(new DeserializeTransportMessageStep(new NewtonsoftJsonMessageSerializer())); pipeline.Logical .Register(new DeadLetterMessagesWhenRetryCountIsReachedStep()) .Register(new LoadMessageHandlersStep(this.registry)) .Register(new InvokeHandlerStep()); return(pipeline); }
public IncomingPipeline Create() { var pipeline = new IncomingPipeline(); pipeline.Transport .Register(new DeadLetterMessagesWhichCantBeDeserializedStep()) .Register(new DeserializeTransportMessageStep(new NewtonsoftJsonMessageSerializer())); pipeline.Logical .Register(new DeadLetterMessagesWhenRetryCountIsReachedStep()) .Register(new LoadMessageHandlersStep(this.registry)) .Register(new InvokeHandlerStep()); return pipeline; }
public IncomingPipeline Create() { var pipeline = new IncomingPipeline(); pipeline.Transport .Register(new DeadLetterMessagesWhichCantBeDeserializedStep()) .Register(new DeserializeTransportMessageStep(this.serializer)); pipeline.Logical .Register(new DeadLetterMessagesWhenDelayedRetryCountIsReachedStep()) .Register(new DelayMessagesWhenImmediateRetryCountIsReachedStep()) .Register(new DeadletterMessageImmediatelyExceptionStep()) .Register(new LoadMessageHandlersStep(this.registry)) .Register(new InvokeHandlerStep()); return(pipeline); }