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()`
`String` | `getPassword()`
`String` | `getUri()`
`String` | `getUserName()`
`void` | `setPassword(String password)`
`void` | `setUri(String uri)`
`void` | `setUserName(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 String getUri()

### setUri

    public void setUri(String uri)

### getUserName

    public String getUserName()

### setUserName

    public void setUserName(String userName)

### getPassword

    public String getPassword()

### setPassword

    public void setPassword(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.