Author: hadrian
Date: Wed Oct 8 11:22:59 2008
New Revision: 702952
URL: http://svn.apache.org/viewvc?rev=702952&view=rev
Log:
CAMEL-970
Modified:
activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/CamelJMXAgentType.java
Modified:
activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/CamelJMXAgentType.java
URL:
http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/CamelJMXAgentType.java?rev=702952&r1=702951&r2=702952&view=diff
==============================================================================
---
activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/CamelJMXAgentType.java
(original)
+++
activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/CamelJMXAgentType.java
Wed Oct 8 11:22:59 2008
@@ -37,7 +37,7 @@
* Disable JMI (default false)
*/
@XmlAttribute(required = false)
- private Boolean disabled;
+ private Boolean disabled = Boolean.FALSE;
/**
* RMI connector registry port (default 1099)
@@ -73,7 +73,7 @@
* A flag that indicates whether the agent should be created
*/
@XmlAttribute(required = false)
- private Boolean createConnector;
+ private Boolean createConnector = Boolean.TRUE;
/**
* A flag that indicates whether the platform mbean server should be used
@@ -126,7 +126,7 @@
}
public void setCreateConnector(Boolean value) {
- createConnector = value;
+ createConnector = value != null ? value : Boolean.FALSE;
}
public Boolean isUsePlatformMBeanServer() {
@@ -134,7 +134,7 @@
}
public void setUsePlatformMBeanServer(Boolean value) {
- usePlatformMBeanServer = value;
+ usePlatformMBeanServer = value != null ? value : Boolean.FALSE;
}
public Boolean isDisabled() {
@@ -142,7 +142,6 @@
}
public void setDisabled(Boolean value) {
- disabled = value;
+ disabled = value != null ? value : Boolean.FALSE;
}
-
}