You might find this article of interest, if you want to write your own...

Develop an Asynchronous Logging Framework using log4j with JMS and 
WebSphere MQ

http://www-106.ibm.com/developerworks/websphere/library/techarticles/0207_barcia/barcia.html


--
Tom Goetze




Thomas, Thanks for the suggestions.  I am worried that extending
JMSAppender is not going to work because the physical messages would
need to be in an MQ format, not a JMS format.  The messages headers will
be different even if the payloads are agnostic.  But since I know you
can go from a JMS message to an MQ receiver, I think I will investigate
going from a MQ message to a JMS receiver some more just to make sure.
I am mainly worried about our non-Java applications being able to send
the same logging type events.

Yoav, I will try it out for this current project I am working on.  If it
turns out to be useful I would be more than happy to contribute as an
add-on.

Thanks,

Brian

-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 16, 2004 7:54 AM
To: Log4J Users List
Subject: RE: Is there a "MQAppender"...

Hi,
The other post had a couple of good ideas.  The probability of us
including a provider-specific appender implementation is in the log4j
core is slim.  In add-on/contrib modules, the probability is higher, but
you'd have to write it, submit it to us (with the appropriate copyright
transfer), and probably agree to be the contact address for maintenance
on that contributed code.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: McCarty, Brian [mailto:[EMAIL PROTECTED]
>Sent: Friday, August 13, 2004 10:15 PM
>To: [EMAIL PROTECTED]
>Subject: Is there a "MQAppender"...
>
>I have looked at the JMSAppender and have used it with success;
however,
>I am curious if someone has written or attempted to written an appender
>that uses WebSphere MQ solely.  The reason I ask is that we are heavily
>invested in MQ via multiple operating systems and languages.  Having an
>appender that sends out MQ formatted messages rather than only JMS ones
>would allow non Java applications to be able to dequeue the messages at
>there final destination.
>
>In addition, if there were a port for log4cc that sent out the same
>formatted messages, the dequeue application would not have to change.
>
>I looked at the source code for JMSAppender, and it seems as long as I
>don't send the payloads as serialized objects and make a format
>required, it should be fairly simple.  I would appreciate any comments
>or suggestions.
>
>Thanks in advance,
>
>Brian M. McCarty
>I/T Lead Programmer
>210.913.1678
>WMQ(I) Specialist/Solutions Expert
>e-business Solution Advisor/Designer/Technologist



Reply via email to