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
1
vote
0 answers

Amazon MQ (Apache ActiveMQ) Event Source Lambda payload is missing Destination

I have an AWS Lamda that is configured to receive messages from an Amazon MQ (Apache ActiveMQ) via an MQ trigger. I depend on the destination object shown in the example MQ record event in the documentation to know from which queue the message is…
jellybeans
  • 433
  • 5
  • 13
1
vote
1 answer

Amazon MQ High Storage Percentage

We currently use active/standby Amazon MQ (ActiveMQ) brokers in our architecture. We have been noticing that our storage has been constantly been increasing over time which is slowing down our broker performance and causing long reboot times. We…
user782400
  • 1,617
  • 7
  • 30
  • 51
1
vote
1 answer

Is there a way to set a message expiry policy on a specific queue in Amazon MQ?

Apache ActiveMQ offers the following setting to discard expired messages from a queue: 10 Amazon MQ doesn't support address-setting as a configuration…
pkout
  • 6,430
  • 2
  • 45
  • 55
1
vote
0 answers

Spring Boot Stomp With AWS ActiveMQ for thousands of Concurrent Connections

I am trying to build a Spring STOMP based application for exposing API's, we are using AWS ActiveMQ(AmazonMQ) as external broker for relaying STOMP messages. We are observing an issue when we are testing our application under load with JMeter, a lot…
shred22
  • 83
  • 1
  • 10
1
vote
1 answer

How can I move to the Jakarta namespace while using Amazon MQ?

I'm trying to migrate a codebase from Java 11 to 17, but I'm stuck with the ActiveMQ client artifact which is bound to the javax package which is removed from the JDK in later versions. The system connects to a Amazon MQ broker (running ActiveMQ 5)…
matsa
  • 346
  • 5
  • 16
1
vote
0 answers

Failed to connect with Amazon MQ Event Source from Lambda

I have connected a RabbitMQ queue based of Amazon MQ to a Lambda such that whenever there is a message added to the queue, the lambda is triggered. Here is my SAM configuration: MQConsumer: Type: AWS::Serverless::Function Properties: …
1
vote
1 answer

AMQPSSLConnection connection timeout

I am using the PHP library php-amqplib with Amazon MQ Rabbit When I create a new AMQPSSLConnection object with like the following: $this->connection = new AMQPSSLConnection( $params->get('rabbit_host'), $params->get('rabbit_port'), …
Ste
  • 591
  • 1
  • 9
  • 20
1
vote
1 answer

How to integrate AWS X-Ray tracing with Amazon MQ?

Is there anyway feasible to trace messages sent by Amazon MQ? Currently, we have API getting the request and sending a message to another application, which is needed to be traced. As there is no official documentation and support regarding the…
Narek
  • 33
  • 6
1
vote
1 answer

Amazon Pub/Sub Queues

I want to use a native AWS queuing mechanism to implement a pub/sub process where there one publisher and multiple consumers, but for each message, there is only a single possible receiver. Is this possible using SQS or SNS, or do these always go to…
1
vote
0 answers

Send Messages from AWS Lambda to RabbitMQ hosted in separate accounts (ACL rules for amqp?)

I have two AWS accounts, we'll call them A and B. Account A hosts a rabbitMQ broker in AmazonMQ. Account B has a lambda function that performs some actions and ultimately needs to send some messages to the queues in account A. Currently, some…
newtoaws
  • 11
  • 2
1
vote
1 answer

How can I override or merge the default policies in Amazon MQ (RabbitMQ)?

There is a default policy managed by AWS (ha-all-AWS-OWNED-DO-NOT-DELETE) that is assigned by default to any rabbitmq exchange due its priority (0) and wildcard .* . I am trying to match another policy with my exchanges with the…
ferflores
  • 1,084
  • 3
  • 18
  • 35
1
vote
1 answer

Java ActiveMQ + STOMP + SSH: illegal reflective access operation to method sun.security.ssl.SSLSocketImpl.setHost

I'm writing a simple Java JMS QueueBrowser client to AmazonMQ, that runs ActiveMQ with stomp protocol over ssh (hence he transport is stomp+ssl: // java import java.util.Enumeration; // jms import javax.jms.IllegalStateException; import…
loretoparisi
  • 15,724
  • 11
  • 102
  • 146
1
vote
1 answer

MassTransit on Publish method operation cancelled but the message already published

var tokenSource = new CancellationTokenSource(TimeSpan.FromSeconds(5)); await publishEndpoint.Publish(message, tokenSource.Token); PublisherConfirmation has the default value. I have a code like this what I expect from this code is, if the publish…
sercanD
  • 187
  • 1
  • 13
1
vote
1 answer

RabbitMQ pika losses connection

I am working in a project for fun but I have been past two weeks stuck at same issue. The scenario is the following: One consumer. Each time it receives a message, it sends a GET request to an API. This requests takes less than a second. Publisher.…
Frank
  • 23
  • 3
1
vote
1 answer

Unable to log in to CDK created Amazon MQ (RabbitMQ) web console

When creating a publicly accessible Amazon MQ instance (with RabbitMQ under the hood), I can easily log in to the web console. However when creating an MQ instance using the same settings and credentials through CDK I can't log in to the web…
Dries Hooghe
  • 123
  • 9