Results 1 to 4 of 4

Thread: FatalListenerStartupException - Cannot prepare queue for listener

Threaded View

  1. #1
    Join Date
    Jul 2005
    Posts
    3

    Default FatalListenerStartupException - Cannot prepare queue for listener

    Hi all,

    I have following situation. RabbitMQ is used by two systems: system1 and system2. Neither of them is a master system and each of them create own exchanges and queues. See attachment. The problem is when exchanges and queues are not yet configured (first start, or rabbitmq restart) and either system1 or system2 starts. Then I get following exception for listener:

    Code:
    Caused by AmqpIllegalStateException: Fatal exception on listener startup
    Caused by FatalListenerStartupException: Cannot prepare queue for listener. Either the queue doesn't exist or the broker will not allow us to use it.
    Caused by IOException: null
    Caused by ShutdownSignalException
    and the system goes down.

    Is there possibility, that listener automatically reconnect to queue even if it does not exist before and such situation does not cause system shutdown? Or maybe there is something wrong in such architecture?

    Best regards
    Tomasz Lempart
    Attached Images Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •