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
When using the constructor without specifying a delegate...
public MessageListenerAdapter() {
initDefaultStrategies();
this.delegate = this;
}
...the next call to getSubscriptionName leads to an endless loop:
public String getSubscriptionName() {
if (this.delegate instanceof SubscriptionNameProvider) {
return ((SubscriptionNameProvider) this.delegate).getSubscriptionName();
}
else {
return this.delegate.getClass().getName();
}
}
This is for example called in AbstractMessageListenerContainer.setMessageListener. Before the introduction of SubscriptionNameProvider in 2.5.6, by default the message listener's class name was used.
Alexander Grupe opened SPR-5309 and commented
When using the constructor without specifying a delegate...
...the next call to getSubscriptionName leads to an endless loop:
This is for example called in AbstractMessageListenerContainer.setMessageListener. Before the introduction of SubscriptionNameProvider in 2.5.6, by default the message listener's class name was used.
Affects: 2.5.6
Referenced from: commits 2674b13
3 votes, 5 watchers
The text was updated successfully, but these errors were encountered: