Skip to content

Commit

Permalink
GH-2955 Remove dynamicDestination property from BindingServiceProperties
Browse files Browse the repository at this point in the history
Resolves #2950
  • Loading branch information
olegz committed Jun 7, 2024
1 parent d6550ed commit 9e6caef
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,6 @@ public class BindingServiceProperties
*/
private String defaultBinder;

/**
* A list of destinations that can be bound dynamically. If set, only listed
* destinations can be bound.
*/
private String[] dynamicDestinations = new String[0];

/**
* The maximum size of Least Recently Used (LRU) cache of dynamic destinations. Once
* this size is reached, new destinations will trigger the removal of old destinations.
Expand Down Expand Up @@ -203,14 +197,6 @@ public void setInstanceCount(int instanceCount) {
this.instanceCount = instanceCount;
}

public String[] getDynamicDestinations() {
return this.dynamicDestinations;
}

public void setDynamicDestinations(String[] dynamicDestinations) {
this.dynamicDestinations = dynamicDestinations;
}

@Override
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException {
Expand Down Expand Up @@ -255,7 +241,6 @@ public Map<String, Object> asMapProperties() {
properties.put("instanceIndex", String.valueOf(getInstanceIndex()));
properties.put("instanceCount", String.valueOf(getInstanceCount()));
properties.put("defaultBinder", getDefaultBinder());
properties.put("dynamicDestinations", getDynamicDestinations());
for (Map.Entry<String, BindingProperties> entry : this.bindings.entrySet()) {
properties.put(entry.getKey(), entry.getValue().toString());
}
Expand Down

0 comments on commit 9e6caef

Please sign in to comment.