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

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

问题描述

我已经在 Servicemix 5.1.1 上配置了 Activiti 并让它与 Camel 一起工作.我需要将 Activiti 配置为使用 SQL Server,而不是在功能安装期间为 Activiti 提供 servicemix 的默认内置 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 的任何帮助.

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

推荐答案

目前没有简单的方法来配置另一个数据库.解决方案是创建一个蓝图 XML 文件,就像我们在内部使用的文件一样(参见 https://github.com/apache/servicemix/blob/master/activiti/activiti-config/src/main/resources/OSGI-INF/blueprint/activiti-config.xml - 您可能需要删除自定义解析器位),将其修改为指向您的 SQL 服务器并将其放入 ServiceMix'deploy 目录中.

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 Camel Activiti 集成和 H2 数据库配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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