Servicemix Camel Activiti Integration and H2 Database configuration

北战南征 提交于 2019-12-08 11:39:36

问题


I have configured Activiti on Servicemix 5.1.1 and got it working with Camel. I need to configure Activiti to use SQL Server instead of the default inbuilt H2 which comes with servicemix for Activiti during feature installation. I am not finding any config files related to activiti to change the DB credentials either.

Any help on how to configure the Activiti DB with Servicemix is highly appreciated.


回答1:


There's no easy way to configuring another database at the moment. The solution would be to create a Blueprint XML file like the one we're using internally (cfr. https://github.com/apache/servicemix/blob/master/activiti/activiti-config/src/main/resources/OSGI-INF/blueprint/activiti-config.xml - you may have to remove the custom resolver bits), modify it to point to your SQL server and drop it in ServiceMix' deploy directory.

FWIW, I created https://issues.apache.org/jira/browse/SM-2379 to provide a more convenient way to define a new database.



来源:https://stackoverflow.com/questions/25902092/servicemix-camel-activiti-integration-and-h2-database-configuration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!