Questions tagged [elastic-mq]

15 questions
6
votes
1 answer

Set the endpoint for boto3 SQS

Our application uses amazon's SQS for message queues and we use elasticMQ for testing/staging; elasticMQ is a message queue server that is fully compatible with SQS. Since the majority of our application is in java, we can run embedded elasticMQ in…
cscan
  • 3,684
  • 9
  • 45
  • 83
4
votes
1 answer

How can I call elasticmq on node.js via AWS SDK?

I am developing a node.js project plannig to run on AWS and use Amazon SQS. I am setting up a local development environment using elasticMQ. (https://github.com/adamw/elasticmq) It's cool that the binary is also available through npm. Is it possible…
Eye of the Storm
  • 373
  • 3
  • 11
4
votes
3 answers

How do I POST a JSON file as MessageBody for Amazon SQS?

I run ElasticMQ locally to emulate Amazon SQS, and I want to send a JSON file as a MessageBody. Here's an example request that works: $ curl 'http://localhost:9324/queue/foo?Action=SendMessage&MessageBody={"action":"hey"}'
neu242
  • 15,796
  • 20
  • 79
  • 114
3
votes
1 answer

Why is the Node.js AWS-SDK returning the wrong SQS queue URL when creating a local queue

I'm using ElasticMQ to simulate AWS SQS on my local dev machine. I'm running ElasticMQ inside a Docker container, using docker-osx-dev to host the Docker container on a Linux VM. This means that I access the local ElasticMQ instance at the IP of the…
LaserJesus
  • 8,230
  • 7
  • 47
  • 65
2
votes
0 answers

Messages are not moved to DLQ

I'm using ElasticMQ (via docker image v1.3.3) and can't get the DLQ to work. This is my elasticmq.conf: include classpath("application.conf") node-address { protocol = http host = localhost port = 9324 context-path = "" } rest-sqs { …
Eyal Ringort
  • 601
  • 6
  • 19
2
votes
0 answers

Why am I getting a SQSError: 404 when trying to connect using Boto to an ElasticMQ service that is behind Ambassador?

I have an elasticmq docker container which is deployed as a service using Kubernetes. Furthermore, this service is exposed to external users by way of Ambassador. Here is the yaml file for the service. --- kind: Service apiVersion: v1 …
fanoffan
  • 41
  • 1
1
vote
0 answers

Create queue on ElasticMQ startup without config file

Well, I am wondering if it's possible creating the queue on container startup but without the config file, because at work we use an internal tool for CI, and can just set some environment variables and we are forced to rewrite the entrypoint…
João Casarin
  • 674
  • 2
  • 9
  • 27
1
vote
0 answers

does elastic-mq have a health/readiness port?

I am writing a helm chart for a project that will load softwaremill/elasticmq-native and want to check that its ready (liveness/readiness). I found no information regarding any such endpoints for elastic-mq, am I missing something? currently I just…
1
vote
1 answer

AWS SQS SendMessage isn't working with serverless-offline-sqs

I'm working with serverless, porting two functions, one (call it generator) that is currently a long-running node process and the other (call it checker) triggered by cron, so that they both would be lambdas, checker triggered by a schedule, and…
1
vote
1 answer

Re-setting the H2 database in-between tests (i.e. reset DB to my SQL file)

I am attempting to use H2 for my integration tests. I want the H2 database to reset to my data.sql between each test. But in suggested solutions, I have not found to be worked; @Transactional and @DirtiesContext does not seems to be working. In a…
C Murphy
  • 313
  • 2
  • 11
1
vote
2 answers

Run docker image with external configuration file with fabric8 maven plugin

I am trying to run elasticmq over docker with maven. You can find my configuration for docker below. And also under the /src/main/resources/container/sqs/config folder I have custom queue configuration name as elasticmq.conf
vtokmak
  • 1,496
  • 6
  • 35
  • 66
1
vote
0 answers

ElasticMQ does not reject illegal string as epected

I have been using ElasticMQ, it is supposed to behave like AWS SQS. According to AWS SQS online documentation, any illegal strings that are out of this range #x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF, will be…
Yu Zhang
  • 2,037
  • 6
  • 28
  • 42
0
votes
1 answer

serverless-offline-sqs ListQueues not displaying queue

In my sls project, I setup sqs offline usage as shown below using this article. npm installed serverless-offline-sqs as dev dependency Included serverless-offline-sqs after serverless-offline in serverless.ts plugins section Added custom…
suman j
  • 6,710
  • 11
  • 58
  • 109
0
votes
1 answer

why ElastiMq keeps requiring server and check parameters since I am passing it

I am using AWS SQS for the first time. I work in certain company which blocks us via firewall to connect from our local network to SQS for some reasons beyond my control. I can upload anything I have developed to our TomCat in AWS or even run via…
DemeCarvO
  • 487
  • 4
  • 16
  • 28
0
votes
0 answers

Akka failure when running integration tests in maven

I've written some integration tests for a project which, when I run the service in intellij and then run the integration tests works fine, but when I run man clean verify, if causes the following error at the point that I attempt to create the…
user1853665
  • 83
  • 2
  • 8