[
http://mifosforge.jira.com/browse/MIFOS-4369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Udai Gupta updated MIFOS-4369:
------------------------------
Attachment: Spring-based-Mifos-Schedular.patch
Attached patch which removes the support for old task.xml and uses one spring
context (one dataSource/pooling)
TODO:
- Fix tests
- move cron expressions per job from task.xml to a property file
(task.properties or applicationConfiguration.custom.properties/local.properties)
> Batch Job creates a different spring context and dataSource : Remove support
> for old task.xml format
> ----------------------------------------------------------------------------------------------------
>
> Key: MIFOS-4369
> URL: http://mifosforge.jira.com/browse/MIFOS-4369
> Project: mifos
> Issue Type: Improvement
> Components: Batch jobs
> Reporter: Udai Gupta
> Assignee: mifosdeveloperqueue
> Priority: Major
> Attachments: Spring-based-Mifos-Schedular.patch
>
>
> Quartz/Spring batch implementation of Mios Batch jobs creates a separate
> spring context, resulting in creation of a separate database connection
> pooling.
> see org.mifos.framework.components.batchjobs.MifosScheduler.initialize()
> The reason to create a separate spring context seems like requirement of
> "ability to pick external task.xml".
> We can either remove "picking up external task.xml" and use only one spring
> application context (one connection pooling only).
> OR
> We can start using JavaConfig to be able to pick *Context.xml dynamically.
> http://www.springsource.org/javaconfig
> I prefer the later one because it give us the ability to have custom spring
> configuration files at MIFOS_CONF localtion outside the application.see
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues