softwaremill / elasticmq

In-memory message queue with an Amazon SQS-compatible interface. Runs stand-alone or embedded.
https://softwaremill.com/open-source/
Apache License 2.0
2.52k stars 193 forks source link

Automatic creation of queue does not work (v1.4.6) #896

Closed kyto64 closed 10 months ago

kyto64 commented 10 months ago

I updated elasticmq version from 1.4.5 to 1.4.6 and now automatic queue generation is not working. Any ideas on this issue?

# docker-compose.yml
  elasticmq:
    build:
      context: .
      dockerfile: Dockerfile-elasticmq
    image: elasticmq:1.0.0
    ports:
      - "9324:9324"
      - "9325:9325"
    volumes:
      - ./config/elasticmq/custom.conf:/opt/elasticmq.conf
# Dockerfile-elasticmq
FROM softwaremill/elasticmq-native:1.4.6
# config/elasticmq/custom.conf
include classpath("application.conf")

queues {
  "default-dead-letters" {
    defaultVisibilityTimeout = 600 seconds
    delay = 0 seconds
    receiveMessageWait = 0 seconds
  }
  "default" {
    defaultVisibilityTimeout = 600 seconds
    delay = 0 seconds
    receiveMessageWait = 0 seconds
    deadLettersQueue {
      name = "default-dead-letters.fifo"
      maxReceiveCount = 100
    }
  }
}

Screenshot 2023-11-01 at 18 07 28

micossow commented 10 months ago

Thanks for reporting the issue. It should be fixed in v1.4.7