* @param distributionRatio String of weighted ratios for distribution of messages.
* @param distributionRatioDelimiter String containing delimiter to be used for ratios
* @return the builder
*/
public LoadBalanceDefinition weighted(boolean roundRobin, String distributionRatio, String distributionRatioDelimiter) {
WeightedLoadBalancer weighted;
List<Integer> distributionRatioList = new ArrayList<Integer>();
String[] ratios = distributionRatio.split(distributionRatioDelimiter);
for (String ratio : ratios) {
distributionRatioList.add(new Integer(ratio.trim()));