/*
 * Copyright 2015 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.springframework.cloud.stream.binder.rabbit.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.core.io.Resource;

/**
 * @author David Turanski
 */
@ConfigurationProperties(prefix = "spring.cloud.stream.rabbit.binder")
class RabbitBinderConfigurationProperties {

	private String[] addresses = new String[0];

	private String[] adminAdresses = new String[0];

	private String[] nodes = new String[0];

	private String username;

	private String password;

	private String vhost;

	private boolean useSSL;

	private Resource sslPropertiesLocation;

	private int compressionLevel;

	public String[] getAdminAdresses() {
		return adminAdresses;
	}

	public void setAdminAdresses(String[] adminAdresses) {
		this.adminAdresses = adminAdresses;
	}

	public String[] getNodes() {
		return nodes;
	}

	public void setNodes(String[] nodes) {
		this.nodes = nodes;
	}

	public int getCompressionLevel() {
		return compressionLevel;
	}

	public void setCompressionLevel(int compressionLevel) {
		this.compressionLevel = compressionLevel;
	}
}

@@ -753,53 +753,8 @@
 ies;
-%0Aimport org.springframework.core.io.Resource;
 %0A%0A/*
@@ -905,54 +905,8 @@
  %7B%0A%0A
-%09private String%5B%5D addresses = new String%5B0%5D;%0A%0A
 %09pri
@@ -943,32 +943,32 @@
 new String%5B0%5D;%0A%0A
+
 %09private String%5B
@@ -997,154 +997,8 @@
 %5D;%0A%0A
-%09private String username;%0A%0A%09private String password;%0A%0A%09private String vhost;%0A%0A%09private boolean useSSL;%0A%0A%09private Resource sslPropertiesLocation;%0A%0A
 %09pri

Remove unused Rabbit binder properties