Thoughts about Connection Consumer

Hi All,
I was going through the jms interfaces and came across the Connection Consumer interface. I'm not very sure, how well does this interface work within a scope of an XA transaction.
I believe that Application Servers use connection consumers in order to service MDBs deployed on them. The connection consumer's job is to fetch messages from the server and fill up the JMS session in the server session pool provided by the App Server.
My question is how does the connection consumer associate the transaction context with the message it pops from the server. Note the connection is not aware of any transaction.
Thanks
- k

Hi,
Thanks for ur reply. However, there is still a little bit of confusion. Please read on..
As JMS�s transactions are managed on the session
level, a message that is loaded in a session by the
connection consumer is viewed as consumed within this
session and therefore its consumption falls under the
session�s transaction. From this it appears that the connection consumer fetches a message from the server and then loads it into a session (which might be an xa session). However when the JMS server had sent this message it was obviously unaware of the transaction of which this message would be a part of.
And working the above arguement backwards, I can say that the JMS Server could only be aware of the the transaction context if and only if the connection consumer sends it with the request to pop a message. The connection consumer can only get the transaction context from the session to which it would deliver the message. => The connection consumer needs to pop a session first and then send a request to the server along with it's transaction context. However, the specs seem to indicate the opposite.
You may be careful here, and check your JMS
implementation behaviour as some JMS vendors
may commit or abort all the messages that have
been previously loaded in the session. I understand that this issue would be specific to the jms vendor. I hope some vendors on this group can shed light on how they handle this.
Thanks
-K

