cancel
Showing results for 
Search instead for 
Did you mean: 

JMS integration - Java Objects

exto
Champ in-the-making
Champ in-the-making
Great to hear about the Camel/Mule integration posted here:
http://processdevelopments.blogspot.com/2011/06/alfresco-activiti-56-improves-mule-and.html

I'm am new to Activiti, and am currently evaluating bpm tools.

I was wondering if you have the ability to send a Java Object to the workflow that can then be referenced throughout.   If this was the case, I assume you would have to load the java libraries/classes of the objects onto the activiti server?  I noticed in one of the articles it said it expects the jms message to be of Map type, but can the Map contain other non standard java objects? 

My scenario is that I have a JMS message that has some errors, I want to send the message to Activiti and initiate a workflow, the user would then have the ability to reject/resend the message back to the JMS layer.   I would like to avoid trying to marshall/unmarshall to XML.

Thanks for any help!
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Sure, afaik you can just stuff any object in such message. Just have to make sure the right classes are on the classpath.