Class JmsAppender.Builder<B extends JmsAppender.Builder<B>>
java.lang.Object
org.apache.logging.log4j.core.filter.AbstractFilterable.Builder<B>
org.apache.logging.log4j.core.appender.AbstractAppender.Builder<B>
org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder<B>
- All Implemented Interfaces:
Builder<JmsAppender>
- Enclosing class:
- JmsAppender
public static class JmsAppender.Builder<B extends JmsAppender.Builder<B>>
extends AbstractAppender.Builder<B>
implements Builder<JmsAppender>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the object after all configuration has been set.setDestinationBindingName
(String destinationBindingName) setFactoryBindingName
(String factoryBindingName) setFactoryName
(String factoryName) setImmediateFail
(boolean immediateFail) setJmsManager
(JmsManager jmsManager) setPassword
(char[] password) setPassword
(String password) Deprecated.Use setPassword(char[])setProviderUrl
(String providerUrl) setReconnectIntervalMillis
(long reconnectIntervalMillis) setSecurityCredentials
(String securityCredentials) setSecurityPrincipalName
(String securityPrincipalName) setUrlPkgPrefixes
(String urlPkgPrefixes) setUsername
(String username) Deprecated.UsesetUserName(String)
.setUserName
(String userName) toString()
Does not include the password.Methods inherited from class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
getConfiguration, getErrorPrefix, getLayout, getName, getOrCreateLayout, getOrCreateLayout, isIgnoreExceptions, setConfiguration, setIgnoreExceptions, setLayout, setName, withConfiguration, withIgnoreExceptions, withLayout, withName
Methods inherited from class org.apache.logging.log4j.core.filter.AbstractFilterable.Builder
asBuilder, getFilter, getPropertyArray, setFilter, setPropertyArray, withFilter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.logging.log4j.core.util.Builder
getErrorPrefix, isValid
-
Field Details
-
DEFAULT_RECONNECT_INTERVAL_MILLIS
public static final int DEFAULT_RECONNECT_INTERVAL_MILLIS- See Also:
-
-
Method Details
-
build
Description copied from interface:Builder
Builds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.- Specified by:
build
in interfaceBuilder<B extends JmsAppender.Builder<B>>
- Returns:
- the configured instance.
-
setDestinationBindingName
-
setFactoryBindingName
-
setFactoryName
-
setImmediateFail
-
setJmsManager
-
setPassword
-
setPassword
Deprecated.Use setPassword(char[]) -
setProviderUrl
-
setReconnectIntervalMillis
-
setSecurityCredentials
-
setSecurityPrincipalName
-
setUrlPkgPrefixes
-
setUsername
Deprecated.UsesetUserName(String)
. -
setUserName
-
toString
Does not include the password.
-