Can JMSPriority be used to distinguish between real-time, near real-time workloads?

IHAC that needs to throttle work passed to a backend system, i.e. limit
          the # of concurrent requests, as well as prioritize between different
          kinds of workloads including real-time, deferred real-time
          (asynchronous) and batch.
          I'm proposing to use a pool of MDBs reading of a single JMS queue. The
          max-free-beans-in-pool would be used to limit the concurrent access to
          the backend system.
          Can JMSPriority be used to distinguish between the different kinds of
          workloads? (real-time, near real-time and batch)
          How is the JMSPriority used when consuming messages from a queue in WLS
          JMS? Are messages dequeued in strict priority order or is there an
          algorithm to ensure lower priority messages are periodically consumed,
          i.e. to ensure they are not starved-out? Or do you have to create a
          message selector to dequeue based on priority?
          Is the an appropriate use of JMSPriority or should I set-up dedicated
          JMS queues for each of the different workload types?
          Cheers
          Simon
          

          Tom,
          How do you create custome connection factories in JMS? And also how can u
          change the MessageMaximum to 0? I thought the minimum is 1 and that u can only
          change in the config.xml file??
          Any code snippets on how to write custom connection factories would be helpful.
          Thank You,
          Sankas
          Tom Barnes <[email protected]> wrote:
          >Hi Simon,
          >
          >Answers in-line.
          >
          >Simon Pearce wrote:
          >
          >> IHAC that needs to throttle work passed to a backend system, i.e. limit
          >> the # of concurrent requests, as well as prioritize between different
          >> kinds of workloads including real-time, deferred real-time
          >> (asynchronous) and batch.
          >>
          >> I'm proposing to use a pool of MDBs reading of a single JMS queue.
          >The
          >> max-free-beans-in-pool would be used to limit the concurrent access
          >to
          >> the backend system.
          >>
          >> Can JMSPriority be used to distinguish between the different kinds
          >of
          >> workloads? (real-time, near real-time and batch)
          >>
          >> How is the JMSPriority used when consuming messages from a queue in
          >WLS
          >> JMS? Are messages dequeued in strict priority order or is there an
          >> algorithm to ensure lower priority messages are periodically consumed,
          >> i.e. to ensure they are not starved-out?
          >
          >To get priority sorting you must configure the destination to sort by
          >priority.
          >It sorts FIFO by default.
          >
          >In addition, you may want to tune-down the pipe-line size between
          >the JMS server and the MDB (create a custom connection factory, and
          >set MessagesMaximum to 0, default is 10), as the pipe-line is unsorted
          >and consequently messages will not "jump ahead" of each-other in the
          >pipe-line.
          >
          >> Or do you have to create a
          >> message selector to dequeue based on priority?
          >
          >No.
          >
          >>
          >>
          >> Is the an appropriate use of JMSPriority or should I set-up dedicated
          >> JMS queues for each of the different workload types?
          >
          >The latter, as long the app can tolerate concurrent execution of all
          >workload
          >types due to having an MDB per queue. The latter will perform better
          >than selectors,
          >and you won't have to worry about the unsorted pipe-line.
          >
          >>
          >>
          >>
          >> Cheers
          >>
          >> Simon
          >
          >Tom, BEA
          >
          

