public class BrokerURIUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BrokerURIUtils.MergeMode |
Modifier and Type | Method and Description |
---|---|
static @NotNull URI |
addGlobalFailoverParameters(@NotNull URI brokerURI,
@NotNull String failoverParams,
@NotNull BrokerURIUtils.MergeMode mergeMode)
Method to add parameters to the broker client URI.
|
static @NotNull URI |
addParametersToEachFailoverTransport(@NotNull URI brokerURI,
@NotNull String failoverTransportsParams,
@NotNull BrokerURIUtils.MergeMode mergeMode)
Method to add parameters to the broker client URI.
|
static URI |
addParametersToFailoverTransport(@NotNull URI brokerURI,
@NotNull String protocol,
@NotNull String failoverTransportsParams,
@NotNull BrokerURIUtils.MergeMode mergeMode) |
static URI |
changeUriIpAddress(@NotNull URI uri,
@NotNull String newIpAddress) |
static URI |
decorateBrokerURI(URI brokerURI)
Decorates a supplied ActiveMQ broker URI with default options.
|
static @NotNull String |
generateBrokerClientURI(String brokerConnectionAddress) |
static Map<String,String> |
parseQuery(@Nullable String query) |
static @NotNull URI |
removeParameter(@NotNull URI brokerURI,
@NotNull String paramToRemove)
Method to remove a parameter from the broker URI.
|
@NotNull public static @NotNull URI removeParameter(@NotNull @NotNull URI brokerURI, @NotNull @NotNull String paramToRemove)
brokerURI
- paramToRemove
- public static URI changeUriIpAddress(@NotNull @NotNull URI uri, @NotNull @NotNull String newIpAddress) throws URISyntaxException
URISyntaxException
@NotNull public static @NotNull URI addGlobalFailoverParameters(@NotNull @NotNull URI brokerURI, @NotNull @NotNull String failoverParams, @NotNull @NotNull BrokerURIUtils.MergeMode mergeMode)
brokerURI
- failoverParams
- @NotNull public static @NotNull URI addParametersToEachFailoverTransport(@NotNull @NotNull URI brokerURI, @NotNull @NotNull String failoverTransportsParams, @NotNull @NotNull BrokerURIUtils.MergeMode mergeMode)
brokerURI
- failoverTransportsParams
- public static URI addParametersToFailoverTransport(@NotNull @NotNull URI brokerURI, @NotNull @NotNull String protocol, @NotNull @NotNull String failoverTransportsParams, @NotNull @NotNull BrokerURIUtils.MergeMode mergeMode)
public static Map<String,String> parseQuery(@Nullable @Nullable String query) throws URISyntaxException
URISyntaxException
public static URI decorateBrokerURI(URI brokerURI)
Decorates a supplied ActiveMQ broker URI with default options.
brokerURI
- The broker URI to decorate@NotNull public static @NotNull String generateBrokerClientURI(String brokerConnectionAddress) throws URISyntaxException
URISyntaxException
Copyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.