Esempio n. 1
0
        private IEventFilterApplier DeadLetter(Predicate <DeadLetter> isMatch, string source = null)
        {
            var sourceMatcher = source == null ? null : new EqualsStringAndPathMatcher(source);
            var filter        = new DeadLettersFilter(null, sourceMatcher, isMatch);

            return(CreateApplier(filter, _system));
        }
Esempio n. 2
0
        /// <summary>
        /// Creates a filter that catches dead letters
        /// </summary>
        /// <returns>TBD</returns>
        public IEventFilterApplier DeadLetter()
        {
            var filter = new DeadLettersFilter(null, null);

            return(CreateApplier(filter, _system));
        }