Package org.apache.camel.component.jmx
Class JMXUriBuilder
java.lang.Object
org.apache.camel.component.jmx.JMXUriBuilder
Builder for JMX endpoint URI's. Saves you from having to do the string concat'ing and messing up the param names
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addProperty
(String aName, String aValue) void
setServerName
(String aServerName) toString()
withDifferenceMode
(boolean aDifferenceMode) withFormat
(String aFormat) withGranularityPeriod
(long aPeriod) withHandback
(String aHandback) withInitThreshold
(int aInitThreshold) withModulus
(int aModulus) withMonitorType
(String aMonitorType) withNotificationFilter
(String aFilter) withNotifyDiffer
(boolean aNotifyDiffer) withNotifyHigh
(boolean aNotifyHigh) withNotifyLow
(boolean aNotifyLow) withNotifyMatch
(boolean aNotifyMatch) withObjectDomain
(String aFormat) withObjectName
(String aFormat) withObjectProperties
(Map<String, String> aPropertiesSansKeyPrefix) Converts all of the values to params with the "key." prefix so the component will pick up on them and set them on the endpoint.withObjectPropertiesReference
(String aReferenceToHashtable) Your value should start with a hash mark since it's a reference to a value.withObservedAttribute
(String aObservedAttribute) withOffset
(int aOffset) withPassword
(String aFormat) withReconnectDelay
(int aReconnectDelay) withReconnectOnConnectionFailure
(boolean aReconnectOnConnectionFailure) withServerName
(String aServerName) withStringToCompare
(String aStringToCompare) withTestConnectionOnStartup
(boolean aTestConnectionOnStartup) withThresholdHigh
(Number aThresholdHigh) withThresholdLow
(Number aThresholdLow)
-
Constructor Details
-
JMXUriBuilder
public JMXUriBuilder() -
JMXUriBuilder
-
-
Method Details
-
withFormat
-
withUser
-
withPassword
-
withObjectDomain
-
withObjectName
-
withNotificationFilter
-
withHandback
-
withMonitorType
-
withInitThreshold
-
withOffset
-
withModulus
-
withDifferenceMode
-
withGranularityPeriod
-
withObservedAttribute
-
withNotifyHigh
-
withNotifyLow
-
withThresholdHigh
-
withThresholdLow
-
withNotifyDiffer
-
withNotifyMatch
-
withStringToCompare
-
withTestConnectionOnStartup
-
withReconnectOnConnectionFailure
-
withReconnectDelay
-
withObjectProperties
Converts all of the values to params with the "key." prefix so the component will pick up on them and set them on the endpoint. Alternatively, you can pass in a reference to a Hashtable using the version of this method that takes a single string. -
withObjectPropertiesReference
Your value should start with a hash mark since it's a reference to a value. This method will add the hash mark if it's not present. -
addProperty
-
getServerName
-
setServerName
-
withServerName
-
toString
-