mirror of https://github.com/apache/activemq.git
Add back setBrokerName()
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649617 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
27b5885338
commit
b544fc0817
|
@ -117,6 +117,14 @@ public class TransportConnector implements Connector, BrokerServiceAware {
|
|||
public void setBrokerInfo(BrokerInfo brokerInfo) {
|
||||
this.brokerInfo = brokerInfo;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setBrokerName(String name) {
|
||||
if (this.brokerInfo==null) {
|
||||
this.brokerInfo=new BrokerInfo();
|
||||
}
|
||||
this.brokerInfo.setBrokerName(name);
|
||||
}
|
||||
|
||||
public TransportServer getServer() throws IOException, URISyntaxException {
|
||||
if (server == null) {
|
||||
|
|
Loading…
Reference in New Issue