protected override HandlerAdapter ConfigureListenerAdapter(MessagingMessageListenerAdapter messageListener)
        {
            var invocableHandlerMethods            = new List <IInvocableHandlerMethod>();
            IInvocableHandlerMethod defaultHandler = null;

            foreach (var method in Methods)
            {
                var handler = MessageHandlerMethodFactory.CreateInvocableHandlerMethod(Instance, method);
                invocableHandlerMethods.Add(handler);
                if (method.Equals(DefaultMethod))
                {
                    defaultHandler = handler;
                }
            }

            return(new HandlerAdapter(new DelegatingInvocableHandler(invocableHandlerMethods, defaultHandler, Instance, Resolver, ExpressionContext)));
        }
        protected virtual HandlerAdapter ConfigureListenerAdapter(MessagingMessageListenerAdapter messageListener)
        {
            var invocableHandlerMethod = MessageHandlerMethodFactory.CreateInvocableHandlerMethod(Instance, Method);

            return(new HandlerAdapter(invocableHandlerMethod));
        }