Skip to content

Commit 74e5284

Browse files
authored
Create rabbitmq-lambda-sam-java.json
1 parent 35a1902 commit 74e5284

File tree

1 file changed

+83
-0
lines changed

1 file changed

+83
-0
lines changed
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"title": "Event driven Amazon MQ for RabbitMQ message processing using AWS Lambda",
3+
"description": "This sample project demonstrates event driven message processing from an Amazon MQ for RabbitMQ queue using an AWS Lambda function written in Java.",
4+
"language": "Java",
5+
"level": "200",
6+
"framework": "SAM",
7+
"introBox": {
8+
"headline": "How it works",
9+
"text": [
10+
"An Amazon MQ for RabbitMQ single-instance broker is provisioned. A test queue with name MyTestQueue is created. A message is pushed to the queue.",
11+
"An AWS Lambda function has an event source mapping (ESM) configured for MyTestQueue queue. The Lambda function is triggered by the new message on the Amazon MQ queue. The Lambda function processes the message and logs the decoded the message content."
12+
]
13+
},
14+
"gitHub": {
15+
"template": {
16+
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/rabbitmq-lambda-sam-java",
17+
"templateURL": "serverless-patterns/rabbitmq-lambda-sam-java",
18+
"projectFolder": "rabbitmq-lambda-sam-java",
19+
"templateFile": "template.yaml"
20+
}
21+
},
22+
"resources": {
23+
"bullets": [
24+
{
25+
"text": "Using Lambda with Amazon MQ",
26+
"link": "https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html"
27+
},
28+
{
29+
"text": "Creating and connecting to a RabbitMQ broker",
30+
"link": "https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/getting-started-rabbitmq.html"
31+
}
32+
]
33+
},
34+
"deploy": {
35+
"text": [
36+
"sam build",
37+
"sam deploy --guided"
38+
]
39+
},
40+
"testing": {
41+
"text": [
42+
"See the GitHub repo for detailed testing instructions."
43+
]
44+
},
45+
"cleanup": {
46+
"text": [
47+
"Delete the stack: <code>sam delete</code>."
48+
]
49+
},
50+
"authors": [
51+
{
52+
"name": "Biswanath Mukherjee",
53+
"image": "https://d1rwvjey2iif32.cloudfront.net",
54+
"bio": "I am a Sr. Solutions Architect working at AWS India.",
55+
"linkedin": "biswanathmukherjee"
56+
},
57+
{
58+
"name": "Rakshith Rao",
59+
"image": "https://rao.sh/assets/img/profile_pic.png",
60+
"bio": "I am a Senior Solutions Architect at AWS and help our strategic customers build and operate their key workloads on AWS.",
61+
"linkedin": "rakshithrao"
62+
}
63+
],
64+
"patternArch": {
65+
"icon1": {
66+
"x": 20,
67+
"y": 50,
68+
"service": "apigw",
69+
"label": "Amazon MQ"
70+
},
71+
"icon2": {
72+
"x": 80,
73+
"y": 50,
74+
"service": "lambda",
75+
"label": "AWS Lambda"
76+
},
77+
"line1": {
78+
"from": "icon1",
79+
"to": "icon2",
80+
"label": "event source mapping"
81+
}
82+
}
83+
}

0 commit comments

Comments
 (0)