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
|
@ -117,6 +117,10 @@ public class BrokerView implements BrokerViewMBean {
|
|||
public boolean isStatisticsEnabled() {
|
||||
return broker.getDestinationStatistics().isEnabled();
|
||||
}
|
||||
|
||||
public boolean isPersistent() {
|
||||
return brokerService.isPersistent();
|
||||
}
|
||||
|
||||
public void terminateJVM(int exitCode) {
|
||||
System.exit(exitCode);
|
||||
|
|
|
@ -61,6 +61,8 @@ public interface BrokerViewMBean extends Service {
|
|||
long getMemoryLimit();
|
||||
|
||||
void setMemoryLimit(long limit);
|
||||
|
||||
boolean isPersistent();
|
||||
|
||||
/**
|
||||
* Shuts down the JVM.
|
||||
|
|
|
@ -69,6 +69,10 @@ public class NetworkConnectorView implements NetworkConnectorViewMBean {
|
|||
public boolean isDynamicOnly() {
|
||||
return connector.isDynamicOnly();
|
||||
}
|
||||
|
||||
public boolean isDuplex() {
|
||||
return connector.isDuplex();
|
||||
}
|
||||
|
||||
public void setBridgeTempDestinations(boolean bridgeTempDestinations) {
|
||||
connector.setBridgeTempDestinations(bridgeTempDestinations);
|
||||
|
|
|
@ -37,6 +37,8 @@ public interface NetworkConnectorViewMBean extends Service {
|
|||
boolean isDispatchAsync();
|
||||
|
||||
boolean isDynamicOnly();
|
||||
|
||||
boolean isDuplex();
|
||||
|
||||
void setBridgeTempDestinations(boolean bridgeTempDestinations);
|
||||
|
||||
|
|
Loading…
Reference in New Issue