protected MessagingMessageListenerAdapter(IApplicationContext context, object instance, MethodInfo method, bool returnExceptions, IRabbitListenerErrorHandler errorHandler, bool batch, ILogger logger = null) : base(context, logger) { Instance = instance; Method = method; IsBatch = batch; ReturnExceptions = returnExceptions; ErrorHandler = errorHandler; InferredArgumentType = DetermineInferredType(); }
public BatchMessagingMessageListenerAdapter( IApplicationContext context, object bean, MethodInfo method, bool returnExceptions, IRabbitListenerErrorHandler errorHandler, IBatchingStrategy batchingStrategy, ILogger logger = null) : base(context, bean, method, returnExceptions, errorHandler, true, logger) { BatchingStrategy = batchingStrategy == null ? new SimpleBatchingStrategy(0, 0, 0L) : batchingStrategy; }
public MessagingMessageListenerAdapter(IApplicationContext context, object instance, MethodInfo method, bool returnExceptions, IRabbitListenerErrorHandler errorHandler, ILogger logger = null) : this(context, instance, method, returnExceptions, errorHandler, false, logger) { }
public BatchMessagingMessageListenerAdapter(object bean, MethodInfo method, bool returnExceptions, IRabbitListenerErrorHandler errorHandler, IBatchingStrategy batchingStrategy) : base(bean, method, returnExceptions, errorHandler, true) { ConverterAdapter = (MessagingMessageConverterAdapter)MessagingMessageConverter; BatchingStrategy = batchingStrategy == null ? new SimpleBatchingStrategy(0, 0, 0L) : batchingStrategy; }
protected MessagingMessageListenerAdapter(object instance, MethodInfo method, bool returnExceptions, IRabbitListenerErrorHandler errorHandler, bool batch) { MessagingMessageConverter = new MessagingMessageConverterAdapter(this, instance, method, batch); ReturnExceptions = returnExceptions; ErrorHandler = errorHandler; }
public MessagingMessageListenerAdapter(object instance, MethodInfo method, bool returnExceptions, IRabbitListenerErrorHandler errorHandler) : this(instance, method, returnExceptions, errorHandler, false) { }