|
|
|
|
@ -20,6 +20,8 @@ import java.time.Duration;
@@ -20,6 +20,8 @@ import java.time.Duration;
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
|
import org.jspecify.annotations.Nullable; |
|
|
|
|
|
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties; |
|
|
|
|
import org.springframework.boot.context.properties.NestedConfigurationProperty; |
|
|
|
|
import org.springframework.boot.jms.autoconfigure.JmsPoolConnectionFactoryProperties; |
|
|
|
|
@ -44,17 +46,17 @@ public class ActiveMQProperties {
@@ -44,17 +46,17 @@ public class ActiveMQProperties {
|
|
|
|
|
/** |
|
|
|
|
* URL of the ActiveMQ broker. Auto-generated by default. |
|
|
|
|
*/ |
|
|
|
|
private String brokerUrl; |
|
|
|
|
private @Nullable String brokerUrl; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Login user of the broker. |
|
|
|
|
*/ |
|
|
|
|
private String user; |
|
|
|
|
private @Nullable String user; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Login password of the broker. |
|
|
|
|
*/ |
|
|
|
|
private String password; |
|
|
|
|
private @Nullable String password; |
|
|
|
|
|
|
|
|
|
private final Embedded embedded = new Embedded(); |
|
|
|
|
|
|
|
|
|
@ -79,27 +81,27 @@ public class ActiveMQProperties {
@@ -79,27 +81,27 @@ public class ActiveMQProperties {
|
|
|
|
|
|
|
|
|
|
private final Packages packages = new Packages(); |
|
|
|
|
|
|
|
|
|
public String getBrokerUrl() { |
|
|
|
|
public @Nullable String getBrokerUrl() { |
|
|
|
|
return this.brokerUrl; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setBrokerUrl(String brokerUrl) { |
|
|
|
|
public void setBrokerUrl(@Nullable String brokerUrl) { |
|
|
|
|
this.brokerUrl = brokerUrl; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String getUser() { |
|
|
|
|
public @Nullable String getUser() { |
|
|
|
|
return this.user; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setUser(String user) { |
|
|
|
|
public void setUser(@Nullable String user) { |
|
|
|
|
this.user = user; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String getPassword() { |
|
|
|
|
public @Nullable String getPassword() { |
|
|
|
|
return this.password; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setPassword(String password) { |
|
|
|
|
public void setPassword(@Nullable String password) { |
|
|
|
|
this.password = password; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -174,18 +176,18 @@ public class ActiveMQProperties {
@@ -174,18 +176,18 @@ public class ActiveMQProperties {
|
|
|
|
|
/** |
|
|
|
|
* Whether to trust all packages. |
|
|
|
|
*/ |
|
|
|
|
private Boolean trustAll; |
|
|
|
|
private @Nullable Boolean trustAll; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* List of specific packages to trust (when not trusting all packages). |
|
|
|
|
*/ |
|
|
|
|
private List<String> trusted = new ArrayList<>(); |
|
|
|
|
|
|
|
|
|
public Boolean getTrustAll() { |
|
|
|
|
public @Nullable Boolean getTrustAll() { |
|
|
|
|
return this.trustAll; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setTrustAll(Boolean trustAll) { |
|
|
|
|
public void setTrustAll(@Nullable Boolean trustAll) { |
|
|
|
|
this.trustAll = trustAll; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|