Similar Messages

  • I have imported three gmail accounts into mac's mail client.  can i do anything to distinguish between them?  e.g., can i have each one appear in the mail list in a different color?  I don't want to do it by sender, but by email account.

    i have imported three gmail accounts into mac's mail client.  can i do anything to distinguish between them?  e.g., can i have each one appear in the mail list in a different color?  I don't want to do it by sender, but by email account.

    Welcome to the Apple Community.
    Enter the details of her second account at system preferences> mail, contacts & calendars.

  • Is there anyway i can put a stop to emails between a set period of time say 10pm - 6am without turning off internet connection

    Is there anyway i can put a stop to emails between a set period of time say 10pm - 6am without turning off internet connection.

    The only ways in iOS would be to stop using push mail or timed fetch mail and switch the account(s) to manual fetch.  That way, you only get mail when you open the mail app. to use it.
    Or, you could selectively disable wifi and cellular data - voice calls and SMS texts would still come through then.
    Other than that, I cannot think of a way to selectively disable email by itself.

  • Why can't I use iDisk for a back-up disk for Time Capsule?

    G'Day All,
    I am new to apple and mostly am loving it! Being new to this product has me asking some basic questions, like ... why can't I use iDisk for a back-up disk for Time Capsule?
    Here I have something like 20 gb disk space available, but it seems I need to buy an external hard drive (or an airport) in order to use, what I believe is one of apples greatest inventions, the Time Machine...
    Can anyone correct my flawed understanding or, better yet, teach me how to do it properly?
    Cheers
    Gabriel

    Gabr1el wrote:
    Thank you Pondini.
    Speed makes sense, but I thought I had plenty of size available ... never mind! Looking over some of the other posts, it looks as though I'd be better off with an external Hard drive than the Apple Time Capsule (if I want more than 12-18months service).
    That was true of some of the ones made a couple of years ago (many of which Apple replaced way beyond the warranty period, and even some beyond the 3-year AppleCare period). Presumably Apple has fixed the power supply problem in the newer units, so they'll last longer.
    If you don't have AppleCare for your Mac, I'd strongly suggest buying it. If you do, and buy a TimeCapsule, Airport, or other accessory within 2 years, it's covered, too.
    But unless you need a wireless router, yes, paying for one in a Time Capsule doesn't make sense. A good external HD is a much better buy.
    thank you for the links - I am still getting used to the way Apples work ...
    If you haven't found these yet, you may find some handy tips here: http://www.apple.com/support/switch101/
    here: http://www.apple.com/support/mac101/
    and some of the other videos listed on the Time Machine Tutorial page.

  • How can I have Facetime callers distinguish between my Ipad and my MacBook Pro?

    I'm wondering how does one set things up so that a Facetime caller can distinguish between calling me on my iPad versus calling me on my MacBook Pro? I have family calling me and it is popping up on the MacBook when, ideally, the call would come through to my Ipad when I'm traveling?

    Hello Mac_ThePI,
    In FaceTime's preferences, you can choose what Apple IDs and/or phone numbers you can be reached at. You might choose to make the phone number or certain Apple IDs the only checked option(s) on your iPad, and others on your Mac.
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Cheers,
    Allen

  • In what way can I Audition use for Voice removing,and I mean real removing?

    There are much prommesis from some software makers that the software the voice removed by there software,Who knows a real solusion?,by soft I mean.Audition Feature @Requestsemmrecsemmrecs

    This bean I have to use at sender channel right?
    Yes
    I mean is it is limited to JMS adapter?
    No
    You can find more information in the Wiki which deals with FILE  to RFC synchronous...using the above Module

  • Can I person use the same key for Apple software multiply times when he formats his computer?

    Lets say I bought
    Apple Final Cut Studio comes with the six discs and serial.
    Can I use that serial multiply times on my Apple Mac Pro 12 Core when I reformat It?
    Cause I always format my computers and I don't have to re buy the software to activate It right?

    Yes you can.

  • Distinguishing between IDocs for Delivery, Shipment and Invoice

    Hi Experts,
    I have a requirement where I am triggering IDocs from SAP for Delivery Document, Shipment and Invoice and sending them to a third-party middleware everytime they are created in SAP, by configuring output types for these documents.
    I want to know if we have any field in these IDocs's Structures that can be used to distinguish between the different documents such that we can identify which document has been received based on this field (or combination of fields)?
    I tried to use Document Category for this purpose, but this field is not available in Invoice and moreover, the IDoc Segment names are different for every IDoc's message type.
    The key point here is that I am not allowed to do any sort of Customization in SAP to achieve this and I can only go about using the Standard Functions inherently available in SAP.
    Please suggest a possible solution for this predicament of mine.
    Thanks in advance.
    Regards,
    Keerthi

    Hello Keerthi
    I do not see where the problem lies.
    We exchange via FTP share  similar documents with one of our logistics partner:
    Inbound delivery (VL33N) => sent as DESADV.DELVRY03 => converted on SAP-XI to TRADACOMS ORDHDR => file suffix .LTI
    Shipping Order (VL03N) => sent as SHPORD.DELVRY03   => converted on SAP-XI to TRADACOMS ORDHDR => file suffix .LTO
    I am not a fan of functional file names yet if the third-party tools is not capable to distinguish between the documents based on their contents at runtime then we need old-fashioned unique file suffixes.
    Of course the two ORDHDR messages can be distinguished based on their contents. The message contains a TYP segment with the following qualifiers:
    TYP/TYP2 = '0430' = (shipping) order (= outbound delivery)
    TYP/TYP2 = '0660' = inbound delivery
    From this logistics partner we receive two different kinds of DLCHDR (delivery confirmation) messages:
    TYP/TYP2 = '0670' = Proof of Delivery for (shipping) order => mapped to STPPOD.DELVRY03
    TYP/TYP2 = '0695' = Goods receipt for inbound delivery    => mapped to WHSCON.DELVRY03
    The files have different suffixes yet they are not evaluated. SAP-XI just picks both messages and evaluates at runtime whether it has to transform the DLCHDR into a STPPOD or WHSCON IDoc.
    Regards
      Uwe

  • How can i distinguish between set or tuples from incoming filters in a calculation

    How can i distinguish between set or tuples from incoming filters in a calculation. i am using descendants function with the leaves option to calculate some project revenue cause there is different calcuation method on sub projects the sum on the main project
    should reflect the sum of the sub project with all different methods.
    this works fine until i try to select 2 sub projects at the same time. i am getting the standard currentset dosnt work cause its a set.
    is there i way i can check if its a multiple select or not and handle it a different way

    Hi,
    Check the following link about Multi Select Calculations written by Mosha.
    http://sqlblog.com/blogs/mosha/archive/2007/01/13/multiselect-friendly-mdx-for-calculations-looking-at-current-coordinate.aspx
    Best regards...
    Chandima Lakmal Fonseka

  • Can I distinguish between different googlemail accounts in the mailto option?

    I have 2 different gmail accounts. When I use the "Email link" command it does not distinguish between the 2 accounts. Can I set the option to use just one gmail account?

    See Settings > Managing multiple accounts:
    *http://support.google.com/mail/?hl=en - Gmail Help
    Managing multiple accounts - Gmail Help:
    * http://support.google.com/mail/bin/topic.py?hl=en&topic=1669030

  • How can I use home sharing between our iphones (create playlists from both accounts at once)

    How can I use home sharing between our iphones, so that we can create playlists with songs from both of our libraries?  We share a Macbook Pro (separate accounts) and each have the new iphone, but when I have my iphone and try to create a new playlist, I can only grab songs from one account.  Is there a way to create a playlist using both accounts since we are sharing?
    Does it have to be created within iTunes first on our Mac?

    The short answer: because Home Sharing isn't designed for sharing apps, and apps aren't designed to be shared.
    The longer answer:  Think of it like this...
    You download some music in iTunes.  With Home Sharing, another user can listen to it by streaming it over the network.  But the data itself is on your computer.  If you turn off the computer or take it off the network, the other user can't access it.
    But if you send another user the app, they aren't just streaming the data- they installed it on their iOS device.  Because they weren't the one that purchased it, such a transfer could easily be considered "piracy" or "stealing," and nobody likes that (least of all, Apple). 
    When iTunes sees this app, it obviously recognized it, as if saying, "Hey, how did you get this app on your device, if I have no record of you purchasing/downloading it from the iTunes store?"
    post edited to correct spelling errors

  • I have 2 itunes accounts. I can no longer use my first one for purchases so I had to start a new one and it will not sync from my new one without deleting everything on my same ipod from my previous account. How do I sync between both accounts?

    I have 2 itunes accounts. I can no longer use my first one for purchases so I had to start a new one and it will not sync from my new one without deleting everything on my same ipod from my previous account. How do I sync between both accounts?

    Wayland wrote:
    The CS.com service account has long been closed. I cannot get it to respond to my years ago password for that account. So I ask them to send me a new password and of course it goes to my years ago email number.
    Don't have it send email.
    Answer the security questions.

  • Can I share my itunes library between my laptop at home and my computer at work using homeshare?

    can I share my itunes library between my laptop at home and my computer at work using homeshare?

    Can I rip my CDs to only one of the iTunes instances and share this iTunes Library between both instances of iTunes?
    Have a look at this article in the Apple Knowledge Base and let us know if it brings you any combination of joy and/or satisfaction.

  • How can I distinguish between iMessages and SMS messages in the iOS 7's "Messages" app?

    I often chat with the same contact using both services, but I just have a duplicate contact thread in the "Messages" app, which I cannot distinguish unless I go into the thread itself and check to see whether the conversation is blue or green. Is there a way to distinguish between the two services? If so, how?
    If not... Apple, get on it.

    Excuse me great powerful one. I will certainly deal with it and I'll try to survive. Sorry if I have troubled you, great Sir. I am not worthy of your answers.
    BTW: If you would have read the Q thoroughly you would not have posted an exact same answer.
    "...unless I go into the thread itself and check to see whether the conversation is blue or green. Is there a way to distinguish between the two services?"
    And I got your reply saying:
    "Yes, by going into the thread itself and check to see whether the conversation is blue or green."
    Wow, that was heplful.

  • Can I use home sharing between my iPhone and iPad? Or do I need to use a computer?

    I want to use home sharing between my iPhone and Ipad. So I can use the remote app. But I can't get it to work

    You can use it to share the library on your computer to the iPad, not the other way around.
    On the computer, set up homesharing in the advanced menu. On the iPad go to settings > music.

Maybe you are looking for