FLYNN, Peter -Syntegra UK | 1 Oct 2002 14:51

RE: JMSAppender in XML Conf file

Hi Sloan,

I use File JNDI to access JMS in my application.  
You can use any sort of JNDI store to store your TopicConnectionFactory and
Topic, such as LDAP.

Regards,
Peter

PS - Here is my config for JMS.

<appender name="JMS" class="org.apache.log4j.net.JMSAppender">
	<param name="TopicConnectionFactoryBindingName"
value="file://C:/resource/TopicConnectionFactory.sjo"/>
	<param name="TopicBindingName"
value="file://C:/resource/Logging.Topic.sjo"/>
        	<param name="Threshold" value="WARN"/>
	<layout class="org.apache.log4j.PatternLayout">
  		<param name="ConversionPattern" value="[%-5p] [%d{DATE}]
[%C.%M] - %m%n"/>
	</layout>
</appender>

********************************************************************

This email may contain information which is privileged or confidential. If you are not the intended
recipient of this email, please notify the sender immediately and delete it without reading, copying,
storing, forwarding or disclosing its contents to any other person
Thank you

Check us out at http://www.syntegra.com

********************************************************************


Gmane