Making synchronous call to mdb!!!!!!!!

Hi All,
I am using SomeTaskMDB to store data in database, and then same mdb is trying to retrive that stored value for the next call to onMessage(). But some time my code is failing and some time it is getting success, the probable reseon for this is since mdb is asynchronous it is first trying to retrive the data which is not there and hence my next code is failing. Can I make my mdb to first attend the first call that is which insert data into database and then second call which retrive the data which is stored by first call.
I appreciate if anyone can give me some guidlines or reference from books/internet.
Thank you in advance

If I correctly understand your question you want to do something like that:
onMessage( message1 )
     store message1 in DB
onMessage( message2 )
     retrieve message1 from DB
     store message2 in DB
onMessage( message3 )
     retrieve message2 from DB
     store messsage3 in DB
�.
�.
If this is correct then you don�t really want to concurrently process your messages. You then need to set a concurrency level of 1 for your MDB. Hence, only one instance of your MDB will be deployed and your messages will be sequentially processed.
Arnaud
www.arjuna.com

Similar Messages

  • Synchronous call to webservice for retrieving values

    Hi
    I am making webservice synchronous call from bpm,I want to retrieve data doing lookup in webservice,
    Can uplease tell me how we will achieve this.SOAP Lookup we can use?
    Thanks
    Best Regards,
    Harleen Kaur Chadha

    Hi,
    check this links
    Webservice Calls From a User Defined Function.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
    regards
    srinivas

  • On IPhone 5S, when making cell calls, it connects to FaceTime.

    On IPhone 5S, IOS 7.1.2, when making cell calls, it connects to FaceTime.

    Hey there siteshop,
    It sounds like you are still hearing the phone line ringing even after the person you call answers the line. I would try the troubleshooting outlined in this article:
    iPhone: Troubleshooting issues making or receiving calls
    https://support.apple.com/kb/TS3406
    Toggle airplane mode: Tap Settings > Enable Airplane Mode, wait five seconds, then turn off airplane mode.
    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.
    If the iPhone 4 or iPhone 4s is on the Verizon network, dial *228 from the iPhone and select option 2 to update the Preferred Roaming List (PRL). The PRL determines the cellular towers the phone uses for cellular service, selecting those with the best signal strength.
    Reset the network settings: Tap Settings > General > Reset > Reset Network Settings.
    Try to make or receive calls in another location.
    Attempt to isolate to one network band:
    If you're having the issue on LTE, disable LTE, if possible, and try again.
    If you're having the issue on 3G/4G, disable 3G/4G, if possible, and try again.
    Contact the carrier to check the following:
    Your account is properly configured to use the specific iPhone that has the issue.
    There are no localized service outages.
    Your account doesn't have a billing-related block.
    Your calls don't have errors on the carrier system.
    Restore the phone as new.
    If the above steps don't resolve the issue, go to an Apple Retail Store, carrier, Apple Authorized Reseller, or contact AppleCare to send the phone in for service.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    Hello SamSax
    Check out the assist page below for troubleshooting call connectivity.
    Calls and connection issues
    http://www.apple.com/support/iphone/assistant/calls/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • HI I have an Iphone 3GS and the microphone jack works when I play music but not when making phone calls.   please help as I use it for conference calls

    Hi   I use my phone for conference calls and use the microphone jack to connect to speakers.      It doesnt work when making phone calls but when i play music on the phone the jack works with the external speaker.   

    Happy to have been of help. Hope all goes smoothly.
    BTW, for the sake of others who may help you here, it's usually most polite if you mark the post that answered your question as being the one that "solves" it, not your own post. That's how people get points here, if a questioner marks their post as either "helpful" or "solving". It's not an issue for me, but for those just starting out in the forums it may be important to them. See:
    https://discussions.apple.com/static/apple/tutorial/mark.html
    and
    https://discussions.apple.com/static/apple/tutorial/reputation.html
    Regards.

  • HT1665 i have an apple IPhone4. I am experiencing certain problem with my iphone4. The problems are as follows a. my ear piece and proximity sensor is not working while making a call. 2. It cannot reproduce sound without earphone but rings if gets any cal

    Hi folks,
    i have an apple IPhone4. I am experiencing certain problem with my iphone4. The problems are as follows a. my ear piece and proximity sensor is not working while making a call. 2. It cannot reproduce sound without earphone but rings normally if gets any call.
    Can any one help me in this regard??

    Try to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comes back again. You will not lose data by resetting, but it can cure some glitches after installing new software or apps.

  • Issue while making a call through Nokia lumia 510

    Hi, i have purchased nokia lumia 510 around five months back. since then this phone is troubling me in a way or other. earlier there were issues with internet connectivity when i rectified it now there comes a new problem which occurs while making a call. whenever i make a call or receive a call after a few minutes i am unable to get the voice of the person on another side nor the other persons gets my voice. sometimes this happens just after 30-40 seconds and sometimes it happens after 15-16 minutes. then i have to cut the call in between and again have to call that person. this issue comes everytime i make or receive a call. i am so much irritated of this now. i even went to nokia care and they have replaced the speaker of the phone but this issue has not been resolved. can someone please help me to resolve this. please i need a permanent solution of this now.

    Have you tried replacing your sim card?
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • IPhone 4 updated from 6.0 to 7.1.2 and now the picture no longer appears when receiving or making phone calls.  How do I fix this?

    I updated the software for my iPhone 4 from 6.0 to 7.1.2 and now pictures (contact picture/picture ID's) no longer appear (take up the entire screen) when receiving or making phone calls.  They only show in a small circle which is not convenient at all.  How do I fix this, please?

    You are welcome. I have seen numerous posts on this subject, so I suspect you are correct. It doesn't seem like a welcome change. You can send feedback to Apple at http://www.apple.com/feedback/iphone.html

  • I ordered a new phone and shipped it to a friend in Dubai, UAE. without knowing i have to activate it by making 5minutes calls, please i need a way to activate it without sending it back to the US..any help? this has been very frustrating for me this past

    I ordered a new phone and shipped it to a friend in Dubai, UAE. without knowing i have to activate it by making 5minutes calls, please i need a way to activate it without sending it back to the US..any help? this has been very frustrating for me this past few days

    scottxx,
    That was very nice of you to provide your friend with a new phone! I am sorry to say that the device will not be able to activate while in Dubai. For a device to activate it must connect to the VZW network to become active. I apologize for any inconvenience.
    LindseyT_VZW

  • How to display contact person full screen photo in making a call or receive call

    How to display contact person full screen photo in making a call or receive call

    Apple have removed the full screen contact image calling in 7.1, they come with default icon. Hope they bring back that option in next, you can also leave feedback @http://www.apple.com/feedback/

  • I get an error message "iPhone is already on a call" when making phone calls from Macbook Air. What can I do to fix this problem?

    I have followed the instructions exactly according to Apple for making phone calls from my Macbook Air. Im signed in to iCloud on both devices. Im on the same wifi network. Wifi calls is turned off on my iPhone. Any suggestions?

    Howdy jcannon130,
    Thanks for using the Apple Support Communities.
    To troubleshoot this issue where your Mac believes you iPhone is still on a call while trying to make a call from your Mac, please first reset your iPhone, and then verify you have the settings configured correctly on your Mac and iPhone.
    Restart or reset your iPhone, iPad, or iPod touch - Apple Support
    Get help using Continuity with iOS 8 and OS X Yosemite - Apple Support
    Happy Holidays!
    Alex H.

  • Unable to be heard when making a call?

    I am unable to be heard when making a call, but can be heard when using speaker or headphone

    There may be some issue with your mic. I'd go to an Apple store

  • After making a call I put my phone in my pocket and when I bring it out to make a call the player is on killing battery life. How can I shut the player off or prevent this from happening?

    after making a call I put my phone in my pocket and when I bring it out to make a call the player is on killing battery life. How can I shut the player off or prevent this from happening?

    Try to position your iphone that the screen is facing away from your skin.
    Make sure that the back part of your phone will be the one that will contact your skin inside your pocket
    Thats what i do:)

  • JDBC Synchronous call  using BPM

    Guys,
    Scenario is like this.
    1. Initiator is file adopter
    2. JDBC select (Synchronous call) select data from 1 DB table
    3. Copy response into some FTP system as a file.
    File Initiator is working fine Synchronous call is giving the error.
    I have created the Message Interfaces
      1. Synchronous abstract (JDBC_select)
      2. Asynchronous abstract (JDBC_Select)
    I have done the 2 mappings like
    1. File Initiator as source and JDBC_Select as target,
       (I am passing all constants values to JDBC_select like action='SELECT' table='tablename' and keys as well)
       JDBC_Select structure i have created as
           <Root>
             <selectStatement1>
             <action>
             <tablename>
             <access>
             <c1>
             <c2>
             <key>
             <c1>
    2. JDBC_response as source to Target_FILE as target.
       Response structure is like this
        <root>
        <row>
        <c1> </c1>
        <c2>...</c2>
        </row>
        </root>
    I have created the BPM by using
      --> transformation and send steps.
    Can any body send me the Blogs for this scenario .
    Thanks
    M

    Moorthy,
    <u>Message Types</u>
    1) File_Input
    2) JDBC_Req
    3) JDBC_ Response
    4) Target_File
    <u>Message Interfaces</u>
    1) Async_Outbound,
         - File_Input
    2) Async_Inbound
         - Target_File
    3) Async_Absract
         - File_Input
    4) Sync_Abstract
         - Target_File (Output Message)
         - JDBC_Response (Input Message)
    5) Sync_Inbound
         - JDBC_Request (Input Message)
         - JDBC_Response (Output Message)
    <u>Message Mapping</u>
    1)Mapping1
      - File_Input as a Source
      - JDBC_Reqest as Target(Here I am passing all constants values like action, tablename , accessfields and keyfields)
    2)Mapping2
      - JDBC_Response
      - Target_file (Target file structure as same JDBC_Response structure)
    <u>Interface Mapping</u>
    Interface Mapping 1
       - Sync_Abstract (source Interface)
       - Sync_Inbound  (Target Interface)
    Here is my doubt I am not getting Mapping program in the dropdown (F4 help), it is problem with my source and target?.
    What are the source and target for second interface mapping.
    Thank you for helping me alot on this..
    M

  • Making a call using iPhone 4 but no sound?

    Cannot hear ringing/people talking when making a call unless I turn on the loud speaker, what do I do to fix this?

    It doesn't on mine. I'm assuming you are making a call from Contacts? If not then you want the dialpad to show so you can enter a number.

Maybe you are looking for

  • How to reset the Messages app on my imac?

    Hello!  I've tried a lot of the solutions presented here and either I'm doing something wrong or I don't understand the instructions to reset the messages app.  All I need to do is delete an icloud account from it.  Please help!  Thank you!!

  • How to produce a cut out?

    As a newbie to Illustrator I'm having a problem trying to work out how to produce a rectangle with a curved cut out as per this image. The cut out portion needs to be transparent for me use as a picture overlay. Could someone please advise what I am

  • HELP WITH CREATING A VIEW USING PL/SQL

    Hello, I have two tables, one is simply an audit version of the other and anytime data is updated, modified, or deleted the data is copied to the audit table (via a trigger) and the audit table records who made the changes and when. Here is the descr

  • Gradient mesh tool and scribble effect

    Hi Was hoping some bright spark can help me! I am trying to apply a scribble effect to an object that is colored with a Gradient Mesh. Is this possible and if so how is it done? I can apply a scribble effect to a normal gradient but not a gradient me

  • Parameter dialog

    im working on a vb.net app in VS.net2005 with crystal reports XI. i would like to disable the parameter dialog if at all possible? if not i would like to be able to get the parameter dynamic values added in the report to show in the dialog..?