Exactly once

EO (Exactly Once): Means
The message is sent asynchronously. The sender does not wait for a response. The Integration Engine and the Adapter Engine guarantee that the message is sent and processed exactly once.
Is there any situation where processing takes place more than once ??
thanks
kumar

Hi,
><i>The Integration Engine and the Adapter Engine guarantee that the message is sent and processed exactly once.</i>
There is just a slight subteltly when you inter[ret this statement.
1. What happens if the target system is down? Should nt the message be sent again from XI . In most cases it is expected that the message is to be sent Automatically.
Exactly Once and EOIO both ensure Guaranteed Deliver, i.e, the message are persisted in XI and so irrespective of whethr the target system is up and running the message will be sent to the target "Exactly once" and XI will have the capability to rsend the message to the target in case the target is down.
Regards
Bhavesh

Similar Messages

  • WL - MQ bridge in Exactly-Once mode not working

              I cannot get a message bridge from an MQ queue to a JMS queue to work in exactly
              once mode. I followed the directions in the 'Using Foreign JMS Providers with
              WebLogic Server' whitepaper (It works fine for atmost once). Once I configured
              weblogic correctly, I had a problem with made me think that I needed to use the
              class MQXAQueueConnection instead of MQQueueConnection as listed in the whitepaper.
              After that, I got an exception like 'XAResource not found.' Am completely stuck
              at this point.
              Does two phase commit actually work with WLS 6.1 and MQ 5.2 (?) ?
              

    Does this help?
              http://edocs.bea.com/wls/docs61/faq/msgbridge.html#500395
              Doug McGrath wrote:
              > I cannot get a message bridge from an MQ queue to a JMS queue to work in exactly
              > once mode. I followed the directions in the 'Using Foreign JMS Providers with
              > WebLogic Server' whitepaper (It works fine for atmost once). Once I configured
              > weblogic correctly, I had a problem with made me think that I needed to use the
              > class MQXAQueueConnection instead of MQQueueConnection as listed in the whitepaper.
              > After that, I got an exception like 'XAResource not found.' Am completely stuck
              > at this point.
              >
              > Does two phase commit actually work with WLS 6.1 and MQ 5.2 (?) ?
              >
              >
              

  • FTP - Sender File Adapter - Exactly Once In Order

    We are running SP10 on PI7.0
    I have a file (FTP - content conversion) to idoc scenario and this works well apart from the communication channel picking up the files in the wrong order.
    I have set to Exactly Once In Order, and the nuemrically file is being picked up in the correct order, however we wish to pick the file up by time and date stamp.
    If I flag the Adapter Specific Message Attributes - and Source File Time Stamp, will this then process the files by timestamp instead of by File name?
    How else can we get the files to process by time created?

    but this option is valid for NFS transport protocol
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    &#9679;      Processing Sequence (for transport protocol File System (NFS))
    If you used placeholders when specifying the file name, define the processing sequence of the files:
    &#9675;       By Name: Files are processed alphabetically by file name.
    &#9675;       By Date: Files are processed according to their time stamp in the file system, starting with the oldest file.
    Message was edited by:
            Prabhu  S

  • How to Resend OR Cancel Exactly Once Messages

    Dear all,
    I have nearly 20 messages with status "Holding" under adapter engine message monitor.
    These interfaces are Exactly Once type. I am trying to Resend or cancel them. Nothing worked here.
    When i check the error reason for the Holding status message, it says warning " Empty document found. Proceed without sending message"
    Referred this weblog  /people/stefan.grube/blog/2006/04/27/how-to-deal-with-stuck-eoio-messages-in-the-xi-30-adapter-framework
    Please suggest me how to deal with these...
    Regards
    Edited by: Bhavana Ch on Feb 14, 2011 5:56 PM

    Hi Bhavana,
    I came to a similar error situation when whether restarting nor canceling was possible and I was looking for an solution instead of restarting the whole java stack.
    We restart the messaging service of the java engine and this solves the error, canceling or restart was possible afterwards. The correct service should be XPI Service: Messaging System in Netweaver Adminstrator -> Operation Management -> Systems -> Start&Stop -> Java EE Service, unfortunately I lost my remarks of this error situation, so you have just to try it.
    If this will not solve the issue, I think you have to go for restarting the whole java server.
    please let me know if this solve the error.
    Regards,
    Jochen

  • TO Get  Ensuring Exactly Once Processing data from sender soap adapt

    To XI Specialists
    Now Im trying to get Ensuring Exactly Once Processing data from sender soap adapteter.
    My plan is that send data from Receiver adapter, to Sender adapter by SOAP.
    (1st interface is ABAP to Soap "BE", 2nd interface is Soap to File "EO")
    Sender SOAP adapter will returun Ensuring Exactly Once Processing data.
    (see SAP HELP, http://help.sap.com/saphelp_nw70/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm )
    AND I want to get Ensuring Exactly Once Processing data, I want to determine what to do in ABAP proxy.
    SO I made and tested 2interface. but error occuered.
    I checked the error, and Now I know what is the cause.
    The cause is that Ensuring Exactly Once Processing data didnt enter the payload, at Receiver Adapter.
    1st interface coulnt get the payload data, so mapping error occuered....
    Please give me help,
    <b>"How to get Ensuring Exactly Once Processing data From Sender SOAP ADAPTER"</b>
    or
    <b>"How to enter Ensuring Exactly Once Processing data into Payload of Receiver SOAP ADAPTER"</b>
    and more excelent way....
    our XI is version7.0 and SP10
    Please teach me your wisdom!
    Naoki Kurihara

    I seeked and I noticed that
    maybe I catched the message but the message dont have payload.
    so I got no_payload error.
    I checked SAP note.
    I noticed, no_payload error will be managed to nomal message at SP13....
    my XI is SP12....
    I ll seek for another way!!
    Thank you! noaki

  • RFC Exactly once in order

    I deployed EJB to enable RFC Sender Adapter to work in exactly once in order
    this is the code I used :
    package com.netafim;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import javax.ejb.CreateException;
    import com.sap.aii.af.mp.module.ModuleContext;
    import com.sap.aii.af.mp.module.ModuleData;
    import com.sap.aii.af.mp.module.ModuleException;
    import com.sap.aii.af.ra.ms.api.DeliverySemantics;
    import com.sap.aii.af.ra.ms.api.*;
    @ejbLocal <{com.netafim.EOIORfcLocal}>
    @ejbLocalHome <{com.netafim.EOIORfcLocalHome}>
    @stateless
    @transactionType Container
    public class EOIORfcBean implements SessionBean {
            public void ejbRemove() {
            public void ejbActivate() {
            public void ejbPassivate() {
            public void setSessionContext(SessionContext context) {
                    myContext = context;
            private SessionContext myContext;
    Create Method.
            public void ejbCreate() throws CreateException {
                    // TODO : Implement
            public ModuleData process(ModuleContext moduleContext,ModuleData inputModuleData, String queueName)
                    throws ModuleException {
                            try {
                            Message msg = (Message)inputModuleData.getPrincipalData();
                            msg.setDeliverySemantics(DeliverySemantics.ExactlyOnceInOrder);
                            msg.setConversationId(queueName);
                            inputModuleData.setPrincipalData(msg);
                    } catch (Exception e) {
    //                 raise exception, when an error occurred
                    ModuleException me = new ModuleException(e);
                    throw me;
    //                 return XI message
                    return inputModuleData;
    when I excute the function I get the following error in the comuunicatin chanel monitoring  : no paramter was found.
    in the paramters in the adapter modules tab I just wrote the queue name
    for example : ( its supposed to be a string )
    RFC******************queueName************XBIO_0001
    still the module doesnt reconzie it.
    Is the code above will add the functionaly of Excatly once in Order to the RFC Sender Adatper ? whats wrong with the paramters ?
    thx,Shai

    Hi,
    <i>
    data is sent "exactly once in order".</i>
    >>>I am not sure about this document which assures it is always EOIO.
    I am sure that using proxy communication u can do the quality of service as EOIO.
    To maintain the sequence in the client ABAPproxy with ABAP code-http://help.sap.com/saphelp_nw2004s/helpdata/en/65/40c9a4a1fa476288ac61b5fcc6bbde/content.htm
    Regards,
    Moorthy

  • Exactly Once In Order ..in File adapter ???

    Hi Xi friends..
    in my file to idoc ..
    i am getting files as wear*.xml .
    i think , i have  to use Exactly once in Order in Communication Channel  to process multiple files in order starting with wear*.xml
    if i select Exactly Once In Order..
    i have to give Queue Name..
    please tell me which queue name to be given here..
    please tell me how to use this Exacly Once in Order option..
    thanks and regards
    Ram

    Hi Ram,
    The XI supports Synchronous and Asynchronous delivery; in XI terms, these
    are described with a Quality of Service (QoS) descriptor. The XI supports
    QoS Best Effort (BE), Exactly-once (EO), and Exactly-once-in-order (EOIO).
    These are equivalent to RFC types Synchronous RFC (sRFC), Transactional
    RFC (tRFC), and Queued RFC (qRFC), respectively.
    EOIO (Exactly Once In Order):
    Messages are delivered with the same queue names (supplied by the application) in the same sequence that they were sent from the sender system. Message processing is asynchronous in this case.
    In the case of quality of service BE, an error occurs if more than one receiver is determined for a message. In the case of delivery types EO and EOIO, the message is copied correspondingly and sent to the individual receivers.
    Ckeck this link
    http://help.sap.com/saphelp_nw04/helpdata/en/41/b714fe5ffc11d5b3ea0050da403d6a/frameset.htm

  • Receiver Mail adapter Exactly Once

    Hi,
    I've setup my scenario RFC (trfc for exactly once QOS ) ->  Mail (receiver)
    Now I'm testing what happens when the smtp server is down.
    In message monitor (sxmb_moni) , the message is successful. In comm chanel monitoring, I can see the message is in error.
    The error states that "The message status was set to NDLV." but nothing is sent back to integration engine ...
    The adapter retries to send the message 3 times but then just stops...
    Q1 : How do you resend the message after the 3 retries ?
    Q2 : How can you know this error arrived if the message is successful in sxmb_moni ?
    Thanks

    Hi Thierry,
    If you see that the message passed in sxmb_moni, this indicates that the mapping was successful.  Your problem is happening at the adapter engine level, which you access through Message Monitoring in the Runtime Workbench.  It is there that you can try to resend the message.
    Mike

  • Quality of Services "Exactly Once in Order"

    Hi,
    I have several integration using iDOC output R / 3.
    This integration into the Integration Builder them removed brand "Maintain Order At runtime" (Quality of Services - Interface Determination) to be executed in parallel, but when they reach the engine J2EE appear with the Quality of Services as "Exactly Once in Order."
    Why this happens with iDOCs? . With RFC do not have this problem.
    Best Regards
    Julian.

    Hi
    I have been reviewing the integrations that run in parallel and gave the impression that really do not run in parallel (Quality of Services "Exactly Once"), but that the channel receiver is taken so that the previous interface ends of inserting data into the receiver.
    If open the message and revise the log, the first message that arrives is in this state:
    "JDBC adapter receiver channel JDBC_XXX_YYY_Receiver: started processing; Party, service ZZZ_BS "
    But the following is not enough to reach this state and it is with this log:
    "Receiver JDBC adapter: started processing; QoS required: ExactlyOnce "
    One step before the first message, only runs the next step when the first message ends to be processed by the adapter.

  • Exactly-Once Handling in Receiver JDBC Adapter

    Hi,
    I have doubt abt Exactly-Once Handling in Receiver JDBC Adapter.
    For Conflict Resolution as Database.
    Why there is need to define table as below ?
    In the database where the write-to tables are located you must create an additional table with two columns for this purpose. To define the table, specify the following:
    Database Table Name
    Enter the name of the table.
    Key Column Name
    Enter the name of the column in which the key is entered.
    Value Column Name
    Enter the name of the column in which the key value is entered.
    Please explain in simple language.

    Hi Abhishake,
    Thanks for your reply.
    I understant that the tables needs to be created in DB.
    But if you read the SAP Docs for conflict resolution. My undestanding is "During Database commit if AS Java is terminated then the message will be in unknown state, for this type of messgaes when the AS Java restarted the behaviour is defined by this parameters. If the message doesn't have primary key, then there is probablity when AS Java will try second time it may get the message in DB so a message can be duplicated. To avoid this condition it is mentioned that you must create additional table with three column".
    Please correct my understanding if I am wrong.
    My additional table needs to create & how it will resolve the problem.
    Thanks in advance.

  • Persistence under Exactly-Once Handling in JDBC Reciever Adapter

    Hi,
    Can any one explain me significance of persistance (Local or Database) in JDBC Receiver Adapter.
    Please provide me document if anyone has?
    Thanks,
    ABDUR

    hi,
    both types are described here with many details:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    under : Defining Exactly-Once Handling
    do you need anything more ?
    Regards,
    michal Krawczyk

  • Exactly once delivery in SAP XI

    Hi all -
    Client question:
    1. What does "Exactly Once" mean in terms of the JDBC adapter? 
    2. In terms of an FTP adapter? 
    3. What constitutes XI's understanding of a successful delivery to the target application? 
    4. How far does XI go in monitoring the successful posting to the target application?
    Throw in your ideas on the above questions.
    tia,
    Tirumal

    Hi,
    <i>1. What does "Exactly Once" mean in terms of the JDBC adapter?
    2. In terms of an FTP adapter?</i> >>>
    In General , "Exactly Once" means, message delivery is guranteed. It is of type Asynchronous. So all Asynchronous messages are persisted in XI. So if you have any problem because of Queue stuck etc, you are able to restart/reprocess the messages as it is persisted.
    to know more-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/65/40c9a4a1fa476288ac61b5fcc6bbde/content.htm
    <i>3. What constitutes XI's understanding of a successful delivery to the target application?</i>
    >>>System Acknowledgement, i.e in the Asynchrnous communication, XI is responsible to send the message to Receiver system.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/content.htm
    <i>
    4. How far does XI go in monitoring the successful posting to the target application?</i>
    >>>XI monitors, till the message is sent to Reciever system. It is not responsible to monitor the processing of messages in Reciever system.
    Hope this helps,
    Regards,
    Moorthy

  • Exactly once(option) in QOS filesender

    hi.
    i want to know the difference between EXACTLYONCE,EXACTLY ONCE IN ORDER,BEST EFFORT options in quality of service.
    waiting for your response.
    cheers.
    seeta ram.

    hi michal.
    thanks for your answer.
    but i just want clear my doubt.
    here in my scenarion iam testing file to bapi by putting exactly once in(QOS)Of file sender adapterand the procesing mode of sender file adapter as test.
    but i forgot to deactivate file sender adapter and now iam getting ptoblems with ICM IN MESSAGE MONITORING(SXMB_MONI)
    ITS SHOWING IN XMLPAYLOAD AS
    400</SAP:P1>
      <SAP:P2>ICM_HTTP_CONNECTION_FAILED</SAP:P2>
      <SAP:P3 />
    <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while receiving by HTTP (error code: 400, error text: ICM_HTTP_CONNECTION_FAILED)</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error>
    wat would be the reason for this.
    waiting for yur answer.
    cheers.
    seeta ram.

  • OSB Transaction context (QoS exactly once)

    Hi all,
    First of all, excuse me my poor english...
    I need to understand how develope transactional services with OSB.
    My unit test are 2 proxy services : first with JMS/XA transport (with response requiered) with 2 Service Callout to transactional EJB with exactly once; second proxy routes the first with HTTP transport with exactly once.
    When services ends ok, or i reply with error in error pipeline, commit is executed; but if services failed, services no reply nothing until timeout proxy....then rollback is executed....
    In conclusion, i don't know how i develope transactional proxy services....i choose bad transports?, i don't understand pipelines?...i'm very confused...
    Thank you all

    Hi,
    i tested it without test console with no different results...and test console show me :
    Response Data :
    <con:metadata xmlns:con="http://www.bea.com/wli/sb/test/config">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <http:Content-Type>text/xml</http:Content-Type>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">1</tran:response-code>
    </con:metadata>
    Invocation Trace :
    System Error Handler
    $fault: <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-381501</con:errorCode>
    <con:reason>
    JmsAsyncMessageTable timed out message with id 2aa517390000011f37a92110ffff8035
    </con:reason>
    <con:location>
    <con:node>RouteNode1</con:node>
    <con:path>response-pipeline</con:path>
    </con:location>
    </con:fault>
    Always i try to route (tunneling http) with exactly once to proxies JMS/XA, if proxy throws exceptions, in http proxy i see this : "JmsAsyncMessageTable timed out message"....
    I'm disoriented...
    Thx you very much.

  • To run a scenario exactly once in a specific time every day

    I would like to run a scenario which will read a file in a specific directory and will update the data in the database.
    File -> JDBC
    I would like to run the scenario only once a day in a specified time
    i.e. say 12:00 midnight.
    How can I specify that in the scenario?

    Hi
    Note:You will need to have the authorizations of the user group SAP_XI_ADMINISTRATOR with the role modify.
    Go to Runtime Workbench -> Component Monitoring -> Communication Channel Monitoring
    Locate the link Availability Time Planning on the top right corner of your Communication Channel Monitoring page.
    In your case, the requirement is to schedule the Sender file adapter daily once at 12:00 at midnight.
    In Availability Time Planning, choose the Availability time as daily and say create.
    Provide the details like the time 12:00
    Then select the communication channel , goto the Communication Channels tab and filter and add the respective channel (File Sender).
    Once all the above has been done 'Save' the changes.
    hope it helps
    Thanks

Maybe you are looking for

  • Images into db, what's wrong?

    Hi, I'm still trying to fetch some images into my database, gif or jpeg, but I have some problems. I used the following code but it gives me a compile error. I don't understand why! EXEC does'nt work. CREATE TABLE MY_IMAGES_DB( id NUMBER(10) NOT NULL

  • QUB (query builder) won't open in  browser

    Recently, QUB won't open in my browser. When I click on edit or new query, I am switched over to FIrefox (or my computer will open FIrefox if it is not running) but QUB won't load at all. Any ideas are greatly appreciated.

  • Multiple (Duplicate) COPA docs getting generated for VPRS upon multiple PGI

    Hi We have gone live on Jan 1 2009 and we noticed some errors in COPA documents In a particular case, referring to Sales Order 30001514, 2 PGI (POst Goods issue was done).. One for Qty 100,000 EA and second for 69920 EA Billing document generated COP

  • Access exchange mailbox you have permissions to

    From the mail application (predominantly iPad) it is possible to connect to my exchange mailbox, works like a dream, what I would like to do is also connect to a second mailbox on same exchange server that I do have permissions too. Is this possible,

  • IPhone 4 stopped working

    Hi my iPhone 4 stopped working randomly even though it still had power. I've tried charging it but that hasn't worked neither has holding down the power and home button any tips?