Complete sources are available on GitHub. You will need to obtain a copy of ActiveMQ to exercise SimpleQueueDriver and SimpleTopicDriver. To use SqsQueueDriver w/AWS requires an AWS account. Be sure to update aws.properties with your account information.
Since there is plenty of Spring documentation available, I'll skip the tutorial and directly address the sources on GitHub.
SimpleQueueDriver starts two listeners and then writes a TextMessage. Even though there are two listeners, only one will receive the text message (property of being a queue).
SimpleTopicDriver also starts two listeners and then writes a TextMessage. Both listeners will react to the message (property of being a topic).
SqsQueueDriver illustrates using Nevado as a JMS adapter for Amazon Web Services Simple Queue Service(SQS). Nevado is valuable because SQS does not expose a JMS API, yet many enterprise architectures are hosted on AWS and rely upon JMS.
SqsQueueDriver also starts two listeners and then writes a TextMessage. Even though there are two listeners, only one will receive the text message (property of being a queue).
No comments:
Post a Comment