persistence is a property of the message, so you could use a plugin to ensure deliveryMode is NON_PERSISTENT for all messages to specific destinations. There is an existing plugin that enforces persistence for all messages, you would need to extend that plugin to add some filtering, included/excluded. Would be a nice enhancement.
Existing persistenceMode plugin for reference: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/plugin/ForcePersistencyModeBrokerPlugin.java?view=log On 11 October 2010 14:11, renyong <reny...@ihandy.cn> wrote: > Hi, everybody: > I'm an Chinese, and not good at English. > I have a question, I config an embedded broker, could I config an queue to no > persistence, others to persistence? Or could I config 2 emmbedd brokder to > resolve it? How to config it? > > > > 2010-10-11 > > > > renyong > -- http://blog.garytully.com Open Source Integration http://fusesource.com