Curt,

I think there is a simple bug in the JMSAppender, providing it from
working correctly:

Currently it contains:

    if (this.topicConnection != null && this.topicSession != null &&
this.topicPublisher == null) {
      inOrder = true;
    } else {
      inOrder = false;
    }

which should be:

    if (this.topicConnection != null && this.topicSession != null &&
this.topicPublisher != null) {
      inOrder = true;
    } else {
      inOrder = false;
    }

Once, you're at it, will there be a XMLJMSAppender just like the
XMLSocketAppender in the core distribution? I have written one, but
couldn't do it cleanly using inheritance. So rather than using
delegation I extended it with an optional layout.

Mark van der Voort

On Thu, 10 Mar 2005 11:31:55 -0600, Curt Arnold <[EMAIL PROTECTED]> wrote:
> 
> On Mar 10, 2005, at 11:03 AM, Aaron Rustad wrote:
> 
> > I am trying to configure a JMSAppender programmatically but I just
> > can't
> > seem to get it to go. I must be missing something quite simple.
> >
> 
> Call OptionsConverter.activateOptions on the appender after setting the
> properties and before adding it to the logger.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to