anonymous wrote : If JMS is the way to go does this mean I need to turn off 
auto-acknowledge ? I say this because if the system crashes while processing, 
the message will need to be resent. If auto-acknowledge is turned on the 
message would be lost ... right/wrong? 

Wrong. At least if your using MDBs inside a transaction. Then the delivery of 
the Message is part of the transaction and if your machine crashes the message 
will get redelivered.

Concerning your first question I don't really understand what your going for. 
jBPM Tokens will move from one node to the next as long as the node itself 
moves them on to the next node, i.e. call signal with a transition. If the node 
does not signal and returns, the Token is in a wait state, waiting for some 
kind of external input. This can be from a UI, from a Timer, from a JMS 
Message, what ever makes sense to you. Once signaled the Token will again move 
on till the next wait state is arrived at.

What is the JMS Message sent during/after signal() supposed to do? By the way: 
the message would only get sent after signal() returns - at that point the 
workflow may have already proceeded till completion.

JMS Messages can be very usefull if you want to achieve asych execution, split 
execution into more than one transaction, as load balancer with MDBs, but they 
are not needed for direct execution of a workflow.

Happy New Year!

Rainer

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915091#3915091

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915091


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to