logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49247] Add option for persistent/non-persistent delivery in JMSAppender
Date Tue, 04 May 2010 18:17:16 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49247

--- Comment #1 from Scott Vandezande <vandezuma@gmail.com> 2010-05-04 14:17:12 EDT ---
Just discovered, you have to also set the delivery mode on the topicSender:

in activateOptions():

     topicPublisher = topicSession.createPublisher(topic); //existing

     topicPublisher.setDeliveryMode(this.persistentDelivery ? 
              DeliveryMode.PERSISTENT : DeliveryMode.NON_PERSISTENT);

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message