QueueReceiver.receive(long timeout) and large messages

Hi ...
Our JMS application is using receive(milliseconds). I've been trying to research the exact behavior of the receive() method with a millisecond timeout, but haven't yet found out what happens if:
I specify receive (25000), i.e., timeout interval of 25 seconds;
At the 21-second mark, the response begins to arrive from the application server;
The response payload is quite large, and it takes 10 seconds for it to be completely transmitted down the network.
What happens at second number 25? Either MQ will see that the message is arriving and will wait the extra few seconds to assemble the whole thing and provide it as the return value from my receive(t) method, OR MQ will time me out, regardless.
Anybody know what's going on under the hood?
Thanks in advance!
John Taylor

This of course depends on the provider, but my guess is that most implementations don't "see" the message until it has arrived fully. In your case, this means that the message won't be available from the receive method until after 31 seconds. Rather than trying to time this, you may want to use the asynchronous model with a message listener.
- Bjarne.

Similar Messages

  • TS2634 My daughter got an ipad for Xmas and I am receiving her facetime and text messages on m iphone

    My daughter got an ipad for Christmas and I am receiving her facetime requests and text message from her ipad on my iphone.  How do I change this

    KellarFamJam wrote:
    My daughter got an ipad for Christmas and I am receiving her facetime requests and text message from her ipad on my iphone.  How do I change this
    Have a look here...
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • Why am I not receiving SOME CALLS AND ALL Message and words alerts after downloading ios7 ?

    After downloading ios7, I do not get calls and message alerts.  I see missed calls and new messages!

    Check to see if Do Not Disturb is turned on in Settings.

  • Receiver Soap Adapter and multipart messages

    Dear SAP XI experts.
    I have a scenario where I should create multipart message in an integration process and send it to a receiver using soap adapter. Is it possible to have two message types, one for main payload and one for attachment?
    In my case I know I have to switch on 'Do Not Use Soap Envelope' and 'Keep Attachments' parameters in communication channel configurations. Anything else needed in this side? For example in Adapter Module configurations?
    Is this scenario: To create multipart message in an integration process and to send it using receiver soap adapter, possible at all?

    Hi,
    >>>>In my case I know I have to switch on 'Do Not Use Soap Envelope' and 'Keep Attachments' parameters in communication channel configurations. Anything else needed in this side? For example in Adapter Module configurations?
    check question:
    My web service expects a SOAP with multiple elements in the SOAP body. How can I create such SOAP message?
    from SAP note: 856597
    and you will know everything
    Regards,
    michal

  • Cannot receive "add request" and bbm messages from International (Australia) Blackberry friends

    Hi,
    I am using Blackberry Curve 8520 on Vodafone network India. Everything was working fine when all of a sudden I was not able to receive messages on BBM from my friends in Australia. So we deleted each other and now they are not able to add me as well. Whenever they try to add it goes in pending and their cell vibrates(as per their complain). They can add other users in India so issues should be with my BB service. I tried calling my customer care hundred's of times but they are not able to solve my problem. I even visited their store BUT ALL IN VAIN. Everytime they send me some service book and ask me to remove battery and insert it again and say hope it will work BUT IT DOES NOT WORK. I am fed up of all this calling them again and again doing the same useless things. 
    My data plans are fine and I am able to send and receive BBM messages from my friends in INDIA.
    Kindly help me out in the same. Will highly appreciate. 
    regards,
    Pratik Shah

    i have the same problem but from Malaysia.
    Did your problem solved? Can you tell me how?

  • Application Builder takes long time and Popup messages during Build

    Hi All,
    My application is slightly bigger with over 300 VI's. In between the build process I receive pop up messages asking GMath library  files etc.. are modifies would u like to save the files..? When clicked on OK button it starts saving these library files and when it saves almost half the number of files the application builder crashes and causes LabView to close. As the build process is taking more than 2 hours and end result is always an unsuccesful build due to the application builder crash I am loosing my time.
    Regards,
    Pavan
    Solved!
    Go to Solution.

    Hi,
    I recently upgraded from LV 7.1 to 2009, both the Professional versions. My program consists of several hundred vi's. Building an .exe in LV 7.1 was a snap and took maybe 30-50 seconds (not including an installer). Building the same thing in LV 2009 (build script converted to project) takes nearly 30 minutes, not including creating an installer... most of the time is spent 'processing' and then saving vi's, which LV 7 did not appear to do. I've tried the Ctrl+Shift+Run suggested by JB but this does not help. I've also applied the 2009f patch. It still takes a fair amount of memory, 0.5 GB, but my core 2 duo PC has 2 GB and there is plenty available RAM. Any suggestions/details on the differences and something I could do to cut down on the build time?
    thanks,
    Dan

  • Can't receive long (2part) text messages and Picture messages say they were sent be they aren't

    I can't receive long (2 part) text messages, I only receive the first part or the second part but never the entire text. Also my picture messaging is unpredictable, sometimes I can send them sometimes I can't, it always tells me they were sent but the receiver doesn't always get them. Do I have to change something in my settings to fix these problems?
    Thanks
    Amy

    My phone has also stopped receiving long texts, (2 part messages). It has now started to receive only part 2. If you find a way to resolve this i would like to know too. Thanks shan

  • IPhone fails receiving calls and text messages

    Hi everyone, here is my problem.
    I have an iPhone 4 32GB. It was on iOs 5.1 (always worked perfectly) untill few days ago I have upgraded to iOs 7.1.
    The problem after the upgrade is that phone calls or sms messages fails to be received. Strange thing is I can receive at times calls from cellphones, but I don't receive calls from land line numbers. And text messages arrive all at once after hours.
    I have restored the phone in DFU mode twice, set up as new phone , tried a hard reset, network reset... nothing worked. It still fails to receive phone calls and sms messages.
    Before you ask, the "don't disturb" is disabled.
    I live in Italy and have a contract with TIM, i spoke with their cistomer service and according to them there's nothing more i can do on my end.
    Any idea?
    Thanks

    Hey G.Alby,
    Thanks for using Apple Support Communities.
    There are some steps in both of these article you can still try to resolve these issues.
    iPhone: Troubleshooting issues making or receiving calls
    http://support.apple.com/kb/TS3406
    Ensure that your software is up to date:
    Check for a carrier settings update.
    Check for an iOS software update.
    Note: Some updates may require a Wi-Fi connection.
    If the iPhone has a SIM card, reseat the SIM card.
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    Have a nice day,
    Mario

  • Why does my 3G iPhone no longer rings nor vibrates when receiving calls and text messages?

    Why does my 3G iPhone no longer rings nor vibrates when receiving calls and text messages?
    During a two weeks process, little by little I notice my phoe doesn't ring when I get a phone call.  So Far I have missed 22 calls that I am aware of.  Moreover, the phone does not alert me when I get a text message.  Sometimes I receive notice the next day that I received a call or a text message. 

    Follow the basic troubleshooting steps outlined in the user guide... reset, restore from backup, restore as new.

  • What does it mean when you receive a text on your iphone 6 form your own number and the message is duplicated on each side (sent/recieved) and has "verizon message" with a long number at the end of the text, duplicated as well?

    what does it mean when you receive a text on your iphone 6 from your own number and the message is duplicated on each side (sent/received) and has "verizon message" with a long number at the end of the text, duplicated as well?

        Great question stacybrownie! Let's get to the bottom of this so that it's not a cause for concern. When a message is sent to/from your own number, it will display as one sent, one received. This makes it display two messages as you are seeing. Let's clarify the second part of your question. Where do you see "Verizon Message" exactly? What is the long number at the end of the text? When did this start and is it with all text messages or only this instance?
    AdaS_VZW
    Follow us on Twitter at @VZWSupport 

  • I attempted to perform the itunes update on two different PCs and itunes will no longer open and I received a message to reinstall itunes. The reinstall did not work and I now receive a Runtime error message (R6034) re: library loading incorrectly. Help?

    I attempted to perform the itunes update on two different PCs. Itunes will no longer open and prompted me to reinstall itunes.  The reinstall did not work after several attempts and I received an error: "Runtime error R6034. An application has made an attempt to load the C Runtime library incorrectly. Please contact the application's support team for more information."  Has anyone else had this issue? How can I resolve it?

    I've been having the same exact problem this morning, and from the looks of it a lot of other people are posting about this issue, so I don't know if it's maybe something wrong with the download but I'm just relieved that it seems to be that instead of a corruption issue with my windows installation.  I'm just wondering how long this will take to be resolved.

  • IBaseMessage.Context getting disposed for large message processing (There was a failure executing the receive pipeline: Reason: Cannot access a disposed object. Object name: 'MessageContext'.

    Hi,
    I am trying to parse a large message (2.7 MB file) in a custom Flat file Disassembler (inherited from the Microsoft.BizTalk.Component.FFDasmComp) this does exactly the same work for FFDasmComp but also promotes the count of disassembled messsages. This
    works fine for small messages but for large messages I get this error
    There was a failure executing the receive pipeline: "<pipeline name>, <Pipeline assembly>" Source: "Custom FlatFile Disassembler" Receive Port: "ReceivePort7" URI: "<the input file location>" Reason: Cannot access a disposed object.
    Object name: 'MessageContext'.
    In the event log
    what I am doing inside the custom flat file assembly is, I am saving all the disassembled messages in a List<IBaseMessage> and then finally when GetNext() method returns null I am promoting the nRecordCount in the messageContext of all the disassembled
    messages. This is where I get the error when trying to promote to the message context.(Cannot access a disposed object, Object name: 'MessageContext'). I think the messagecontext is getting disposed, but it should not as I still hold its reference in
    the List<IBaseMEssage);
    private long nRecordCount = 0;
    private List<IBaseMessage> oDisassembledMessages = new List<IBaseMessage>();
    Any idea why this happens ?
    Thanks in advance, PLEASE HELP
    Surya

    Hi Surya,
    Are you still facing this issue? and are you using Flat File Disassembler in your Receive pipeline?
    If yes then set 'RecoverableInterchangeProcessing' to True.
    Please have a look in below articles-
    BizTalk
    Pipeline - Flat File Disassembler Cannot Access a Disposed Object 'DataReader'
    biztalk-esb-toolkitflat-file-debatching
    BizTalk
    Server: List of Errors and Warnings, Causes, and Solutions
    This issue can also occur if you are using Large Size message, in this case you will have to optimize your code.
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

  • IPhone 4 iOS 5.0.1 stops receiving calls and text messages

    Hi all,
    My iPhone 4 (iOS 5.0.1) suddenly stopped receiving calls and text messages. However, I'm still able to send them.
    The workaround for fixing this issue is to make an hard reset to the iPhone.
    This only occured with 5.0.1 version. It's very annoying because I'm not able to know if it's working or not (I can only suppose that it's not working when I'm a long period without receiving calls/messages)
    Do you know how to solve this ?
    Thanks in advance!

    JasminGomez wrote:
    I already hate iphones and I'm reconsidering my blackberry again because at least that one didn't fail me like this one does!
    First, who really cares what you do?  I certainly don't, and I doubt the vast majority of users on this forum don't either.  Ridiculous statements like that just make you look stupid.
    Second, this is a user to user technical support forum.  I saw a lot of whine here, not a question.  What is your technical support question?

  • HT201401 My iphone 4s turned off properly but when I went to put it back the apple icon came on and then an image I have never seen before of a ubs pointiing towards the word itunes in a circle.  And the phone no longer goes beyond this message.  meltdown

    My phone started acting up and I noticed my text messages were not being sent.  So I turned my iphone off.  My iphone 4s turned off properly but when I went to put it back the apple icon came on and then an image I have never seen before of a UBS pointiing towards the word itunes in a circle.  And the phone no longer goes beyond this message.  I try to turn it off and on again and same message over and over.  If I hit the any button on the phone nothing happens. Does anyone know what this means or seen this itunes messaging ?  meltdown? Please help.

    Hello Raja,
    Thank you so much for your response.  I had these photos backed up on iCloud but, had I not, its good to have an alternate solution as the one you suggested.  Actually, I went to the Apple store today and yes, you are absolutely correct Restoring in iTunes will result in permanent loss of photos unless backed up somewhere such as iCloud or other solution.  Well, what they did was restore the phone in itunes ( I did not have iTunes downloaded to my computer which is why it did not work when I went to do it myself, I needed to go to the iTunes site and go to the download iTunes button because my windows based HP laptop does not come with itunes already downloaded).  This retoration process took a while and I was forced to upgrade to the latest 7.1 iOS software which I was not too happy about -sometimes you like the way things work now :-)  Anyhow, they said this restoration request happens as a result of a software update (which I was NOT in progress of an update or doing an update) or sometimes when you remove the power cable too quickly from the iphone (which I do not recall doing this either but...). Since I had backed up on iCloud all of the photos were downloaded back on my iphone 4s.  Best of all was that my phone was back up and runnning and there was NO CHARGE at the apple store for this service of restoring my phone.  Well, I just wanted to share the results and I appreciate all the responses and support I received.  Thank you kindly.

  • I received an alert stating that my iCloud and I message accounts are registered on a previously deactivated computer, which is now registered to another person.  Can I deactivate it remotely?

    I received an alert stating that my iCloud and I message accounts are registered on a previously deactivated computer, which is now registered to another person.  Can I deactivate it remotely? The computer is no longer in my possession.

    Hi,
    If you have the means to prove the computer was yours and that you sold or gave it away then you could try starting here
    http://www.apple.com/uk/support/itunes/contact/
    You can access this page for a Local to you version from iTunes when it is logged into the Store and going to the bottom of the page and clicking Support.
    In the page that appears in your Browser go to the bottom of the menu and click Contact Support.
    In the page linked above (or your local version) click the iTunes Store Contact point on the right hand pane.
    After than follow the options for Managing your Account until you are offered an email link.
    Email them the info.
    9:50 pm      Tuesday; July 15, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

Maybe you are looking for

  • Urgent(abap runtime error)

    hi all, when i tried to findout the name(collective search) by  last name o'brien in PA20 OR PA30 transacton   i got the abap runtime  error  in production but when i tried samething in development and quality  by lastname  o'brein in PA20 OR PA30 TR

  • HT201413 What to do if my purchase won't download

    What if an error message occurs while trying to download a iTunes purchase. It started to download then the message read error tap to retry. I tried that but no luck

  • Sorry, we ran

    Hi, Tried to upgrade to Office 2013 from 2010. MS Lync got migrated but immediately after that Office 2010 is unlicensed. I tried office 2010 to upgrade to 2013 and got the error message. "Something went wrong sorry ran into a problem, your Microsoft

  • Is there a function module or BAPI to change the field UVP03 in table VBUP

    When certain conditions are in place I need to change the value of VBUP-UVP03 (items reserve status 3) to a value of C). there must be a FM or bapi to do this - thanks. Scott

  • Re: Installation of Windows XP on Satellite X200-23G - No HDD

    I tried installing Windows XP on my Satellite X200-23g, once i got installed but as desktop was seen... blue screen of death. Error occur and it went into restarting cycle... so i again installed VISTA from reconvery cd. Now when i try to install XP