Can processes be both sync and async

Hi,
When creating a BPEL process in JDeveloper, there are two pre-defined templates for synchronous or asynchronous processes. As such, I've been viewing a process as being either synchronous or asynchronous.
However, after a bit of experimentation, I've come to the conclusion that a process can contain both synchronous and asynchronous operations.
Does this sound correct? Should I not be viewing a process as being one or the other, and it is fact the operation that is sync or async?
Cheers,
Toby

Some thoughts on that:
-You can view sync as a special form of async, so each sync process is also an aysnc process. (I'm ignoring the tech diff like two ports, two partnerlinks here)
-You can call sync and async (BPEL-) processes in one process.
-If a process P contains only sync processes, that will make P sync.
-If a process P contains (among others) at least one async processes, that will make P async.
-If you have a async process, you can wrap its invocation with a timeout, making it a sync process.
Roman

Similar Messages

  • Can i have sync and async listeners for the same queue ?

    Hello,
    I am a novice in JMS. Wondering experts over here could throw in some light !
    Can I set both synchronous and asynchronous listeners for a perticular queue.
    eg: pseudo code.
    status; // default to start
    run()
    setListener(Q1); // listener sets status to stop
    while(1)
    waitForUserPrompt(value1);
    switch(value1)
    a: fun1();
    break;
    b: fun2();
    break;
    fun1()
    while(status != stop)
    stay in loop.
    fun2()
    // synchronously wait for "stop"
    receive(Q1);
    // wait and do following important code!
    }

    Hi,
    I don't know in Chrome, but in Safari (pc or mac) you can open icloud.com twice on two different tab or windows and open one with contact and the other in Mail without messing up.  What kind of mess to do you experience?
    There is no other options to do what you want to do.  You need to click on the little top cloud to switch from one to another.
    Beside, I don't understand why even 2 open tab would help more than having to switch via the cloud icon.  I may need to cut/paste some info from contact or calendar from time to time, but switch via the cloud icon is not really painfull.

  • Naming sync and async operation

    Hi there,
    Does somebody know what is the rule for naming the synchronous version of an asynchronous operation (or vice verse)? Also, is the implementation pattern for the Create/Update/Delete/Sync EBO based EBS operations always supposed to be asynchronous request-response (while synchronous for Query/QueryList)?
    I know that Process() can be designed as both synchronous and asynchronous, but can the aforementioned have their synchronous version as well (asynchronous for Query/QueryList)?
    Regards,
    /Miko

    839396 wrote:
    Dear Friends,
    In 11g databgurad ,
    I planned to used 2 physical standy once in the same LAN and another in the DR site
    I need to have SYNC between primary and Standby 1 which is in same LAN
    I need to have ASYNC between primary an standy 2 which is in DR site
    Is it possible , if so how do i achieve this?
    Because i believe SYNC and ASYNC will be decided by oracle internally based on the Protection mode we choose so in that case
    we can't have mix up (SYNC and ASYNC) for standby databases?
    Regards,
    DBI think John already mentioned how to do, let me derive more .
    SQL> alter system set log_archive_dest_2='SERVICE=same_lan SYNC NOAFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=<db_unique_name>'
    SQL> alter system set log_archive_dest_3='SERVICE=DR ASYNC NOAFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=<db_unique_name>'
    >
         839396      
         Newbie
    Handle:      839396
    Status Level:      Newbie
    Registered:      Feb 23, 2011
    Total Posts:      14
    Total Questions:      8 (8 unresolved)
    >
    why all the questions are unanswered? Please close the threads and keep the forum clean. https://forums.oracle.com/forums/ann.jspa?annID=718

  • Statistics of Sync and Async messages in PI

    Hi,
    How can we count no of Sync and Async messages that were processed(sucessful or unsucessful) in PI.
    Does the worbench has any table or Report that will give me the statistics.
    Request some pointers on the same.
    Thanks ,
    Bhanu.

    Hi,
    Yes, such a report is available in RWB under Performance Monitoring. Simply choose the required time period, and use Display Options to add the Processing Mode (that will say: sync or async). You can also use Performance Monitoring to get more details about these messages.
    Hope this helps,
    Greg

  • HT1386 My Ipod and Ipod touch both sync and update latest CD music added to Itunes, however when I connect my Iphone it wont sync my most recent CD addition to iTunes?

    My Ipod and Ipod touch both sync and update latest CD music added to Itunes, however when I connect my Iphone it wont sync my most recent CD addition to iTunes?

    I have my iTunes settings to prevent my iPod from synching automatically.
    Open iTunes (without the iPod Touch connected) , go to "iTunes"--->"Preferences"--->"Devices", select the box that says "Prevent iPods, iPhones, and iPads from synching automatically", select "OK".
    I would then close iTunes and then reopen it.  Verify that the settings you just changed are intact.
    Log into the iTunes store and update any Apps that you may have purchased. 
    Connect the iPod Touch via USB with iTunes open.  You will see the icon on the left side under "Devices" as normal, however it will not automatically sync.
    Click on the "Device" in iTunes and from there you can manually adjust all the items you want to sync and then select sync when you are ready.
    I sync mine this way because I feel it gives me more control over the syncing process.  Also, I always log into the iTunes store first, check for updates to my Apps and then connect the iPod to manually sync.
    So, to me, I guess that perhaps is a way to "force" the sync but in a controlled manner.
    I hope that helps.

  • Im making a photo slide show using imovie. how will i make a dvd copy that can play in both pc and dvd player.  i dont have an idvd anymore. m using a mbp early 2011 osx 10.8.5

    im making a photo slide show using imovie. how will i make a dvd copy that can play in both pc and dvd player.  i dont have an idvd anymore. m using a mbp early 2011 osx 10.8.5.
    after making the photo slide show, i clicked share>export movie.  after which i burned using toast. the file became a .mov.  i tried playing it in my mac and it worked. my fear now is will it also play in a regular dvd?... i read from google that mov files won't run in dvd players.  what format should i convert it to so it'll play in a dvd player.  can you suggest a faster way i can burn my projects for it takes me almost an hour to export.  im going to make 28 slideshows for my kids in school. *=( if i need to do this process 28 times, i may not be able to finish it on time.  please suggest a software or an alternative as to how i should do this... m more comfortable using imovie than iphoto.  thanks and i hope to hear from someone soon *=j

    Thank you QuickTimeKirk...used toast to burn project... my project was in .mov, i tried to play it a dvd player, it did play... will try again tomorrow using another dvd player just to be sure it'll will really work with dvd players.  thank you again for your reply *=)

  • Differnce between sync and async webservices

    All,
    What is the difference between sync and async web services?
    Actually i am looking for a web service, which doesn't return a response. is this achievable?
    Thanks

    SRAVZ wrote:
    What is the difference between sync and async web services?from a webservice protocal perspective there is no difference. you still make a request and get a response. the difference is in what the initial response contains. in a synchronous call, the initial response will contain the final result. in an asynchronous call, the initial response will not contain the final result, but may contain some sort of "ticket" which can be used in a subsequent call to get the final result. generally, the client will need to poll the webservice until the final result is available.
    Actually i am looking for a web service, which doesn't return a response. is this achievable?it's not really possible to not return any response. http is a request/response protocol. if you don't have any data to return, then the response will be fairly minimal, but it will still exist.
    Edited by: jtahlborn on Dec 2, 2012 9:22 AM

  • How can I print BOTH legal and letter on my duel tray printer????

    How can I print BOTH legal and letter on my duel tray printer from my mac? on a pc you can choose "print according to pdf size" and the mixed document will print in both legal and letter auto-selecting the printer tray.

    Hello CKAY,
    My old printer does not show 8x10 either.
    In the printing preferences under the Paper/Quality tab, do you see a "Custom" option or button? There should be one in there somewhere in your preferences.
    Click on that and create a custom size of 8 in for the width and 10 in for the length. Be sure to "Name" it 8x10 Photo and click ok.
    Now give it whatever attributes you want under the other tabs and click Apply and OK (or just OK).
    Close out the printer and open it again and the new size you created should show in the list.

  • Can i use exfat format for my external western digital harddrive so that i can use in both windows and mac?

    can i use exfat format for my external western digital harddrive so that i can use in both windows and mac?
    thanks in advance.
    <Email Edited by Host>

    Yes you can. OS X version 10.6.6 and later can read/write exFAT. Windows XP SP3 and later can read/write exFAT. As posted by Radiation Mac, you can do it from Windows or from OS X.
    However, I've noticed Windows to be somewhat picky about drives formatted on a Mac. So, if Windows can't read it, try formatting it on the Windows machine, and see how it works on the Mac.
    Posting your email on a public forum isn't a very good idea. It will likely be harvested by spambots and used as the reply-to address for spam it sends out.
    Also, most people are not going to send an email to you for similar reasons. Nobody knows who you are, so sending an email to you could be giving a spammer a valid email address.
    The forum is set up to automatically notify you when there are responses to your questions. When you get one, you would log back into this forum and check to see what the answer was.

  • Can I connect both PC and MacBook Pro to Thunderbolt display?

    Hello,
    I've new MacBook Pro 15" 2011 model (with Thunderbolt port) along with a PC (with DVI output.) I would like to get new Thunderbolt display. Can I connect both PC and Mac at the same time to Thunderbolt display? i.e., I don't want to disconnect wires at all the time and I also I'm going to use Thunderbolt cable when connecting Mac to display.
    Any help would be appreciated. Thank you.

    Your MBPro (w/TB) should have no problems connecting to the newer TB display!!!
    You can NOT connect the PC to the TB display.   The Apple website mentions that the display can connect to any "Thunderbolt Enabled" Mac.
    http://store.apple.com/us/product/MC914?mco=MTgwOTQzMzk#overview

  • OIM API - How to get the values in the process form (both parent and child)

    Hi,
    I created an RO with a Process form (both Parent and Child).I created a unconditional process task which takes in the processinstance key and tried to retrieve the process form datas.When i tried to provison the resource,the process task is getting triggered and I could able to get the parent form data but not the child form data.
    Any idea why is this happening?.Is it mandatory to have the "Triggers" ON to get the Child Form data.?
    Thanks,

    try this
    tcResultSet childResults = formOper.getChildFormDefinition(
                             formOper.getProcessFormDefinitionKey(procInstanceKey),
                             formOper.getProcessFormVersion(procInstanceKey));
    This should work,
    Regards,
    Raghav

  • Can we have both 9i and 10g db running on the same machine

    Hi,
    I want to to exp/imp upgrade of my 9i db to 10g db.
    Can I have both 10g and 9i installed on the same server?
    Thanks,
    Kavitha

    Yes, provided that the HW, OS version and Patch level are certified for both 9i and 10g.
    Install 10g into a seperate ORACLE_HOME -- whether under the same "oracle" account or a different (e.g. "oracle10g" account).
    However, you should consider 11g as 10g is being desupported this month (i.e. no new patches / fixes will be available for 10g)
    Hemant K Chitale
    Edited by: Hemant K Chitale on Jun 9, 2010 10:58 AM

  • HT4818 Can you use both Bootcamp and Parallels with the same Windows 7 installed

    I have Parallels installed with Windows 7.  Can I use both Bootcamp and Parallels on the same machine depending on whether I just want to work in Windows all day (Bootcamp) or alternate during the same session (Parallels)?

    You can, yes. But there is a complication: once you activate windows it will only be activated for one of the two methods you use. So, let's say you install into boot camp and activate windows. You can then install Parallels and it will find your boot camp installation, but when running in Parallels, Windows will report that it is not activated. Or, you can activate it in Parallels and when running in Boot Camp Windows will report that it is not activated. The reason for this is because Windows thinks it is running on different computers depending on how you boot it. This may not be an issue for you if you run Windows a lot one way and just occasionally the other way, so be sure to activate Windows in whichever method you use more often. Hope this helps!

  • Can I use both SID and SERVICE_NAME in my DG configuration?

    Hello,
    Need little guidance for the following senario
    I've got a shared database where more then one application connects to. To configure failover from primary to standby, I need SERVICE_NAME'ing but my applications connect using SID naming conventions to this DB
    Can I use both SID and SERVICE_NAME in DG configuration + make the applications failover to STANDBY DB as well?
    Regards,
    Kam

    You will hardly achieve a proper connect to your new Primary using SIDs after switchover.
    Stay away from using SID - connects with your applications and use application services for that instead.
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • Can iCal use both English and French languages or does the System software need to be either French or English?

    Can iCal use both English and French languages or does the System software need to be either French or English?

    joanfromardon wrote:
    Can iCal use both English and French languages or does the System software need to be either French or English?
    The calendar language is determined by system prefs/language & text/formats.
    The app language is determined by system prefs/language & text/language, or you can probably use
    http://www.tj-hd.co.uk/en-gb/languageswitcher/

Maybe you are looking for

  • Sales Order ATP should exclude the stock of a particular st. loc

    Hi, At Sale order creation, ATP check should exclude a particular Sto Location, Suppose we have Sto Loc 001, 002, 003, 004 & 005, we want to reserve some stock for the next year, so we identify one storage location say 005 and move some stocks to thi

  • Is there any way this can be done?

    I have a 30GB video Ipod(2005  Fifth Gen I think) I had my ipod hooked up to my PC for a couple of years and it worked fine. Then it just stopped recognizing my ipod all together. I didn't really care that much because I had lots of music on it but n

  • [SOLVED] ATI HDMI audio fails when playing videos... fine otherwise.

    On a fresh install of Arch Linux, despite being an amateur at best. I'm using ATI HDMI audio using the open source driver, on GNOME 3. I'm switching to Catalyst after posting this to see if that might help, somehow. After adding the radeon.audio=1 to

  • Do i need air extreme with time capsule?

    Do I need Airport Extreme with Time Capsule?

  • New user in OiD as orcladmin??

    I am trying to restrict the acces to certain attributes using the OiD GUI. I want to create another user, the same as orcladmin, but restrict some of the access. How can i do this?? Thanks. Steve.