ServiceMix的骆驼Activiti的集成和H2数据库配置 [英] Servicemix Camel Activiti Integration and H2 Database configuration

查看:392
本文介绍了ServiceMix的骆驼Activiti的集成和H2数据库配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在5.1.1的ServiceMix Activiti的配置,得到了其与骆驼的工作​​。我需要Activiti的配置为使用SQL Server而不是该功能安装时附带的ServiceMix为Activiti的默认内置H2的。我没有找到相关的Activiti的任何配置文件要么改变数据库凭据。

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.

有关如何使用ServiceMix的配置Activiti的DB任何帮助是非常AP preciated。

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

推荐答案

有没有简单的方法,以目前配置另一个数据库。该解决方案是创建像我们内部使用(CFR一个一个蓝图XML文件。<一个href=\"https://github.com/apache/servicemix/blob/master/activiti/activiti-config/src/main/resources/OSGI-INF/blueprint/activiti-config.xml\" rel=\"nofollow\">https://github.com/apache/servicemix/blob/master/activiti/activiti-config/src/main/resources/OSGI-INF/blueprint/activiti-config.xml - 您可能需要删除自定义解析位),修改为指向您的SQL服务器,并在ServiceMix的砸部署目录

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,我创建 https://issues.apache.org/jira/browse/ SM-2379 提供了更便捷的方式来定义一个新的数据库。

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

这篇关于ServiceMix的骆驼Activiti的集成和H2数据库配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