You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2010/05/04 20:17:16 UTC
DO NOT REPLY [Bug 49247] Add option for persistent/non-persistent
delivery in JMSAppender
https://issues.apache.org/bugzilla/show_bug.cgi?id=49247
--- Comment #1 from Scott Vandezande <va...@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