An example of how to send messages to an AMQP queue/exchange. Notice that this
is setup with the same params as StringAQMPExample. After making a new instance of
StringAMQPExample, just send ExampleAMQPSender ! "hi" to see the message "hi"
appear in the output log. Fun and Easy!
If you are planning to send lots of messages to lots of different exchange/queues,
consider creating Actor-based Senders, that will help your application to scale.
An example subclass of AMQPSender[T]
An example of how to send messages to an AMQP queue/exchange. Notice that this is setup with the same params as StringAQMPExample. After making a new instance of StringAMQPExample, just send ExampleAMQPSender ! "hi" to see the message "hi" appear in the output log. Fun and Easy!
If you are planning to send lots of messages to lots of different exchange/queues, consider creating Actor-based Senders, that will help your application to scale.