Making Polling Interval on DB Adapter as a property.

Hi All,
I am trying to make the polling interval on my db adapter as a prpoerty so the polling interval time gets read from a property file and hence i dont have to redploy the process when i want to change the polling time interval. Is it possible ?
Thanks
K

in case of 11g and the use of mediator you can use it using the assing in the mediator itself and set the 'PollingFrequency' property
http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10231/adptr_propertys.htm#CIHJIDCH
haven't tested it, but i assume you can use a xpath expression in there.
and then you can use getPreferences function to retrieve the values which you can set in the console on runtime, see :
http://eelzinga.wordpress.com/2009/10/28/oracle-soa-suite-11g-setting-and-getting-preferences/
hope it works :)

Similar Messages

  • How to set polling interval for database adapter in interconnect?help plz!!

    Hi
    i have 4 database adapters with same name subscribing to same event in 4 different interconnect instances(i.e., same business event and application event in different hubs) and pointing to same source application database , same destination application database.
    source application database have one oai bridge schema.When a message has to be sent,message will be enqueued in messageobjecttable.This message can be taken by 4 databse adapters.and send to 4hubs then 4 messages will be sent to destination application instead of single message.
    To avoid this,I want to set database polling interval in 4 adapters sych a way that if one adapter take message in MESSAGEOBJECT TABLE,the other three adapters don't pick same message.
    this way i can avoid redundacy at destination application.Please reply soon
    Thanks

    You would seem to have an extremely unusual use case for interconnect. The whole purpose of Interconnect is to concentrate the message processing into one hub and distribute the message to those applications interested in it. The use of 4 hubs from one application is probably not supported for precisely the reasons you are having trouble. Can you give us more details of your use case?
    I am not sure that adjusting the polling interval for the different adapters will help. Since at some point you will get a collision where 2 or more adapters poll at the same time.

  • Polling interval in file adapter.

    Hi,
    I have a doubt regarding the file adapter polling interval.
    Suppose we get a file of size 512 MB and PI file adapter taking long time (say 15 Min) to process it, we have a polling interval of 10 min.
    I have a 2 doubt in this case.
    1. what will happen in the next polling interval. because the older file still is in process and it is still in the source folder location.
    2. if at the same time there is new file get places in same folder location. then how the file adapter behave in this case. Is it start picking the second file or again poll the incomplete file.
    I want to know that is PI maintaining some lock while processing some file from source folder.
    regards,
    Navneet

    Hi,
    I guess normally it should process both files, earlier one which is in process and the new one as well (it depends your selection string in file name scheme).
    Also refer thsi Wiki to help in avoiding duplicate file processing:
    http://wiki.sdn.sap.com/wiki/display/XI/DifferentwaystokeepyourInterfacefromprocessingduplicate+files
    Regards,
    Divyesh Vasani

  • Get poll interval parameter from adapter module

    Hi,
    I'd like to make special treatment in my adapter module based on the "poll interval" information filled in Processing Parameters part of the adapter configuration.
    Can an adapter module access this information?
    regards
    Yann

    Hi Yann,
    >>>>Can an adapter module access this information?
    of course it can you just have to use
    a correct parameter's name
    check this post to get the java code
    Re: Access the URL Parameter from a Adaptermodule
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Maximum Polling Interval in File Adapter

    Hi,
    Can you please let me know what can we set as the maximum polling interval in the Sender File adapter?
    I have a scenario where I am setting the File Adapter polling interval as 7884000 secs. i.e.2190 hr= approx 3 months.
    But the file adapter is polling at very short intervals.
    Any help on this would be appreciated.
    Regards,
    Sampada

    You need to configure the polling settings so that the system does not become overloaded, but at the same time, in a way that end users do not notice a major decrease in performance over time. Keep in mind that the greater the polling interval, the less frequently users will receive updates.
    Adapter Scheduling - Hail SP 19 :-)

  • Problem with Polling interval at sender side in JDBC adapter

    Hello,
    I have some problem in investigating one serious issue using this polling interval,
    I am using the sender JDBC adapter where i used polling interval as
    60(in secs) and 1(in Msecs).
    So it comes upto 60.001 secs of polling interval.
    There are nearly lots of threads which are in sleeping state on one particular sender channel making the J2EE hang. When i went to look inside the CPA cache i saw that the polling interval was mentioned as only 1Msec rather than 60.001 Secs because of which with in some seconds all the threads are blocked and J2EE hangs due to lack of threads.
    Can you please provide some solution to this problem as soon as possible?
    Here are few questions which i got when i am doing this process,
    1. Is that the polling interval is sum of 60(secs) and 1(msec)?
    2. Which value is been read either secs or msecs?
    3. Will there be any precedence among those two values(secs and msecs)?
    THanks,
    Soorya

    Poll Interval (secs)
    Number of seconds that the adapter must wait if no files are found for processing.
    &#9679;      Poll Interval (msecs)
    Additional waiting time in milliseconds.
    If you set Poll Interval (secs) to null, processing times will be short and close to real time.
    If you set Poll Interval (secs) and Poll Interval (msecs) to null, the adapter is only called once.
    &#9679;      Retry Interval (secs)
    Specify the number of seconds that the adapter is to wait before a file processed with errors is processed again.
    If the value is set to null, then the adapter is canceled if an error occurs, even if a value greater than null is specified for Poll Interval (secs).

  • XI file adapter polling faster than poll interval

    Hi,
    We are facing a issue with the file adapter/authorization of the FTPUSER.
    We FTP a server and pick up a file from a particular folder.
    My polling interval is 2 minutes
    My retry interval is space.
    Processing mode : ARCHIVE
    We are archiving it on a Network attached server(NAS) mounted on our XI server.
    When XI polls for the first time it picks up the file but the sender file adapter shows following error in RWB.
    <b>2006-01-20 11:31:08 GMT: Error: Deleting of file 'ARUCSjnewb80.txt' failed - cannot proceed: FTPEx: ARUCSjnewb80.txt: Access is denied.</b>
    The picked up file gets processed but at the same time just within 12-13 seconds of the first poll XI picks up the file second time and then in another 3 seconds for the third time.
    After this the file gets archived thrice in the archive directory and then gets deleted from the source directory.
    We are unable to understand why XI is polling  again  after few seconds of the first poll.(As per my understanding it should have polled after 2 minutes).
    I am able to delete the file manually from the Ftp server.
    Could anyone give a pointer towards what we are missing or what probable reasons could be?
    authorization issue?( XIADM /ftpuser have full authorization)
    Some adapter setting?
    Regards,
    Sulakshana

    Hi,
    Could you let me know how frequent the file gets loaded to the FTP server.
    Is your file size too large to get loaded.. If so try to increase the polling interval. Also make sure that you have provided the polling time in sec and not in minutes...i.e for 2 minutes it should have been specified as 120 sec as polling interval
    Regards,
    Nithiyanandam

  • Sender File Adapter always "Polling interval started" without complete

    Hi,
    I have problem with sender file adapter suddenlty the status from Communication Channel Log monitoring always with polling started without completed.
    4/25/11 11:40:33 AM   Polling interval started. Length: 10.0 seconds
    4/25/11 11:40:23 AM   Polling interval started. Length: 10.0 seconds
    4/25/11 11:40:13 AM   Polling interval started. Length: 10.0 seconds
    4/25/11 11:40:03 AM   Polling interval started. Length: 10.0 seconds
    Normal :
    4/25/11 11:41:50 AM   Polling interval started. Length: 10.0 seconds
    4/25/11 11:41:50 AM   Processing finished successfully
    4/25/11 11:41:50 AM   Processing started
    4/25/11 11:41:40 AM   Polling interval started. Length: 10.0 seconds
    4/25/11 11:41:40 AM   Processing finished successfully
    4/25/11 11:41:40 AM   Processing started
    I have tried to stop and start the channel but still no luck. This problem only happen for this particular communication channel others channel is working fine.
    Please advise other solution before i need to restart the java engine since this in the production environment. The problem is some of the process was delayed because this issue. CC was delayed to pickup the file.
    Thank You in advance.
    FL

    Hi Abhistek,
    Thank you for your correction. It was typo.
    Which assumption is correct ?
    1. All 3 instance running together in the same time ?  or
    2. Either 1 of the instance running once time manage by clustering setting.
    Example :
    15:01:00   ---> A
    15:02:00  -
    > A
    15:03:00  -
    > B
    15:04:00   -
    > B
    Currently :
    15:01:00   -
    > A    
    15:01:00   -
    > B (lock)
    15:02:00  -
    > A
    15:02:00  -
    > B (lock)
    It seems all 3 instance lose control from clustering ?
    Regards
    FL

  • Sender File Adapter - Restrict number of file polled at each poll interval

    Hi all,
    PI  7.0 SPS16.
    We would like to know whether it is possible to configure a sender file adapter (file conversion mode) in order to restrain the number of file taken at each poll interval and if yes how ?
    Thanks for your future answers.
    Jean-Charles

    Hi Jean
    Standard adapter do not provide functionality to take an input like number of files to be taken at poll interval. But using adapter module you can achieve this.
    SAP PI is having the function to set poll timings and scheduling. You can write adapter module and execute this module using File adapter type communication channel before the standard bean and you can restrict the number of files.
    Check the link given above as well as this How to Guide
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
    Thanks
    Gaurav

  • Poll interval for sender file adapter.

    I have a 1_sender file NFS file adapter which picks a trigger file from X location in PI application server, this trigger file initiates the unix script present in the sender file adapter.
    Unix script brings all the file which starts with 25588* from bank FTP and places in Y location in PI application server then script deletes the "trigger file".
    another NFS File adapter  1_receiver file adapter places the trigger file in the X location of PI.
    for 1_sender file poll interval given as 86400, that means it should trigger only once a day @ 1:30pm.
    But today same sender file adapter had triggered 4 times, could any one let me know the reason why it had triggered 4 times instead of single time.

    Vidya,
    There are two things :-
    1. The polling interval should be 24 hrs;
    2. The polling interval should be 24 hrs and it should poll at 1:30 pm every day.
    For any reason if the channel is re-started, then with your present configuration, you will never be able to achieve # 2.
    So, better use ATP.
    But today same sender file adapter had triggered 4 times, could any one let me know the reason why it had triggered 4 times instead of single time.
    Might be the connection dropped / failed at the time of polling and the channel re-tried. If you give more details (what time and with how much interval it triggered), someone might be able to help.
    Regards,
    Neetesh

  • File adapter not reading (not starting polling interval)

    Hello,
    I've got one communication channel trying to read a file each 10 seconds.
    The file adapter is configured correctly and the channel is started but sometimes it stops the polling interval process and I don't know why.
    For example the channel was working fine until Friday but with no reason it stopped to attempt to read the file on the directory... what can it be?
    And another question. What's the difference about communication channel with "Automatic control" or "Started" manually?

    Hi,
    And another question. What's the difference about communication channel with "Automatic control" or "Started" manually?
    Whenever you create new communication channel in Integration directory and activate it,its status in control data is Automatically and whenever you change it in RWB (Stop/Start) its status changes to Mannually.
    Thanks!

  • JDBC sender adapter polling data more than once within one polling interval

    Hi,
    Our sender communciation channel is polling data twice in one polling interval, hence triggering the corresponding BPM twice.
    The polling interval for the channel is set to 30 mins.
    We dont have an update query and use <test> instead. Currently there is no provision to use an update query in the source system.
    Intermitently the polling happens within an interval of few milliseconds, because of which we are in doubt whether the use of Update query will solve our problem
    Additionaly in the BPM, we have one channel which deletes the data from source system after the processing is complete by the BPM, but the second BPM is getting triggered before the deletion step is being executed in the first BPM.
    Please Advise how we can stop the channel from polling data twice.
    Thanks,
    Merrilly.

    Hi Merrilly,
    Please ty to set an advanced mode option in the table(for sender
    channel configurations) as follows:
    Key name is "clusterSyncMode" and its values are either "scheduler" or
    "none".(both are without quotes and case-sensitive)
    Default value is "scheduler", this means it prevents 2
    messages being generated regardless of 2 server nodes. This is true,
    even if you do not add anything in advanced options table.
    Also are more information about this parameter of file adapter, what
    is the same for jdbc:
    #801926 - XI 3.0 File Adapter: Additional Parameters
    Regards
    SK

  • Mail Adapter IMAP Polling Interval

    Hello,
    we are using a XI mail adapter with IMAP. It is possible to decrease the polling interval on the mailbox?
    The default value is onces per minute.
    kind regards,
    Thorsten Dee

    hi,
    IT depends if the channel configured as the sender or the receiver.
    For Sender there is "Poll Interval" Parameter
    For Receiver there is no such option.
    for more details see [this decumentation|:http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/frameset.htm]
    Edited by: Pavel sheynkman on Dec 7, 2008 6:35 AM

  • Restricting polling in sender file adapter

    Hi friends,
    I have a requirement where I need to poll a file from an FTP server. But, if the file is being edited (some other application is writing to it) I need to avoid picking that file. Plz tell me how i can achieve this...waiting for ur replies.
    Regards,
      Shilpa

    Shilpa,
    Check out this sap note :
    [https://websmp230.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=821267|https://websmp230.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=821267]
    File Locking / Incomplete Processing
    Q: I sometimes observe that files are processed only partially, i.e., only a fragment from the file's start is converted into an XI message. Nevertheless, the file is usually archived completely. Does the File Sender Adapter honor if another process has locked a file for exclusive use?
    A: Unfortunately, the J2EE 1.3 technology the File Adapter is built upon does not support file locking. This limitation affects the File Adapter's operation. Depending on whether the JRE implementation for the operating system under which the adapter runs uses mandatory file locking or advisory file locking, opening a file that is currently being written to by another process will fail or not.
    If opening the file fails, no problem exists and the adapter will try to open the file each poll interval until it succeeds.
    However, if opening the file is not prevented by the operating system, the adapter starts to process the file although it is still being modified. Since XI 3.0 SP11 / PI 7.0 there is a parameter named "Msecs to Wait Before Modification Check" in the advanced settings of the File Sender channel configuration to work around this issue. This setting causes the File Adapter to wait a certain time after reading, but before sending a file to the Adapter Engine. If the file has been modified (which is basically determined by comparing the size of the read data with the current file size of the input file) after the configured interval has elapsed, the adapter aborts the processing of the file and tries to process the file again after the retry interval has elapsed.
    If this option is not available for the settings you would like to use, the following algorithm (to be implemented in your application) may be used to ensure that the File Adapter only processes completely written files:
    Create the file using an extension, which does not get processed by the File Adapter, e.g., ".tmp"
    Write the file content
    Rename the file to its final name, so the File Adapter will notice its existence and pick it up
    Hope this will help.
    Thanks,
    Nilesh

  • Can we have a high Polling interval

    Hi All,
    It is a File to R3 scenario. I have three questions:
    1. Can we have a polling interval as 5 hours. If not what is the least time that can be given.
    2. The files might be put by the users in the end of the day. So, can the communication channel be turned on and off only when the files are put in the ftp. And if the channels are on all the time, is it a problem.
    3. The Production landscape was also configured newly. Now i have done the configuration in Production. The receiver channel is a XI adapter. Now can i check if everything is working fine. I mean how can i check if the data will get transferred to the R3.

    Hi Lavanya,
    >>>Can we have a polling interval as 5 hours. If not what is the least time that can be given.
    Setting polling interval in comm channel level is not best practice/suggestable...you can schedule the channel in RWB ATP so the channel would be available in that perticular time period
    >>>The files might be put by the users in the end of the day. So, can the communication channel be turned on and off only when the files are put in the ftp. And if the channels are on all the time, is it a problem.
    Though the channel available all time it is not a problem...but any way if you think files will be arrived only at perticular time then ATP scheduling would be the better option
    >>>The Production landscape was also configured newly. Now i have done the configuration in Production. The receiver channel is a XI adapter. Now can i check if everything is working fine. I mean how can i check if the data will get transferred to the R3
    you can check SXMB_MONI transaction in SAP ECC system
    Also check the below blog for ATP:
    /people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-
    Regards,
    Naveen

Maybe you are looking for

  • PDF Download Problem

    Hi, I have one report using Reuse_Alv_List_Display as output. After that I have to download the output to PDF. By using the following code I can able to download, But the Problem is I have 54 fields( total length to 900 characters) in the out put and

  • How to list all currently open Excel files with ActiveX?

    Hello all! I would like to program with ActiveX a way to retrieve a list (array of strings) of the filenames of the currently opened Excel files in windows. However, I am fairly new to the ActiveX/Excel business in LV and after hours looking at the "

  • How to publish Motion project to desktop?

    How do you export a motion project to your desktop?

  • Old problem new angle:EXS24 instrument audio file not found -but its THERE!

    So I know this has been posted on before, but I've read the forums and my problem seems slightly different. Was trying to open tenor sax, or alto sax. Created a new EXS24 track. In the Logic Studio Library it comes up with a long list of folders, bot

  • I can't pass empty string as column of Table Valued Parameter.

    Hello. I have stored procedure which accept TVP with columns of 'sql_variant' type. And I have C++ application which call this stored procedure. When i pass some non-empty string as sql_variant from my application - all works fine. But when I need to