Skip to content

Example for one of my talks on Camel that shows AWS - SQS component in action

Notifications You must be signed in to change notification settings

christian-posta/camel-sqs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

This example demonstrates how to use Apache Camel's SWS-SQS support.

TO use this example, you should first replace the access key and security key in the src/main/resources/default.properties file with those that belong to your AWS account.

Next, you should log into your AWS account, navigate to the SQS panels and create a new queue named 'demo'

Last, you can run the example with 'mvn camel:run'

You should see that one of the two routes produces JSON messages every 5 seconds to the 'demo' queue. You should also note that there are two types of messages:

a message with 'type' field == 'login' and another messages with 'type' == 'logout'

The second camel route will filter out messages and only allow 'type' == 'login' messages to make it through. These will printed to the console as well as logged as files to the file system under target/output.

Report any bugs to this git repo!

About

Example for one of my talks on Camel that shows AWS - SQS component in action

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages