cancel
Showing results for 
Search instead for 
Did you mean: 

Using activiti-camel without spring dependencies

himani
Champ in-the-making
Champ in-the-making
Hi,

We have a restriction in our project to not use any spring specific Jars. We want to use camel routes to exchange data between our application and activiti.
In order to use Camel task one has to use one of CamelBehaviour API implementation which has spring dependency. Is there any way we can use the activiti-camel module without using any spring related dependencies. We are doing all out configurations programmatically.

Thanks
7 REPLIES 7

jbarrez
Star Contributor
Star Contributor
Hmm, the dependency seems pretty hard if I look at the code.

I'm afraid you'll have to write your own ActivityBehaviour and let you inspire by the CamelBehavior class.

smirzai
Champ on-the-rise
Champ on-the-rise
That looks like a valid arguement to me. But then the changes will not be backward compatible.
maybe we can remove sprint dependeny our of camel module, and only use it if activiti-spring is included.

What do you think Joram ?

jbarrez
Star Contributor
Star Contributor
Not sure about that one - Tijs is our resident Camel expert.
I have forwarded this topic to him.

himani
Champ in-the-making
Champ in-the-making
Removing spring dependency would be great help. We ended up creating our own camel routes outside of activiti framework.
It solved our purpose, but it would be good to have the provision to use the built-in feature camel of activiti as well.

smirzai
Champ on-the-rise
Champ on-the-rise
I will give it a try

smirzai
Champ on-the-rise
Champ on-the-rise
Here is the jira Issue I created for it
https://jira.codehaus.org/browse/ACT-2143

himani
Champ in-the-making
Champ in-the-making
thanks !!