Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.activemq.util
Class JmsLogAppender

    java.lang.Object
      org.apache.log4j.AppenderSkeleton
          org.codehaus.activemq.util.JmsLogAppenderSupport
              org.codehaus.activemq.util.JmsLogAppender

All Implemented Interfaces:
  org.apache.log4j.Appender, org.apache.log4j.spi.OptionHandler

public class JmsLogAppender
extends JmsLogAppenderSupport

A JMS 1.1 log4j appender which uses ActiveMQ by default and does not require any JNDI configurations

Version:
  $Revision: 1.1 $

Field Summary

Fields inherited from class org.codehaus.activemq.util.JmsLogAppenderSupport
`JMS_PUBLISH_ERROR_CODE`

Fields inherited from class org.apache.log4j.AppenderSkeleton
`closed, errorHandler, headFilter, layout, name, tailFilter, threshold`

Constructor Summary
`JmsLogAppender()`

Method Summary
`protected Connection` | `createConnection()`
`java.lang.String` | `getPassword()`
`java.lang.String` | `getUri()`
`java.lang.String` | `getUserName()`
`void` | `setPassword(java.lang.String password)`
`void` | `setUri(java.lang.String uri)`
`void` | `setUserName(java.lang.String userName)`

Methods inherited from class org.codehaus.activemq.util.JmsLogAppenderSupport
`activateOptions, append, close, createMessage, createProducer, createSession, getConnection, getDestination, getProducer, getSession, requiresLayout, setConnection, setProducer, setSession`

Methods inherited from class org.apache.log4j.AppenderSkeleton
`addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold`

Methods inherited from class java.lang.Object
`clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### JmsLogAppender

    public JmsLogAppender()

Method Detail

### getUri

    public java.lang.String getUri()

### setUri

    public void setUri(java.lang.String uri)

### getUserName

    public java.lang.String getUserName()

### setUserName

    public void setUserName(java.lang.String userName)

### getPassword

    public java.lang.String getPassword()

### setPassword

    public void setPassword(java.lang.String password)

### createConnection

    protected Connection createConnection()
                                   throws JMSException

  Specified by:
    `createConnection` in class `JmsLogAppenderSupport`
  Throws:
    `JMSException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Protique, Ltd.. All Rights Reserved.