Similar Messages

  • I keep on getting an error when logging onto my whatapp telling me about connecting to itunes, Ive now backed up and restored but im still getting the same message connect ot itunes for push messages

    I keep on getting an error when logging onto my whatapp telling me about connecting to itunes, Ive now backed up and restored but im still getting the same message connect ot itunes for push messages

    Hello there, Minig1501.
    The following Knowledge Base article has some information on the message you're receiving:
    Unable to use Apple Push Notification service (APNs)
    http://support.apple.com/kb/TS4264
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • After upgrading to 10.7.2, my iMac works fine for 40-50 minutes, then slows to a crawl.  Restart gets back to normal, then 40 minutes later need to restart again.  Thought about reinstalling Lion through Lion Recovery, but says my hard disk is locked?

    After upgrading to 10.7.2, my iMac works fine for 40-50 minutes, then slows to a crawl.  Restart gets back to normal, then 40 minutes later need to restart again.  Thought about reinstalling Lion through Lion Recovery, but won't let me, says my hard disk is locked?  Any suggestions?

    Launch the Terminal app in /Utilities/, run these two commands (copy & paste each one separately and hit the return key):
    sudo chflags 0 /volumes/*
    sudo chmod a+rx /volumes/*
    at the Password: prompt, type in your admin password, carefully since nothing displays on the screen, and hit the return key. These should unlock your drives. You might have to restart.

  • I can't be the first person to have thought about this but...would n't it be nice if instead of having to naviagte with your mouse to go back a page in Safari, wouldn't it make sense to just have a keyboard stroke to do that?

    I can't be the first person to have thought about this but...wouldn't it be nice if instead of having to naviagte with your mouse to go back a page in Safari, or any browser,  wouldn't it make sense to just have a keyboard stroke to do that? It comes to mind as I sit here with my hand bandaged in a splint after surgery.

    Try Command + [
    Allan

  • 2 questions about connection to hyper-v in windows 8

    hi,
    I can connect to my virtual machine from hyper-v manager  ,but when I try the other option
    --- connect with hyper-v virtual machine(option)  I see  on the log on wizard telling me that I don't have  the right to run this job.  take contact with the autorazition policy administrator.
    1---my question is here ,   is connect with hyper-v virtual machine  option   is  specially purposed to connect with  virtual server or it has some onother function!   because I opened the autorazation
    policy on my windows 8 to see if I can edit some policies but I didn't see any function to creat one only it is asking for archieve.
    2--connction trough remote desktop to VM is only purposed from ouside or you can use it  to connect to VM internally too? very short answers wil be enough.
    thanks
    johan
    h.david

    thanks
    ,but wat about connect to hyper-v  virtual machine option in start menu(which is one of  hyper-v manage  programa's option  and  the second is shyper-v manager), why I can not connect through this option
     it gives  me Always an error with  that I don't have the right to run this  conect option through its log on  window and I have to contact my system administrator of autorization policy?
    is this option (connect) outside the hyper-v manager is purposed for the server or I have to change some policies on my computer to can log on to virtual machine from ouside the hyper-v manager with this second option
    johan
    h.david

  • My disc drive on my imac does not appear to be working. It takes the disc in but then spits it out without reading it. I have thought about purchasing an external disc drive, can someone advise me please?

    My disc drive on my imac does not appear to be working. It takes the disc in but then spits it out without reading it. I have thought about purchasing an external disc drive, can someone advise me please?

    Try the following:
    In Finder, select the problematic volume and then press command-I.
    Expand the Sharing & permissions section if it's collapsed.
    If the section is locked, then unlock it by pressing the padlock button and then authenticating as directed.
    Tick/check Ignore ownership on this volume.

  • I downloaded what's app and snap chat and it keeps coming up about connect to I tunes to turn on push notifications. I'm connected and turned them on but it still says I haven't when I have opened the app. Any ideas how to solve it?

    I downloaded what's app and snap chat and it keeps coming up about connect to I tunes to turn on push notifications. I'm connected and turned them on but it still says I haven't when I have opened the app. Any ideas how to solve it?

    Hey did anyone get back to you on what you can do? I'm having the same problem, it's bugging me! Lol

  • Have you guys thought about as an option to upgrade nvidia 8800 GS.etc

    have you guys thought about as an option to upgrade nvidia 8800 GS to nvidia 200 series,nvidia gtx 260 and 280 model's for the 3ghz+ intel imac and your next gen line or even your towers as well even funcom and gear works are behind it 100% just as a suggestion but fairly reasonable one

    Welcome to Apple Discussions!
    This is a user to user board. If you have suggestions for how this board works, that's what this forum here is for. If you have feedback for new Apple products, it is best to post them here:
    http://www.apple.com/feedback/
    http://www.apple.com/contact/feedback.html
    And be mindfull of the unsolicited ideas policy at the bottom of the form. I typically add a comment that they are free to use my ideas without compensation.

  • I thought as a consumer, Apple works for us.  Had I known what I'd lose by upgrading, I would have thought twice!!!  I want Front Row BACK!!! also what is this new playlist that was auto added when I upgraded?  It's called iTunes  Artwork screen?

    I thought as a consumer, Apple works for us.  Had I known what I'd lose by upgrading, I would have thought twice!!!  I want Front Row BACK!!! also what is this new playlist that was auto added when I upgraded?  It's called iTunes  Artwork screen? 

    Think the iTunes artwork playlist is for a new screensave they put in where if you click the album artwork it plays the song.

  • If the batteries exploded inside my wireless mouse, do i need to buy a new mouse?  any thoughts about saving my mouse?  thank you!  nancy

    if the batteries exploded inside my wireless mouse, do i need to buy a new mouse? any thoughts about saving my mouse? thank you! nancy

    The chemicals or materials from inside the batteries can cause circuit
    damage in the mouse, the mouse may need to be replaced. You may
    have to check with the battery manufacturers customer relations to see
    if they offer guarantees covering products damaged those batteries...
    And those chemicals may remain as a health concern since the mouse
    cannot be subjected to washing, since there are electrical parts inside.
    How old is the mouse, and how old are the batteries?
    Some products have a limited warranty or guaranty.
    In some locations, that may be longer than in others.
    Were the batteries rechargeable or disposable?
    I'd consult an Apple Store and genius bar about the mouse and issues
    or concerns about the cause (or blame?) of the leaking batteries, or
    which way to go in that matter. I cannot suggest what else to do; we're
    not Apple representatives, but in a retail Apple Store they have options.
    Good luck & happy computing!

  • Pls give me a good example about connection pooling

    Hii am new to java, n like to know about connection pooling

    Search this forum or google for connection pooling. You will get plenty

  • Just fancy asking some questions which i have never really thought about

    I just fancied asking some basic questions which i have never really thought about, but suppose i should know.
    The first one is:
    A java program is executed through the main method
    public static void main(String[] args)So this method is passed a String array but i never pass the array to it, so who does?
    And secondly, you can have variables of type int and variables of type Integer. What is the difference?
    thanks

    I'll take a stab with some overly-simplistic answers. Corrections most welcome.
    A java program is executed through the main method
    public static void main(String[] args)So this method is passed a String array but i never pass the array to it, so who does?The OS passes the parameters to the JVM and the JVM calls the main method with the parameters from the OS.
    And secondly, you can have variables of type int and variables of type Integer. What is the difference?Integer is a wrapper class for the primitive int type. It allows you to use int-type concepts in places where an Object is required. But don't over-use these as there is a memory and performance overhead that must be taken into consideration.

  • G5 adding another Apple Cinema Display 23", wondering about connection. what I've read makes this unclear at best.

    MacPro G5 ...  adding another Apple Cinema Display 23", wondering about connection?
    what I've read makes this unclear at best.

    Bear with us, there is no such thing as a G5 PowerMac that is Mac Pro.
    Power Mac
    http://www.apple.com/support/powermac
    EveryMac
    video card ? Any Mac Pro can drive 2 x 23" displays
    How about the System Profile and top lines of hardware will you what Mac you really have, graphic, processor, type and amount RAM etc.

  • I have thought about adding a new persona, but once I click on the wear this nothing happens

    I have thought about adding a new Persona, but when I click on Wear this nothing happen

    See:
    *http://kb.mozillazine.org/Preferences_not_saved

  • Where Can I Learn About Connecting an External Drive to My Airport Extreme?

    I'm having trouble find information on this. I want to know the pros and cons of connecting my LaCie drive to the FireWire port of my base station so that different computers in the house have direct access to it. I'd like to know whether there will be a big change in the data transfer rate, any security issues, and whether permissions will be assigned automatically by the computer creating new folders on the drive. Also, I'd like to know whether Time Machine works well this way.
    Any thoughts would be most appreciated.

    You're right about the USB. Must have been imagining things. Darn those meds. Thanks for the speed comparison too; I think I'll experiment a bit. Shame about Time Machine though. I thought I had read a post elsewhere on the discussion board saying that Time Machine recognized an external drive connected to a router. It may not have been an AEBS, and perhaps recognizing it doesn't mean Time Machine will back up to it.
    Thanks again for your reply.
    Gregory

Maybe you are looking for

  • Multiple depreceation areas in Fixed asset module

    Hi All My customer wishes to implement the fixed asset module and is currently running three separate books in his asset register. Each asset has a separate net book value for each book (i.e. depreciation area) since they are depreciated at different

  • Why is there not an option to only print form data in Adobe XI?

    I have created a form in Adobe Acrobat XI Pro and saved it.  Then I want to open it in Adobe Reader, fill it in and then only print the form data but there is not an option to only print form data in Adobe Reader XI.  I'm not sure if it is in the way

  • Scan to Email and Yahoo Second Sign-In

    I am trying to setup scan to email on my HP printer and it's having problems with Second Sign-In on Yahoo.  I've turned off Second Sign-in and everything works fine but when I reenable it (on Yahoo) and generate an App specific password for my printe

  • Serial Number/Key not working

    I downloaded the Adobe Master Collection trough my university website and the download was succesful, I was provided a serial number and when I tried to complete the instalation the message was "We are unable to validate this serial number for CS6 Ma

  • Digital Signature - enforce mandatory fields before signing

    (Using version 8.05) I have a form with digital signature that locks certain fields in a collection upon signing it, then they click button to send full PDF via email to another person. That person then signs, locking down their portion of the form,