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

  • SEARCH
  • Home
  • 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 8297549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T15:27:21+00:00 2026-06-08T15:27:21+00:00

We have a JMS based messaging application which handles around 2 million messages per

  • 0

We have a JMS based messaging application which handles around 2 million messages per day.

Now we have an additional feature to be launched which affects 60% of the total messages i.e. 1.2 million messages per day.
The plan is to have an internal queue on which we will forward the messages for this additional feature

The 2 design options thought of so far are:

a) Forward all messages to the 2nd queue on which a message driven bean (MDB) will process them – this isolates the first application from knowing whether or not this feature is required at all.

b) In the original application, filter out only the 60% volumes and forward them to the necessary queue – and thus reduce unnecessary traffic internally

So essentially balancing design vs volumes – which way shuld we go?

  • 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-08T15:27:23+00:00Added an answer on June 8, 2026 at 3:27 pm

    Option B. might give you a headace in the future. Keeping such filtering logic inside two business applications is rarely a good idea – think about changes to the filtering rules in the future that will trigger new versions of two applications.

    1.2M msgs/day is quite a number, if the messages are not tiny. Your solution A) is the easiest to build and handle of time, if the systems can cope with the volumes. I would do some load testing and if everythings is fine, go ahead with b).

    Depending on which plattform you are building on etc. many middleware and messaging products offers logic and filtering features that can be applied in the middleware, rather than in the actual application.

    [First Queue] -> Middleware, Copy All -> [Orig Appl. input queue]
                               , Filter   -> [New application input queue]
    

    For instance, this could easily be configured via Apache Camel in a few lines of XML.

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

Sidebar

Related Questions

I have a server application receiving messages from a JMS queue. And client applications
I have used JMS in the past to build application and it works great.
I have a standalone java application that fires up several JMS consumers using the
I have a system which contains multiple applications connected together using JMS and Spring
I'm trying to wrap my brain around JMS and have been reading up on
We have an application that processes JMS message using a message driven bean. This
I have a custom log4j appender that writes log messages into a JMS queue.
We have two systems, one based on JMS and another based on WebSphere MQ.
I'm trying to deploy an application in weblogic which is based on a Spring
I have an issue with JMS and transactions which I do not completely understand.

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.