On Mon, Oct 04, 2010 at 06:21:32AM -0700, Gonzalo wrote:
> 
> I would like to use amqp participants within ruote-kit. Right now I'm
> just trying to start workflows remotely with a RuoteAMQP::Receiver.
> 
> So I added the following lines to config.ru:
> 
> --8--
> require 'ruote-amqp'
> 
> # AMQP magic worked here
> AMQP.settings[:host]  = 'localhost'
> AMQP.settings[:vhost] = 'ruote'
> AMQP.settings[:user]  = 'ruote'
> AMQP.settings[:pass]  = 'ruote'
> 
> # listen to the 'ruote_workitems' queue
> receiver = RuoteAMQP::Receiver.new(
>   RuoteKit.engine,
>   # the receiver accepts workitems and launchitems
>   :launchitems => true
> )
> --8--
> 
> Then I send some messages (with process definitions) to the queue
> "ruote_workitems". The command "rabbitmqctl list_queues -p ruote"
> shows:
> 
> Listing queues ...
> ruote_workitems 4
> ...done.
> 
> Here is the problem. The receiver isn't grabbing the messages from
> "ruote_workitems" queue. Do you know what is wrong? Am I missing
> something?

Hello Gonzalo,

what version of Ruby, ruote, ruote-kit, ruote-amqp ?

What do your workitems look like ? Maybe they are malformed. They won't get 
hanled if they are not hashes (JSON objects).


Best regards,

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

Reply via email to