Adapter Message Based Partitioning

Hi,
I'm trying to investigate the use of partitioning without much success. I have set up two publishing AQ adapters with a partition created on both, routing event1 via first partition (on adapter1) and routing event2 via the second partition (on adapter2). There is no in order delivery required across events and both events are subscribed to by the same application.
However when i publish event1 and event2 they are not being picked up by the appropriate adapter, adapter1 picks up some event2 messages and adapter2 picks up some event1 messages. The adapters then error as the message does not comply with the event based routing set up. (AQ Adapter: ** Error ** there was no OAI message corresponding to the message dequeued from the AQ. Please check your Event Map rules in iStudio.... ).
I've had a look at the 10g documentation (we're using OAI 10.1.2) but its not very useful.
Does anyone have any experience of partitioning or is my problem simply that i can not have more than 1 AQ adapter dequeueing from a queue?
Thanks
Carol

Thanks for your reply,
As far as i'm aware having multiple adapter instances means that the adapters need to be installed within different oracle homes and we wanted to steer clear of that.
My problem was related to incorrect configuration within iStudio, once this was corrected the publishing worked fine. The following parameters were set within the adapter.ini files
partition=P1
agent_subscriber_name=<adapter1>P1
agent_message_selector=recipient_list like '%,<adapter1>P1,%'
Application name remained unchanged (application=<adapter1>)
I'm now looking at pure load balancing partitioning and while the publishing adapters are working correctly the subscribe adapters are not.
I've set up a PL/SQL subscribe adapter with one partition, however when i send a message across both the original adapter and the partition adapter are picking up the message resulting in the message being processed twice into the database. The adapter.ini files are configured exactly the same as the publishing adapters so have no idea why they're not working.
thanks
Carol

