Hi all,

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?

Thanks for the help.
Gonzalo.

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