Actually, looks like this was a case of me Doing It Wrong, as the
ruote-amqp participant already does support stateless operations.
Here's the updated code that made things work for me:

------ snipped from config/initializers/ruote_kit.rb -------
    participant :ashley, RuoteAMQP::Participant
    participant :kitty, RuoteAMQP::Participant
    participant :copper, RuoteAMQP::Participant

    RuoteAMQP::WorkitemListener.new( RuoteKit.engine )
------------------------------------------------------------

------ snipped from app/models/email.rb ------
  PDEF_CREATE_EMAIL = Ruote.process_definition :name => 'create_email'
do
    cursor do
      requestor_notification :email_subject => "Additional Information
Required"
      concurrence do
        requestor :task => 'upload_account_application_form'
        requestor :task => 'upload_nda'
      end
      reviewer :task => 'review_forms'
      rewind :if => '${forms_not_ok}'
      approver :task => 'approve_email_account'
      cancel_process :if => '${account_denied}'
      concurrence do
        kitty :command => '/sample/quote', :queue => 'ingress_work1'
        ashley :command => '/sample/quote', :queue => 'ingress_work1'
      end
      copper :command => '/sample/quote', :queue => 'mailbox_work1'
    end
  end
-----------------------------------------------

With these tweaks, I am able to make calls to remote AMQP participants
from my example Rails app. I'll update github soon.

On May 7, 9:11 pm, John Mettraux <[email protected]> wrote:
> On Fri, May 07, 2010 at 11:09:02AM -0700, threetee wrote:
>
> > Thank you for the detailed explanation.
>
> > Kenneth and John, please let me know if you need any further
> > information from me on this. I would love to volunteer to help update
> > ruote-amqp, but I'm not sure I'm familiar enough with ruote yet to do
> > so. :)
>
> Hello,
>
> if you have time to fork ruote-amqp and to work toward a working version 
> please do so. If not, please let me know and I will try (with you as QA).
>
> Cheers,
>
> --
> John Mettraux -http://jmettraux.wordpress.com
>
> --
> 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