This content has been marked as final.
Show 3 replies
-
1. Re: Persistence and Diverts
gaohoward Dec 20, 2011 2:49 AM (in response to shergill)If you configure the divert in the configuration file, it should be deployed afte each restart.
-
2. Re: Persistence and Diverts
shergill Dec 20, 2011 11:25 AM (in response to gaohoward)I am creating diverts during runtime.. something like this
DivertConfiguration dconfig = new DivertConfiguration(divertName, routingName, address, fwdingAddress, exclusive, filterString, transformerClass); _server.deployDivert(dconfig); -
3. Re: Persistence and Diverts
ataylor Dec 20, 2011 2:39 PM (in response to shergill)diverts arent currently persisted, you will have to add them to the configuration or have some bootstrap code.