Questions tagged [amazon-mq]

Amazon MQ is a managed message broker service for ActiveMQ that makes it easy to set up and operate message brokers in the cloud.

Amazon MQ was released in 2017. Currently supports only ActiveMQ since 5.15.0 and is frequently updated to support new versions of the broker.

147 questions
2
votes
0 answers

AWS Serverless: Processing a JMS feed that originates outside of AWS

Goal: understand options for processing a JMS feed using AWS serverless principles when the JMS feed originates outside of AWS. All of the JMS subscribe examples I've seen on AWS assume the JMS producers are writing to SQS or AmazonMQ. The JMS…
2
votes
1 answer

How to receive data MQTT on AWS

I have an external service that sends me data via MQTT. I need to receive this data on AWS then process it and then write it to an RDS instance. What services are recommended for this purpose? An Amazon MQ and a Lambda? A SQS and a Lambda? Any…
2
votes
0 answers

Spring Boot + Websocket + Stomp throws exception when server is idle

I have spring boot application in which I have implemented websocket + stomp with AmazonMQ. I am able to send messages to queues and consume from client. Issue is when server is idle for sometime and there aren't any messages sent to queues, I am…
Subodh Ranadive
  • 331
  • 1
  • 3
  • 17
2
votes
2 answers

Failed to connect to Amazon MQ with spring-boot 2 and Stomp

I am building WebSocket application with Spring boot 2, Stomp, and Amazon MQ. However I cannot connect to Amazon MQ broker. I get Failed to connect: connection timed out error. My WebSocket Configuration…
2
votes
2 answers

Amazon MQ (ActiveMQ) bad performance on large messages

We are migrating from IBM MQ to Amazon MQ, at least we would like to do so. The problem is Amazon MQ is having bad performance when using JMS producer to put a large message on a queue compared to IBM MQ. All messages are persistent and the system…
Ben
  • 594
  • 1
  • 9
  • 24
2
votes
1 answer

Does AMAZON MQ provides TCP endpoint?

I have created one broker on Amazon MQ and got a SSL endpoint on port 61617. I was looking for one non SSL endpoint as well (like we can have tcp on 61616 on Active MQ). Does Amazon MQ provides only SSL? Is there anyway, we can get the TCP endpoint…
Nish
  • 922
  • 13
  • 31
2
votes
1 answer

Difference between Active MQ and Amazon MQ

I Know the theoretical difference like : Amazon MQ provides a managed message broker service that takes care of operating ActiveMQ, including broker set up, monitoring, maintenance, and provisioning the underlying infrastructure for high…
GauravRatnawat
  • 717
  • 1
  • 11
  • 25
2
votes
3 answers

Amazon MQ unable to publish logs in CloudWatch

I’ve tested a variation of wide policy access , and got to the same point – the log groups is created, but the log stream isn’t. Followed https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-configuring-cloudwatch-logs.html and the…
2
votes
1 answer

Connect to ActiveMQ via STOMP in Go

Trying to connect to ActiveMQ instance on AWS via github.com/go-stomp/stomp library. The following code throws invalid command error: func (s *STOMP) Init() error { netConn, err := stomp.Dial("tcp", "host:61614") if err != nil { …
xaxes
  • 397
  • 9
  • 21
2
votes
1 answer

How to Consume & Publish message from Amazon MQ in Nodejs?

I need to use Amazon MQ to consume and publish message to queue using amqp protocol in Nodejs. I have already set up AWS MQ, define the broker and created a queue. I have followed AWS Javascript SDk but still I am not able to find any method to…
Ankit Uniyal
  • 424
  • 1
  • 7
  • 20
2
votes
1 answer

Using Amazon MQ as a broker relay for Spring Websockets + STOMP

Is it possible to use Amazon MQ as external broker for Spring + Websockets + STOMP? I'm trying with no luck. My config is as follows: @Configuration @EnableWebSocketMessageBroker @AllArgsConstructor public class WebSocketConfiguration extends…
adrianmoya
  • 719
  • 1
  • 6
  • 17
1
vote
1 answer

connection Refused for client AWS RabbitMQ with celery & Django

I am a noob in AWS RabbitMQ, Celery and I have some issues going on. Please have a look: pip install celery==5.2.7 My settings.py: CELERY_BROKER_URL = 'amqps://username:password@url.mq.ap-south-1.amazonaws.com:5671' CELERY_RESULT_BACKEND =…
1
vote
0 answers

Get complete Amazon MQ queue name inside AWS Lambda

I am using Amazon MQ as my MQTT broker and have used it as a trigger for my AWS-Lambda function. A message is published on the AmazonMQ's queue name: device.pir_5.property.alert. The Lambda trigger subscribes to the queue on: device.*.property.* The…
1
vote
0 answers

What is the purpose of an MQ concentrator topology?

Amazon MQ (and various on-prem MQs) can be configured in a "concentrator" toplogy with a larger amount of brokers that forward their messages to a fewer number of central brokers. What is the benefit of such a setup? Is the idea the brokers on the…
AfterWorkGuinness
  • 1,780
  • 4
  • 28
  • 47
1
vote
0 answers

Connecting to Amazon MQ from EC2 instance

If I want to pub/sub to Amazon MQ from an EC2 instance, do I need to attach a specific IAM policy to the instance? I didn't see anything of the sort in the documentation I read about MQ but it feels off not to.
AfterWorkGuinness
  • 1,780
  • 4
  • 28
  • 47
1 2
3
9 10