com.atlassian.bamboo.setup
Class BrokerURIUtils

java.lang.Object
  extended by com.atlassian.bamboo.setup.BrokerURIUtils

public class BrokerURIUtils
extends java.lang.Object


Constructor Summary
BrokerURIUtils()
           
 
Method Summary
static java.net.URI addCompositeParameters(java.net.URI brokerURI, java.lang.String paramsToAdd)
          Method to add a parameter to the broker client URI.
static java.net.URI decorateBrokerURI(java.net.URI brokerURI)
          Decorates a supplied ActiveMQ broker URI with default options.
static java.net.URI removeParameter(java.net.URI brokerURI, java.lang.String paramToRemove)
          Method to remove a parameter from the broker URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokerURIUtils

public BrokerURIUtils()
Method Detail

removeParameter

@NotNull
public static java.net.URI removeParameter(@NotNull
                                                   java.net.URI brokerURI,
                                                   @NotNull
                                                   java.lang.String paramToRemove)
Method to remove a parameter from the broker URI. Handles removal of params failover: composite params as well

Parameters:
brokerURI -
paramToRemove -
Returns:

addCompositeParameters

@NotNull
public static java.net.URI addCompositeParameters(@NotNull
                                                          java.net.URI brokerURI,
                                                          @NotNull
                                                          java.lang.String paramsToAdd)
Method to add a parameter to the broker client URI.

Parameters:
brokerURI -
paramsToAdd -
Returns:

decorateBrokerURI

public static java.net.URI decorateBrokerURI(java.net.URI brokerURI)

Decorates a supplied ActiveMQ broker URI with default options.

Parameters:
brokerURI - The broker URI to decorate
Returns:
The decorated broker URI


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.