Similar Messages

  • Polling messages based on priority in BPEL using JMS adapter

    Hi All,
    Is it possible to poll the messages based on the priority in BPEL using JMS adapter?
    I could set the priority for the messages but while polling it is picking the messages in FIFO(First in First out) order. But I want the messages to be picked on priority.Any help is appreciated.

    Do you only want to pick up messeges with a certain priority? So anything larger than say priority 2?
    You can try this: Oracle JCA Adapter for JMS - 11g Release 1 (11.1.1.5.0)
    Message SelectorThis field is also optional. It filters messages based on header and property information. The message selector rule is a Boolean expression. If the expression is true, then the message is consumed. If the expression is false, then the message is rejected.For example, you can enter logic, such as:
    JMSPriority > 3. Based on this, messages with a priority greater than 3 are consumed; all other messages are rejected.
    JMSType = 'car' AND color = 'blue' AND weight > 2500
    Country in ('UK', 'US', 'France')

  • Sender adapter processing based on done file content

    hi
    sender system creates a done file, after the creating of actual file. SAP PO 7.4 first need to read the done file for the list of files to be processed from the same folder.
    for eg:
    source folder files:
    xxx11092014.xml
    yyy11092014.xml
    zzz10092014.xml
    done11092014.xml
    content of done file:
    <files>
    xxx11092014.xml
    zzz10092014.xml
    <files>
    In SAP PO 7,4 first need to read the done file, based on the content of the file xxx11092014.xml & zzz10092014.xml need to be processed in sap po and
    all the three file xxx11092014.xml, zzz10092014.xml & done11092014.xml need to be deleted. leaving behind the yyy11092014.xml for which new done file will be created..
    Could anyone please throw some light on this scenario to implement???

    Hi,
    Please check below steps helpful for your requirement by creating two flows and additional files.
    Interface1: This interface to read the filenames from done*.xml and generate the additional files with same name with different extension like xxx11092014.txt and zzz10092014.txt for interface2 to pick.
    1. Configure your sender CC to pick file done*.xml
    2. Use multimapping to create multiple messages based on how many files under <files>
    3. Create additional files in receiver file adapter with same name with different extension by using variable substitution.
    One IDOC to Multiple Files sending to Multiple folders of the FTP using single Communication Channel (SAP XI-PI Process …
    Interface2: This interface to pick files having only additional files with same namepart
    1. Configure your sender CC to pick files having additional files by enabling Additional Files
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816?QuickLink=index&…
    Regards,
    Praveen

  • JmsAdapter issues-Pick message based on correlationid

    Hello,
    I'm experiencing an issue during picking the messages from AQ based on the JMSCorrelationID in Asynchronously.
    I've developed asynchronous BPEL services, which will post messages in AQ (Inbound), the same service will liston response from Out queue.
    Currently my service is consuming all messages, i want to consume only relevant response message based on the correlation Id.
    Could you please advise me?
    Regards,
    Paddy.
    Edited by: user8725842 on Feb 22, 2012 4:44 PM

    Replied in
    Oracle JMS Adapter - Bpel Pick message from AQ based on the correlationId?

  • Message-based Alerting

    Hello!
    I have configured Message-based Alerting for a File -> IDoc scenario and I receive the alerts in the RWB Inbox as well as by mail. The alerts usually contain Alert-ID, Message-ID, Rule Name, Error-Code, Error-Category, Sender Interface, Sender Service, Receiver Interface and Receiver Service.
    But some mails contain Alert-ID, Sender Interface and Sender Service only. I assume that these errors are triggered by the Adapter Engine as no Message-ID has been generated yet and they are not visible in SXMB_MONI.
    However, I was not able to find any errors in the Adapter Monitoring nor in the Messaging System Monitoring. Is there I way I can find out what triggered these alerts using the Alert-ID?
    Regards, Tanja

    ><i>However, I was not able to find any errors in the Adapter Monitoring nor in the Messaging System Monitoring. Is there I way I can find out what triggered these alerts using the Alert-ID?</i>
    That is strange. You should have an entry of the message either in Adapter / Comm Channel Monitoring or Message Monitoring.
    Also, maybe these errors are corrected ( eg : if there is some connectivity issues ) and so you are not able to see this message. Remember the adapter retires to send the message 3 times at an interval of 5 minutes for every error.
    Regards
    Bhavesh

  • Collecting Message based on Delivery Id

    Hi,
    We have an scenario to collect the messages based on delviery number, like customer sends the bulk order and SAP splits that order and create the delivery for each splitted orders .
    Eg.
    Sales Order     Batch Order
    PO#      1234
    This Batch order is split in to multiple orders as below
    Order_1     Order_2     Order_3
    1234_A_C     1234_B_C     1234_C_C
    Delivery_1     Delivery_2     Delivery_3
    1     2     3
    These deliveries are sent to PI as DESADV in differnet time frame.
    ->     DESADV# 1     DESADV# 2     DESADV# 3
    inbound time     10:30AM     11:00AM     11:20AM
    PO#     1234_A_C     1234_B_C     1234_C_C
    Outbound time     11:20AM     11:20AM     11:20AM
    Now we need to collect all the DESADV for a single batch order and send it to customer as a single DESADV .
    Can anyone help me how to handle this in PI.
    Is there any BPM process there to collect the messages based on PO number (1234_A_C,1234_B_C,1234_C_C) for particular partner.
    I know correleation id can be used but PO is not constant.
    Thanks
    Lakshmi S

    you can use the BPM Pattern to achieve this functionality.
    Also refer the following links:
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/08/16163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/41/e3d13f7fb44c21e10000000a1550b0/frameset.htm
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure

  • Adapter Framework File Adapter Message on hold

    Hello,
    we have a problem with the Adapter Framework and their the File Adapter / Messaging System.
    We process one HR IDOC from R/3 through XI and send it to 7 file adapters. The SXMB_MONI tells us that all messages have been processed without errors and when you go to the RWB and use the Message-Monitoring many messages are on status HOLD. XI makes the message EOIO once you have multiple receivers and something blocks the messages in the AF. Is there a way to delete the AF queues like the XI queues with SMQ1 or SMQ2. It looks like SAP had duplicated the SMQ business in JAVA but I found no documentation how to clean up queues or what to do if the get stuck.
    Thanks
    Stefan

    hi,
    you can try question 3 adapters section
    on the XI FAQ:
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    to see adapters in RWB
    but if you see them when you do it then
    it means that this XI's configuration was not complete
    so you may expect further problems
    Regards,
    michal

  • Find Message based on Content

    Hi all
    Is it Possible in XI to find a message based on the Message Content.Like any value in Payload?
    Thanks and Regards
    Bhasker

    Hi Bhasker,
        Check this blog:
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417600)ID0547743150DB20098387303032179271End?blog=/pub/wlg/2675
    Regards,
    Ravi

  • Virtual column based partitioning

    Hi,
    we have a non-partitioned table in a production database and wish to partition it based on an expression. Since we are on 11.2 the first thing that comes to mind is virtual column based partitioning. The "problem" is that in order to partition by a virtual column, you have to create one, and adding a new column to a table could break any application that doesn't reference the existing columns by name, e.g. "SELECT *" or. "INSERT INTO table VALUES(....)".
    My question is: is it possible to somehow specify the expression on which to partition directly in the "partition by" clause rather than specifying it as a virtual column definition?
    Example:
    Instead of this..
    SQL> create table test (
      2    id             number not null,
      3    content        varchar2(10),
      4    record_type    varchar2(1) generated always as (case when (substr(content, 1, 1)='B' and not substr(content, 1, 3)='Bxy') then 'B' else 'A' end) virtual
      5  )
      6  partition by list(record_type)
      7  (
      8    partition partA values ('A'),
      9    partition partB values ('B')
    10  );
    Table created...I'd like to use something like this:
    SQL> create table test (
      2    id             number not null,
      3    content        varchar2(10)
      4  )
      5  partition by list((case when (substr(content, 1, 1)='B' and not substr(content, 1, 3)='Bxy') then 'B' else 'A' end))
      6  (
      7    partition partA values ('A'),
      8    partition partB values ('B')
      9  );
    partition by list((case when (substr(content, 1, 1)='B' and not substr(content, 1, 3)='Bxy') then 'B' else 'A' end))
    ERROR at line 5:
    ORA-00904: : invalid identifierThank you in advance for any answers.
    Regards,
    Jure

    adding a new column to a table could break any application that doesn't reference the existing columns by name, e.g. "SELECT *" or. "INSERT INTO table VALUES(....)". "Ok, i got it. You mean, in application you are using select * from yourtable; and those data is being used by a datagrid or any control, then where that application will show / handle the new column data right ?
    Yes, thats why DBA and developers do SDLC (Software Development Life Cycle); that our table will be looks like this, these will be columns, these will be their data types, these will be followed in naming convention, privileges, indexes, storage parameters, constraints, dependent objects etc. Now after creating the table, you found a need to add a column, it means there was some lapses happened at the design time/phase or business requirements are newly defined.
    So, as far as concerned of select * ... ; you have to change in the application by :
    select col1, col2, new_col from your table... (as per order of your datagrid control columns). There is no other solution, you have to change in application code at every place where you have used select * and if those statements are being merged / deals into a control)
    New column addition will hamper only at select * from... not with any INSERT/UPDATE/DELETE, because if they are running fine it means, they have well written column references. For DMLs you need not worry so far.
    By the way, what is your technology for application ? I have worked on couple of applications in ASP.NET with using datagrid which auto add/removes the columns in itself as per cursor result (not rememberring the exact property of it though)
    Regards
    Girish Sharma

  • Do you think middleware or XIF adapter is based on SOA?

    Hi,
    For current CRM 5.0 version, do you think middleware XIF adapter is based on SOA? Or classic tech.?
    How about it in new CRM?

    Long,
    Technically a lot of the so called SOA applications that are "hyped" still use ancient technologies beneath the surface, and only have a very shiny enterprise service layer or SOA layer on top. 
    Now is the design of XIF middleware an SOA design?  Probably by the strictest defintion the answer is no.  However if you look at the general design of CRM the application is more tailored to supporting the shiny interfaces of SOA than say some parts of ERP.
    My favorite case in point is that in ECC 5.0/6.0 inbound vendor master creation via IDOC processingstill uses a BDC session to create the vendor.  In CRM BDC is not used anywhere, and the application is designed in a layered approach with several API layers that represent the logical layers. 
    The newer CRM releases have an enterprise services tool, that allows you create new services based on BOL objects.  However there is a lack of "predefined" scenarios in CRM.  You might consider this a drawback, however this allows for flexibility.  The other benefit is that because of the design of the CRM system, putting an new UI layer does not involve re-writing all layers of the application. 
    Is this what the SOA purists want, maybe not, but for the pratical side of the house, CRM provides us the flexibility needed to do what is necessary.  I see the adding of SOA shiny interface features as the added bonus.
    Take care,
    Stephen

  • Assign a message store partition using delegated administrator

    Hi!
    i'm using messaging server and delegated administrator that comes in the JES Q5 2005 i'd like to assing the message store partition to the user when i create their account but i can't see any option to do that using delegated administration console. Is there a way to do that.?
    In older delegated administrator versions i could do that.
    Thanks in advance

    It does appear that the current DA does not have this capability. There is a RFE for it in place.
    At present, the only options you have are to:
    1. Use comm-admin to change the partition
    or
    2. Use ldapmodify or Console to make the change in Directory.

  • Content based Routing Vs Message based Routing

    Hi friends,
    Can u plz differentiale Content based Routing and Message based Routing?

    Hi,
    Content based routing is when the receiver is determined based upon some value in message i.e for a field 'a' receiver is A but if its 'b' receiver is B.this is determined at runtime.
    While message based is normal routing
    Regards,

  • Content and message based routing

    Hi Experts,
    How to do Content and message based routing for webservices through Enterprise Portal?
    Regards
    Sara

    hi
    Content based routing in XI can be done during
    1) Receiver Determinations (Integration Directory) --- Used for entering a condition for
    forwarding a message to one or more receivers
    http://help.sap.com/saphelp_nw04/helpdata/en/26/5ccd3bb4560f01e10000000a11402f/content.htm
    2)Interface Determinations (Integration Directory) --- Used for entering a condition for forwarding a message to multiple inbound interfaces
    3) Designing Integration Processes (ccBPM) (Integration Repository) --- Used for entering a condition for processing process steps (see Step Types)
    At all the 3 places u will use the Condition editor,
    http://help.sap.com/saphelp_nw04/helpdata/en/67/49767669963545a071a190b77a9a23/content.htm
    rgds,
    Arun

  • Adapter message monitoring: message in HOLD

    Hi,
    since we changed a scenario:
    a) old scenario: R/3 --> XI --> BPM --> XI  --> FTP
    b) new scenario R/3 --> XI   --> FTP
    the messages stuck in adapter message monitoring.
    Message-Interface is the same, CC is the same; just the way through BPM was canceled.
    any suggestions?
    Thanks
    Regards Mario

    Hi Mario,
    messages are in status HOLD, when they need to be sent in exact order (EOIO), and an error occured in one (or more) queues. When you solve this error, restart the first message from the queue after this error and the items will be processed.
    How to do that:
    Go to messaging system servlet, find your message (in hold status) and click the Eye icon - Details. Now read the Conversation ID value - which is your queue ID.
    Go to RWB, message monitoring, choose adapter engine( from combobox)-> display.Now click additional criteria, put the value of Conversation ID to conversation ID textbox. Start search. You'll see a lot of messages there in hold status I think, But find the one in System Error status. Try to resend this message, if it will not change its status (will still be in in System error), cancel it. Now restart first message from the queue, which was after this wrong one.
    This should release the queue and process items.
    If any questions, let me know.
    Peter

  • VALUE BASED  PARTITIONING BETWEEN AN EXCEL AND DATABASE

    Can any1 help I have an EXCEL FILES and DATABASE. I want to make partitioning value-based between these sources.
    Thanks you in advances.

    Hi,
    Actually value based partitioning works fine on the data sources which are stored on RDBMS. I haven't try it with a excel source. There is a detailed description in the link below.
    http://108obiee.blogspot.com/2009/01/fragmentation-in-obiee.html
    Hope this helps,
    Cheers.
    Cuneyt

Maybe you are looking for

  • Need help with a typewriter text effect

    Hi, could you guys look over my script and see what's up? I'd like the words in the string to type out in the alotted time, but for some reason my function apends the first and last letter of anything in the string, so "Hello?" becomes "ello." This i

  • In moderation

    The current status of moderation on this forum is confused to say the least.  In recent weeks there have been  numerous and flagrant breaches of the terms of use of the forum and I for one am increasingly disinclined to be associated with it. If arch

  • I dont have facetime on my iphone5

    I dont have facetime on my iphone

  • Best way to import iTunes files from old HD

    Hi I have recently changed my internal HD and I would like to import the music from my iTune that is in my old HD to the new. May I know what is the best way. *What other ways do I have other to transfer the music files from old to new HD?* Please he

  • Why is About:config not saving user changes?

    Ok heres the problem. In about:config searched for keword.url had - chrome://browser-region/locale/region.properties as the setting tried to change to - http://www.google.com/search?hl=&q= works with the changed link, until you restart firefox. then