Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9091641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T22:39:31+00:00 2026-06-16T22:39:31+00:00

I have two questions about JMS: 1) What happens when the queue is down

  • 0

I have two questions about JMS:

1) What happens when the queue is down and the publisher is trying to send a message. What error I am going to get?

2) What happends when message is avaiable but the consumer is not? Will the message wait indefinitely until it is consumed?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T22:39:32+00:00Added an answer on June 16, 2026 at 10:39 pm

    1) Generally, you can expect some form of (runtime) connection exception as your code (assume Java) is trying to connect to your JMS broker. The exact exception will depend largely on any frameworks you use (i.e. Spring). You’d need to decide what to do in this scenario (i.e. throw exception back to client). One option could be to cache the message to be published and attempt it a certain time intervals, if the client is not concerned with the actual moment the message is published.

    2) Nothing, your message will just sit in the queue until something deletes it. This could be a consumer after a successful listen and process, or it could be the broker (I think there is a JMS property called time-to-live which can be set when publishing so that the message would disappear after that time if not consumed).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two questions about this: I am trying to assign an image to
I have two questions about java.awt.Shape . Suppose I have two Shape s, shape1
So I have two questions about HashMap s in Java: What is the correct
I have two noobish questions about Flash, Actionscript, Flex etc. 1) With these technologies
I'm building this website and I have basically two questions about this page: http://sites.publishyours.com.br/silviamecozzi/pt/obra/deserto_das_palmas.php
So basically, I have two fast questions about kohana urls. 1) With default .htaccess
I have two questions about Haskell type expression: Question 1 - I would like
I have two questions about Magento category naming. as I have to change the
I have two questions about Google's dense_hash_map , which can be used instead of
I have two questions on how to write a correct/without error CSS 2.1 stylesheet:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.