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