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 8278239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:56:34+00:00 2026-06-08T08:56:34+00:00

i would like to setup a JMS Queue on a Glassfish v3 Server for

  • 0

i would like to setup a JMS Queue on a Glassfish v3 Server for saving some protocoll informations on a sql server.

My first try ended up in lot’s of deadlocks on the sql server.

My first question is: Are the messages in a queue processes after each other or in parallel. How do it set it up to process the messages after each other. Time does not play a role. I want to bring only a minimum load to the sql server.

The second: Where can i see how much messages are waiting in the queue for processing?
I had a look into the monitoring of glassfish and also the

http://server:adminport/__asadmin/get?monitor=true&pattern=server.applications.ear.test.war.TestMessageDrivenBean.*

But i could not see a “tobeprocessed” value or s.t. like that.

Many thanks,

Hasan

  • 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-08T08:56:36+00:00Added an answer on June 8, 2026 at 8:56 am

    The listener you bind to the queue will process messages as they arrive. It responds to an onMessage event. You don’t have to set up anything.

    You do have to worry about what happens if the queue backs up because the listener(s) can’t keep up.

    You should also configure an error queue where messages that can’t be processed go.

    Have you thought about making the queue and database operation transactional? That way the message is put back on the queue if the database INSERT fails. You’ll need an XA JDBC driver and a transaction manager to do it.

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

Sidebar

Related Questions

I would like to setup some automated testing of test cases upon Fortran binaries
i would like to setup auto deployment script to my testing server locally. i'm
I would like to make a First Access Database Setup Process in my spring
I have an ASP.Net 3.5 application in which I would like to setup some
I would like to setup my windows authentication login to SQL to mimic the
I would like to setup TinyMCE to allow literally any HTML without any cleaning
I would like to setup a multi-tenant ASP.NET MVC app. Ideally, this app would
I would like to setup my maven release to run in batch mode, but
I would like to setup a simple loginpage for my webapp. As the app
I am using the Professional Edition of Salesforce.com. I would like to setup several

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.