Synchronous mode.

Hi All,
Does anyone know if it is possible to use Oracle 9 AQ for synchronous communication ?
What I mean with synchronous is when the sender will have to wait for the reply message before it can continue its processing.
In JMS, sender can create temporary queue and specify JMSReplyTo header for the receiver to reply, and then the sender listen to that temporary queue with a blocking mode before continue processing.
Thanks.

What you describe is one of standard JMS usages, and this is supported in 9i.
See createTemporary(Queue|Topic), (set|get)JMSReplyTo as specified in [http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96609/arj_jms.htm#1057576]

Similar Messages

  • Issue with splitting 1:N mapping using Synchronous mode.

    Hi All,
    My Scenario is like below and i'm using BPM to handle this scenario
    SOAP request from sys-A --> SOAP sync call to Sys-B --> Send sync response from Sys-B  to Sys-C
    - I will be getting mutlple orders in single message from Sys-A.
    - I need to split this single message into multiple messages and pass as a sync request to Sys-B
    - The responses from sys-B should go to Sys-C.
    Issue:
    The scenario is working fine when I send the orders in Asynchronous mode to Sys-B by changing the occurence to 0..unbounded in message mapping and interface mapping.
    The same scenario is not working when I try to send the orders in Synchronous mode to Sys-B. When I tried to change the occurance in Interface mapping, the reponse tab is disappearing when I click "Read interfaces" in Interface mapping.
    If I don't mention 0..occurance in interface mapping then the interface mapping is not showing up in interface determination (when i click Enhannced radio button to select the interface mapping).
    Is there any limitation that split messages won't work in Synchronous mode?
    Do I need to use any function in BPM to handle this splitting message? I want do this in a simple way without complicating in BPM.
    Kindly suggest me.
    Thanks
    Deepthi

    Hi Bhupesh,
    I think you didn't get my scenario correctly. Here I explained with BPM steps.
    Start>Receive(Async)>Send(Sync)>Send(Async)>stop
    receive req from SysA >Send sync req to sysB>Map sync response to Idoc and send to SysC
    While sending Sync message to Sys-B, I will be mapping Abstract Sync message to Inbound Sync message.
    So in interface mapping, I will be assigned
    Abstract_SyncB <---> Inbound_SyncB
    request and response tabs will present.
    This scenario is working perfectly fine when i try to send single order sync message to SysB. But according to my requirement I need to Split the input message into multiple messages and send to sysB.
    To do this, I trying to change the occurances from 0..1 to 1..unbounded in both message mapping and interface mapping. by doing this, I can use the enhanced button in interface determination. So that the splitting the message will happen.
    When I change the occurance to 0..unbounded and save in interface mapping, the response tab is dissapearing.
    What might be the reason for this?  Is sync message can't handle splitting the messages?
    Thanks
    Deepthi.

  • Error in Synchronous mode of data flow

    Dear All,
    I am new to PI. I am using a Synchronous mode while sending a message from ECC system to JDBC Receiver. After processing the message i am getting a error in response message.
    Are there any naming conventions to be followed while creating data type or message type?
    Regards,
    Soumya.

    hi Soumya,
    We dont have a naming convention as such. However, for JDBC receivers we have a standard structure for the data type like
    http://www.riyaz.net/blog/jdbc-adapter-configuration/technology/1200/
    Regards,
    Ninu

  • State of Transaction in High Safety mode (Synchronous mode)

    Hello Team,
    I have configured Database Mirroring with High Safety mode ( Synchronous Mode). I have started a long transaction (transaction A) which is expected to complete in 10 minutes. However, principal server shuts down due to hardware issue.
    What will happen to the transaction A.
    Also, what will be state of transaction if i have configured Mirroring with High Performance Mode (Asynchronous Mode).
    Chetan

    1. Transaction is being executed on Principal server and mirroring fails
    In this scenario SQL Server would not be able to commit its transaction because it wont be able to send log records to mirror and hence would not be able to get acknowledgement about commit on mirror. Transaction log will grow till it occupies whole space
    and then application might stop responding as database would not able to log transactions. DB might also go in unresponsive state
    2. Transaction is completed execution on principal server, it is being executing on mirrored server and mirroring fails
    Transaction replay happens almost at same time (with little delay) . The mirror receives and writes the log buffer to disk and records the mirroring_failover_lsn and notifies the principal that the log block has been hardened. If commit has been acknowledged
    on mirror and principal both before failover, then after when mirror will come online it will replay transaction. Anything before that would cause rollback on mirror.
    3. Transaction is completed execution on principal server & mirroring server. Before principal server receives confirmation from mirrored server about execution completion, mirroring fails.
    Actually this question is bit confusing and in some way incorrect I would like you to read
    Table 9: A Safety FULL (Synchronous transfer) example sequence of events.
    in below link
    http://technet.microsoft.com/en-us/library/cc917680.aspx
    The possible answer is rollback on mirror.
    Edit: In case of any conflict LSN on both principal and mirror is used to resolve conflict. Remember mirroring does not works in two phase commit like distributed transaction failures to commit on the mirror will not cause a transaction rollback on the principal.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Message interface in synchronous mode but run in asynchronous

    I try to use SAP-XI in synchronous mode with JDBC to JDBC connection.
    A 'Outbound' message Interface under synchronous mode is defined for
    sender while an 'Inbound' message interface under synchronous mode is for
    receiver.
    In the sender communication channel, a "select" SQL statement is
    placed for getting data via JDBC.
    For inbound interface, a stored procedure is triggered and it will
    return 2 paramaters.
    From transaction SXMB_MONI, I found that the message was in 'asynchronous'
    mode and I don't know how to collect the 2 output paramters.

    Dear all,
    Upon all your suggestions, my testing have a big jump with below results but still have some problem
    In the sender communication channel, a "select" SQL statement is  placed for getting data via JDBC. It works.
    For inbound interface (receiver), below stored procedure was actually triggered and it DOES return 2 paramaters.
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns0:MT_t1 xmlns:ns0="http://xxx.xxx.hk/zxxxx/jdbc">
    <update>
    <storedProcedurename action="EXECUTE">
      <table>LIBRARY.PANSYTEST</table>
      <TRNX_TYPE IsInput="TRUE" TYPE="CHAR">001</TRNX_TYPE>
      <TRNX_NO IsInput="TRUE" TYPE="CHAR">101048</TRNX_NO>
      <OUT_TRNX_TYPE IsOutput="TRUE" TYPE="CHAR">001</OUT_TRNX_TYPE>
      <OUT_TRNX_NO IsOutput="TRUE" TYPE="CHAR">101048</OUT_TRNX_NO>
      </storedProcedurename>
      </update>
      </ns0:MT_t1>
      Then I got the response message from the inbound interface 
      <?xml version="1.0" encoding="utf-8" ?>
      <ns0:MT_t1_response xmlns:ns0="http://xxx.xxx.hk/zxxxx/jdbc">
      <update_response>
      <response_1>
        <update_count>0</update_count>
        </response_1>
        <OUT_TRNX_TYPE>001</OUT_TRNX_TYPE>
        <OUT_TRNX_NO>101048</OUT_TRNX_NO>
        </update_response>
      </ns0:MT_t1_response>
      This response message was mapped to below message type. I suppose this will be passed
      to outbound system (sender) and run a SQL "Update ps_cu_pg1iawd set cu_retrieved_by = "ZCU_CUSIS"
      cu_action_cd = 'P' where cu_trx_type = 001 and cu_trx_num = 101048"
      BUT the table ps_cu_pg1iawd is NOT updated and NO error was found in SXMB_MONI.
        <?xml version="1.0" encoding="UTF-8" ?>
      <ns0:MT_Response xmlns:ns0="http://xxx.xxx.hk/zxxxxx/jdbc">
      <statement>
      <PS_CU_PG1IAWD action="UPDATE">
        <table>ps_cu_pg1iawd</table>
      <access>
        <cu_retrieved_by>ZCU_CUSIS</cu_retrieved_by>
        <cu_action_cd>P</cu_action_cd>
        </access>
      <key_1>
        <cu_trx_type>001</cu_trx_type>
        </key_1>
      <key_2>
        <cu_trx_num>101048</cu_trx_num>
        </key_2>
        </PS_CU_PG1IAWD>
        </statement>
      </ns0:MT_Response>

  • BizTalk works in Synchronous mode or asynchronous mode

    I am little bit confused that BizTalk receive ports and send ports works in Synchronous mode or asynchronous mode .
    Any kind of help will be appreciated.
    Prakash

    To be perfectly clear, BizTalk is asynchronous. That's just how it works. Different messaging patterns will
    appear to the caller as synchronous but in BizTalk world, we call the Sync-over-Async.
    So for examples, in practical terms:
    Synchronous:
    A Two-Way Receive or Send Port
    Asynchronous: A One-Way Receive Port followed eventually by a One-Way Send Port. Or vice
    versa. No matter what the app does inside BizTalk, the port types are what determines it's sync'ness to calling or called apps.
    Rachit
    Sorry to rectify ,Two way Operations within Biz Talk is  also Asynchronous .

  • Updation in synchronous mode using bapi

    hi all ,
           i have a requirement to update master table using bapi /SAPMP/BAPI_MATERIAL_SAVEDATA  where has it is taking more time can any one of you sugguest what will be the best approach which i can improve the execution time and can u tell me whether i can execute bapi in synchronous mode.
    with regards,
    abaper

    Hi,
    You can go for either BDC or LSMW also.
    Regards,
    Renjith Michael.

  • I want to know the particular diff betwenn synchronous mode & asynchronous

    Dear Friends,
    can u pls explain the difference between synchronous & asynchronous mode.
    Regards
    Jagadeeshwar.B

    Hi
    synchronous mode
    In synchronous update, you do not submit an update request using CALL FUNCTION... IN UPDATE TASK. Instead, you use the ABAP statement COMMIT WORK AND WAIT. When the update is finished, control passes back to the program. Synchronous update works in the same way as bundling update requests in a subroutine (PERFORM ON COMMIT). This kind of update is useful when you want to use both asynchronous and synchronous processing without having to program the bundles in two separate ways.
    Asynchronous mode
    A typical SAP system installation contains dialog work processes and at least one update work process. The update work processes are responsible for updating the database. If, in a dialog work process, the function modules stored in interim storage through CALL FUNCTION ... IN UPDATE TASK are released for processing by means of the ABAP statement COMMIT WORK, the dialog work process will not wait for the update process to finish. This kind of update is called asynchronous update.
    If its useful reward points

  • Sybase ASE integrator to Oracle 10g use Synchronous mode?

    I want to use ODI to replicate Sybase ASE data into Oracle 10g, what I've done is using "JKM Sybase simple" and "LKM SQL to SQL" and "IKM Oracle Incremental Update", then create a interface, create a scenario, create a scheduling running in Scheduler Agent, every 5 seconds get the journalized data from Sybase and refresh to Oracle.
    This is acceptable, but my question is: Can I set this scenario in synchronous mode, not pulling changed data every 5 seconds but instead of pushing changed data to Oracle just after DML committed in Sybase?

    No, not the current workbench. We will be bringing out support for Sybase 15 in SQL Developer at the next release.
    You could try bringing the db down to 12 if that was an option and then migrate from that.
    Barry

  • What is synchronous mode

    while doing transport request import option called synchronous and asynchronous,what does it mean,which work process is utilised in what mode

    Hi Muddana,
    When you are doing import in synchronous mode then the work process used for import  is not released and is blocked until the import is over. it is a different thing whether import is successful or unsuccessful.
    In case of asynchronous mode no such blocking takes place.
    Please award points accordingly.
    Regards.
    Ruchit.

  • Jdbc sender adapter in synchronous mode

    Dear Experts,
          I am on PI 7.0 SP 14. I would like to know whether it is possible to use jdbc sender adapter in
    synchrounous mode. The scenario is jdbc to web service . The response from webservice should be inserted into the database.  If we use the insert statement in the response mapping will it work ? 
    Thanks
    Aju

    Hi
    JDBC sync is possible but only at Receiver, look this blog
    SYNCHRONOUS SOAP TO JDBC - END TO END WALKTHROUGH
    JDBC Stored Procedures
    JDBC Receiver Adapter -- Synchronous Select – Step by Step

  • MSCA Label printing integration in Synchronous Mode

    Hi,
    Could anyone let me know if the following requirement of SYNCHRONOUS printing is feasible using MSCA?
    Requirement:
    To achiveve a real-time synchronous integration mode between MSCA and third party software vendor(ZEBRA printers) that is handled
    through a PL/SQL API.
    The Setup is as follows:
    E-Business Suite Release 12.0.6
    Oracle Warehouse Management
    MSCA
    Zebra Thermal printers
    Thanks in Advance,
    Appster

    Have you check this :
    http://blogs.oracle.com/xmlpublisher/2007/05/08#a208
    http://blogs.oracle.com/xmlpublisher/2007/05/09#a281
    I haven't tried it though, last time I did bar code printing using the ogd files attached to rdf

  • Processing mode - DELETE not working in Synchronous mode (File - RFC - File

    Hi ,
    I need to the delete the files from source folder once the processing is done, so i am giving the Processing mode as Delete in the Sender C.C.
    But after execution it doesnt get deleted. what could be the reason?
    We are using a file - RFc - file scenario.
    also could anyone let me know what is the command to move a file from one folder to another in UNIX.
    i tried
    mv /home/out        but it doesnt work
    pls help.

    Hi,
    you can use AL11: navigate to the folder, where the file is inside, mark it and press button "Attributes". Then look to value "Mode": 777 means owner, group and everybody else has right for write (in your case delete), read and execute. UNIX command to change is may be ch mod (i m not good in UNIX).
    My suspect is that the file adapter user has not the right for write, but ur direct user has.
    Regards,
    Udo

  • Does SOAP in synchronous mode retry?

    Hi,
    I have a scenario in which i want to post a message through my SOAP receiver adapter and receive the response. But i want to know how many times the soap adapter will retry if the it fails ?
    How is the retry interval and time out work for adapters in synchronous case?
    Can anyone please give any info on this?
    Thanks
    Shakthi

    Hi,
    >>>Thanks for your inputs. So the SOAP receiver adapter just posts the request message once and waits till the time out limit , if it does not get a response it will error out is it?
    yes
    >>>>Any reason why synchronous messages are not retried?
    as this is how sync messages work - if you post a call from WWW page would you like to wait 1 hour for a reponse
    till the receiver system is on? it's not XI - it's how ALL sync messaging is done
    one of the reasons why we have async are -  retries
    Regards,
    michal krawczyk

  • Synchronous Mode or Asynchronous Mode

    Quick question. I just set up a new DataGuard config via DGMGRL. When querying for the primary and standby site "show database verbose 'db_name' it says that the LogXptMode is ASYNC but the log_archive_dest_1 does not have the word ASYNC in the definition. Is it still using ASYNC even though it's not explicit in the log archive dest? Does the DGMGRL configuration override this setting? Thanks.

    A couple of points regarding your question:
    1) LOG_ARCHIVE_DEST_1 should point to a local destination - no SYNC/ASYNC in the game then
    2) The DG Broker will modify the LOG_ARCHIVE_DEST_n initialization parameters of the Primary according to the logxptmode properties of the Standby DBs
    3) The default value is version dependent. In 11g, it defaults to ASYNC
    4) Always mention your version (select * from v$version) therefore
    Kind regards
    Uwe Hesse
    "Don't believe it, test it!"
    http://uhesse.com

