You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if there were any reasons why the getMessageAckListener() function for the AbstractMessageListenerContainer class would be protected while the setter is public.
This is also true for setErrorHandler() which is public, but the getter does not exist.
Current Behavior
The class org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer :
getMessageAckListener() is protected ;
does not contain a getErrorHandler() function ;
Context
I'm currently in a situation where I need a decorator pattern for the MessageListenerContainer and MessageListener interfaces, But not having access to getMessageAckListener() and getErrorHandler() makes delegation difficult.