mirror of https://github.com/apache/activemq.git
Add some duplex property for network connector view
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@608356 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e745e0d548
commit
082bbf0f06
|
@ -118,6 +118,10 @@ public class BrokerView implements BrokerViewMBean {
|
|||
return broker.getDestinationStatistics().isEnabled();
|
||||
}
|
||||
|
||||
public boolean isPersistent() {
|
||||
return brokerService.isPersistent();
|
||||
}
|
||||
|
||||
public void terminateJVM(int exitCode) {
|
||||
System.exit(exitCode);
|
||||
}
|
||||
|
|
|
@ -62,6 +62,8 @@ public interface BrokerViewMBean extends Service {
|
|||
|
||||
void setMemoryLimit(long limit);
|
||||
|
||||
boolean isPersistent();
|
||||
|
||||
/**
|
||||
* Shuts down the JVM.
|
||||
*
|
||||
|
|
|
@ -70,6 +70,10 @@ public class NetworkConnectorView implements NetworkConnectorViewMBean {
|
|||
return connector.isDynamicOnly();
|
||||
}
|
||||
|
||||
public boolean isDuplex() {
|
||||
return connector.isDuplex();
|
||||
}
|
||||
|
||||
public void setBridgeTempDestinations(boolean bridgeTempDestinations) {
|
||||
connector.setBridgeTempDestinations(bridgeTempDestinations);
|
||||
}
|
||||
|
|
|
@ -38,6 +38,8 @@ public interface NetworkConnectorViewMBean extends Service {
|
|||
|
||||
boolean isDynamicOnly();
|
||||
|
||||
boolean isDuplex();
|
||||
|
||||
void setBridgeTempDestinations(boolean bridgeTempDestinations);
|
||||
|
||||
void setConduitSubscriptions(boolean conduitSubscriptions);
|
||||
|
|
Loading…
Reference in New Issue