Hi Mario

Thanks a lot for your explanation, it was really useful. I try to get
your example "ruote/examples/mario.rb"
but I can't reach it. Can you tell me Where Can I find it?

Thank you

Luis Carlos

On Mar 3, 5:16 pm, Mario Camou <[email protected]> wrote:
> Hola Luis,
>
> We are using RuoteAMQP for that purpose. The base implementation of
> RuoteAMQP will send and receive workitems over AMQP queues, as well as
> sending arbitrary messages (but not waiting for replies). In my case I am
> subclassing RuoteAMQP::Participant and RuoteAMQP::Receiver, overwriting
> respectively the encode_workitem and decode_workitem methods to translate
> between the workitem representation and my message formats and to do
> correlation (i.e., when an incoming message comes in, to which FEI do you
> assign it?). Have a look at ruote/examples/mario.rb in the Ruote sources as
> well as the list archives for the discussion on that.
>
> In short, the trick is to have a Participant/Receiver pair. The Participant
> sends the message but doesn't do a reply_to_engine (so the workflow doesn't
> advance), while the Receiver does a reply when the message comes in. You
> could adapt this to work over JMS, XMPP PubSub or whatever other messaging
> platform you like. In our case we're using AMQP in one project and XMPP
> PubSub in another one.
>
> Hope this helps,
> -Mario.
>
> --
> I want to change the world but they won't give me the source code.
>
> On Thu, Mar 3, 2011 at 21:40, Luis Carlos Galvis Espitia <
>
> [email protected]> wrote:
> > Hi Everyone
>
> > I'm Luis and I'm a ruby and ruote beginner. I'm very interested about
> > this workflow engine and as a beginner I want to ask some questions
> > (Sorry about my English).
>
> > How I can do Asynchronous Activities in a process?
>
> > For Example to make wait a participant for some signal, I mean
> > waiting  for approval or something like that for another system.
> > .
> > I was thinking about using brokers like JMS and I know that ruby
> > supports JMS with STOMP.
>
> > Can a participant's action wait an undetermined time until receive
> > that signal.
>
> > Sorry if my question it's too elementary, I'm a JEE developer and I'm
> > a quite new on this.
>
> > Thanks a lot
>
> > Luis Carlos Galvis Espitia
>
> > --
> > 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
>
>

-- 
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

Reply via email to