Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COThank you for taking the time to answer, Yes the motive is to reconnect, but when do you mean by dummy queue ? Is it a queue which is not created at all ? How do I set it ? Could you please provide an example of the configuration for this?
      singulars
    2. COThe listener container is designed to receive messages from a queue - it will automatically re-establish the connection if it fails, but it need a queue to "listen" to, even if no data will ever be received. However, it's a bit of overkill to use the container for this purpose. Perhaps you should explain your exact use case - other components (such as the JmsTemplate) will reconnect if the connection is down. You just need to catch the exception and retry the send. You should update your question to explain the problem you have rather than the solution you tried.
      singulars
    3. COThe exact thing I am trying to do is, I have an application which sends messages to a Queue. The application setup is when the broker connection to the Queue is down, the messages should be written to a local file so we dont lose any messages and when the broker connection is UP, the messages should be sent to the Queue instead of writing to the local file. Right now, even though the broker connection is UP, the file is still written to the local file, I am looking at a solution where when the broker connection is UP, the messages will be sent to the Queue.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload