if (policy == null) {
return null; //no pilicy is available in the module description
}
RMPolicyProcessor processor = new RMPolicyProcessor();
try {
processor.setup();
} catch (NoSuchMethodException e) {
throw new SandeshaException(e.getMessage());
}
processor.processPolicy(policy);
RMProcessorContext ctx = processor.getContext();
PolicyEngineData data = ctx.readCurrentPolicyEngineData();
if (data.isAcknowledgementIntervalSet())
propertyBean.setAcknowledgementInterval(data.getAcknowledgementInterval());