Valid in: | XML configuration |
Default | None |
Requirement | These element attributes are required. |
Default | None |
Requirement | This parameter is not required. |
Interaction | When JMSAppender searches for classes to load, the CLASSPATH environment variable takes precedence over the ClassPath parameter, and the ClassPath parameter takes precedence over the JARs that are provided by SAS. |
Default | Infinite |
Requirement | This parameter is not required. |
Default | TRUE |
Requirement | This parameter is not required. |
Default | None |
Requirement | This parameter is required. |
Alias | name="Destination" |
Default | None |
Requirement | This parameter is required. |
Default | If a user name is not specified, then the user name of the process owner is used to connect to the message queue. |
Requirement | This parameter is not required. |
Default | None. |
Requirement | This parameter is not required. |
4
for all events.
Default | FALSE |
Requirement | This parameter is not required. |
Interaction | If both the Prioritize parameter and the Priority parameter are specified, then the Priority parameter takes precedence. |
Default | None. If this parameter is not specified, then the Prioritize parameter determines how priorities are assigned. |
Range | 0 – 9 |
Requirement | This parameter is not required. |
Interaction | If both the Prioritize parameter and the Priority parameter are specified, then the Priority parameter takes precedence. |
Default | 0 |
Requirement | This parameter is not required. |
Default | None. If a conversion pattern is not specified, then the log event produces an empty string. |
Requirement | This parameter is not required. |
See | Pattern Layouts |
C:\JNDI
on the local machine. <appender name="java" class="JMSAppender"> <!-- Common properties for all Java Appender configurations --> <!-- Properties specific to the Default JMSAppender implementation --> <param name="persistent" value="true"/> <!-- This is an example configuration for WebSphere MQ. --> <!-- This example assumes that the Websphere MQ classes --> <!-- are in your classpath environment variable. --> <param name="java.naming.factory.initial" value="com.sun.jndi.fscontext.RefFSContextFactory"/> <param name="java.naming.provider.url" value="file:/c:/JNDI"/> <param name="factory" value="TEST.FACTORY"/> <param name="destination" value="TEST.Q"/> <layout> <param name="ConversionPattern" value="%d - %c -%m"/> </layout> </appender>
<appender class="JMSAppender" name="java"> <!-- Common properties for all Java Appender configurations --> <param name="classpath" value="C:\Program Files\apache-activemq-5.2.0\activemq-all-5.2.0.jar"/> <!-- Properties specific to the Default JMSAppender implementation --> <param name="persistent" value="true"/> <!-- Active MQ example configuration --> <param name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/> <param name="java.naming.provider.url" value="tcp://localhost:61616"/> <param name="factory" value="ConnectionFactory"/> <param name="destination" value="TEST.Q"/> <!-- An additional property is required only for Active MQ to map the queue name into the JNDI namespace. Use the form <param name="queue.[jndiName]" value="[physicalName]"/>. See http://activemq.apache.org/jndi-support.html. --> <param name="queue.TEST.Q" value="TEST.Q"/> <layout> <param name="ConversionPattern" value="%d - %c - %m"/> </layout> </appender>