itk_queue v0.2.6 ITKQueue.Channel

Provides methods for interacting with AMQP channels.

Summary

Functions

Declares a queue and binds the routing key to it on the given channel. This sets up a queue so that messages sent with the routing key get directed to the queue

Closes a channel

Opens a topic channel on the given connection

Functions

bind(channel, queue_name, routing_key)

Declares a queue and binds the routing key to it on the given channel. This sets up a queue so that messages sent with the routing key get directed to the queue.

Returns the given AMQP.Channel.

close(channel)

Closes a channel.

open(connection)

Opens a topic channel on the given connection.

Returns an AMQP.Channel.