El 15/06/2010 14:51, John Mettraux escribió:
I expect to receive in my java consumer a workitem, but it doesn't
receive anything.
Hello Asier,
I have zero clue, but still, are you sure the process doesn't get into an error
? What does
p engine.process(wfid).errors
return ?
There's no errors in the engine. ruote-kit doesn't show errors and manual
inspecting the work/errors folder shows no files.
After launching the process there's no workitem gets dispatched for "alice".
All other processes in the engine are working, but this one looks like freezed
and finally I must kill the instance.
> - - - - - - - - - - - - - - - - - - - - - - -
<process-definition name="secuencia simple" revision="1_0">
<sequence>
<participant ref="copper" task="almacenamiento" queue="ruote" />
<participant ref="alice" task="aprobacion"/>
</sequence>
</process-definition>
> - - - - - - - - - - - - - - - - - - - - - - -
Maybe there is a hint in there. "it doesn't receive anything" could mean a) the
message didn't leave the engine or b) the message reached the queue but was not handed to
the java consumer.
Please tell us if it's a) or b).
[... some tests ...]
Well, after using whireshark to sniff some packets and digging the AMQP source
I found the problem:
Ruote:AMQP doesn't let you (or at least, I don't know how) specify the two
parameters (exchange name and transport key) so the AMQP server will use it's
defaults. From java (and other languages) you only must specify the queue
name, the other two parameters simply are "", an empty string.
Thanks for your hints, it was the a) option
Sincerely, I can't understand why ruote isn't more popular. It's an invaluable
product.
Thanks again
--
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en