Log4j Version 1.2.14: Class JMSSink

Log4j 1.2

Log4j 1.2.14

org.apache.log4j.net Class JMSSink

java.lang.Object
  |
  +--org.apache.log4j.net.JMSSink
All Implemented Interfaces:
MessageListener

public class JMSSink
extends Object
implements MessageListener

A simple application that consumes logging events sent by a JMSAppender.

Author:
Ceki Gülcü

 
protected static Object
static void
 void
 
 

JMSSink

public JMSSink(String tcfBindingName,
               String topicBindingName,
               String username,
               String password)

main

public static void main(String[] args)
                 throws Exception

onMessage

public void onMessage(Message message)
Specified by:
onMessage in interface MessageListener

lookup

protected static Object lookup(Context ctx,
                               String name)
                        throws NamingException

Log4j 1.2.14

Copyright 2000-2005 Apache Software Foundation.