Massimiliano, Turning on a flow or setting a container-wide flag, will always result in the all-or-nothing behavior you're seeing. This is one of the reasons why we no longer have these flows in ServiceMix 4, but rather we have a new cluster engine that allows for more targeted persistence/serialization/clustering of exchanges.
For ServiceMix 3, your best option is probably to register an ExchangeListener with the container and, based on the target service or endpoint, store the information you want in a file or a database. That's a bit of extra code, but at least it allows you to only store/serialize the information you're really interested in. Regards, Gert Vanthienen ------------------------ FuseSource Web: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ On Mon, Feb 14, 2011 at 3:54 PM, Massimiliano Guillaro <[email protected]> wrote: > > hi, > i set activemq to use mysql db on other computer. If i use jbicontainer > persistent=true i see in the db all massages that transit through nmr but i > want only see the notification that pass through wsn2005. What i have to do? > And if i must use a jms flow how can i say to servicemix what flow i want to > use? > > Thanks > MG > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/how-to-store-wsn-notification-on-disk-tp3384574p3384574.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. >