Maybe you are looking for

  • Adobe Forms: Best way for logging?

    Hi, we're using Adobe Forms having very complex forms partially. Because of it's complexity, the implementation is not free from defects. That's why I thought about proper logging of what users do within the form. What's the best way to achieve this?

  • The best format in FCE

    Hi, I have bought a new AVCHD videocam a couple of months ago. I always record and capture with the best quality (1980x1080), and I edit them with Final Cut Express. Because the video clips look amazing in the projects and as raw files, it would be v

  • Package procedure arguments error using table of

    Hi , I have the following definition for my package CREATE OR REPLACE package a_test_pkg as type a_type is table of varchar2(10) index by binary_integer; procedure a_proc (name in a_type); end; CREATE OR REPLACE package body a_test_pkg as procedure a

  • 60w chargers not working on 13-inch MacBook but 85w does. What is wrong?

    Hi. My 60w charger won't work on my 13-inch MacBook, so I tried 2 others including one brand new one but none worked. Then I tried a charger from a 15-inch (85w) and it worked. ***!? I was told that I shouldn't use the 85w because it could fry my bat

  • CS3 After installing or defining custom brush, any brush I use is off center! Help! Windows 7 32-bit

    When I use Adobe from a fresh install, all is well. But when I define a brush preset or load from a downloaded content, any brush I use will be misaligned with the cursor forever, and not just a consistent spot, random inconsistencies with none cente