Two receiver file adapters : Introduce delay for one specific channel

Hi All,
I have two receiver file communication channels and I want to achive the below :
CC1
CC2 are the two comm channels.
They write some data to the target system for which the sequence of writing it may become important and hence i want to ensure that
CC1 creates the file first.
and then CC2 creates the second file.
Is this possible without BPM?
Regards,
Amol

Amol,
Not sure of the exact flow, but if you have multiple Inbound Interfaces in the Interface Determination [One for each file , etc ] and you have selected the Option Maintain Interface Order at Runtime , the Files will be written to the target sequentially.
I have tried this and every time the Time stamp of the file at the OS level was always different and the first file was written after the next one. Ofcourse the amount of seconds of delay is not under our control but if all you need to ensure is the files are created sequentially then this should do the trick.
Regards
Bhavesh

Similar Messages

  • Received notice of an update for one of my apps and when I tried to update the message reads "Account Not in this store"  i must switch to a Canadian store before purchasing

    Received notice of an update for one of my apps and when I tried to update the message reads "Account Not in this store"  i must switch to a Canadian store before purchasing.  I deleted app and tried to download again but still got the message.  Anyone know how to fix?  FYI have had phone for 2 years and this is the first time this has happened.

    The Apple id that you created do you remember if you created with your region sellected as Canada or US. If so you can change Region directly on your device by clicking on App Store icon, Scroll to bottom and tap your app is, click view acct and change region

  • How to change the delay for a specific message

    Hi,
    I need to change the delay for an specific message, So how can I consume message by JMSCorrelationID which is enqueued with delay?
    I am using Java and Oracle.JMS classes.
    This a sample code of the deque method
    public BasicAQData dequeue(int insId)
    try
         String usr = dbUtil.getCurrentUser();
         AQjmsStreamMessage stream_message = null;
         int id = 0;
         int priority = 0;
         int destino = 0;
         String selector = null;
         String instanceId = String.valueOf(insId);
         BasicAQData dd = new BasicAQData();
         queue = q_sess.getQueue(usr, queue_name);
         selector = "JMSCorrelationID = '"+instanceId+"'";
         receptor = q_sess.createReceiver(queue, selector);
         stream_message = (AQjmsStreamMessage)receptor.receive(sleeptime);
         if (stream_message == null) return null;
         id = stream_message.readInt();
         priority = stream_message.readInt();
         destino = stream_message.readInt();
         stream_message.clearBody();
         dd.setId(id);
         dd.setPriority(priority);
         dd.setDestino(destino);
    return dd;
    It returns the desired message if that is available; however it returns null if the message was enqueued with delay and isn4t still available.
    Thanks in advance.

    Hi Glenn,
    Messages enqueued with a delay can be dequeued by specifying message id. In your example,
    you can dequeue the message with message_id, change the delay and enqueue the message again.
    Thanks,
    Brajesh.

  • Sales BOM is not working for one Distribution Channel

    HI Gurus
    In VA01, Line item, for material A Sales BOM is working ( Bom exploded ) for one distribution channel but not for other distribution channel.
    Material A is defined already for other distribution channel ( for which sales bom).
    Sales BOM ( CS01) is also define.
    Regards\Adnan

    this is solved by myself. Component ( child ) material was not defined for that Distribution channel.

  • Changing proposed delivery date in sales order for one specific sales org

    Hi All,
    I want to change proposed delivery date in sales order automatically for one specific sales org only without changing lead time in VOV8.
    For that can I use MV45AFZZ. But it is asking access key to make changes. Is there any other user exit for the same. And how does exactly change it.
    Thanks in advanced.
    Points will be awarded.
    Regards,

    EXIT_SAPFV45E_001 has nothing to do with this - it is meant to update the purchase order from a sales order. It might not even be triggered if the sales order has no link to a purchase order.
    USEREXIT_SAVE_DOCUMENT is not really good for this either, because the delivery date has to be changed before that. If memory serves, it also influences the schedule lines and probably the ATP check and such. I would strongly advise against it. One of the other routines in MV45AFZZ should do just fine, USEREXIT_MOVE_FIELD_TO_VBAK for example.

  • Combining Skype Subscription for one specific coun...

    I have purchased a subscription for one specific country which I call the most. For other countries, I simply purchased some Skype credit.
    How can I make sure that my credit will not run out when I am calling that specific country that I have the subscroption for?

    NormanM wrote:
    Hello,
    The fault is almost certainly with the local Indian carrier used to terminate the call and not Skype. (All Skype calls travel via the internet and only convert to PSTN/Cellular networks at a point close to the recipient's phone). The fact that your Skype-to-Skype calls are trouble-free demonstrates the point. You can also check by placing a free call to the Skype Call Testing Service (echo123).
    First of all thanks for your reply and also you mentioned something PSTN/Cellular network etc etc how the Skype is working. But look here my problem is why this is happening, the subscription name itself India calling then Skype should be able to tieup or catch up with the local Indian carrier, isn't it? How do I know that the local carrier is supporting or not? I need a solution not the reason, yeah it is good to know the reason but what I will do with the reason here; it is beyond my doing. If this is the genuince reason for the failure then Skype is making false statement and fooling around the customers saying you can call Indian Mobile and land lines by this subscription, which is clearly not happening.
    Please let me know if there is anything can be done on this issue, yours time and effort is appreciately greatly.
    regards
    Unsatisfied Skype Customer

  • Filtering Midi from All to one specific channel

    Hi!
    I have a midi device that sends midi to all midi channels without any possibility to change this setting on the device, and there is no software or driver to it either. I want to make the midi end up in one specific channel only.
    I'm running a system with three different USB-midi devices so a global setting wouldn't work. Logic recognizes all devices separately, so there should be some way to transform all midi-messeges from just this device to one channel, but my question is: how do i do that?
    Logic X (10.0.4)
    Mac OSX 10.8.5
    Thanks!
    /Joel

    This is a bit embarrassing, but i just found that my device does not at all send to all midi channels, but just to nr 10. So I guess i don't really have a problem anymore... The questing remains unaswered, how ever.
    /Joel

  • Two entries found in TFS DB for one user, how do I know which one to remvoe?

    We had issue with an account that TFS reported to there are multiple users with the same display name. I searched the database and found two entries with the same 'displayname'.
    First weird thing is that the account names are only different in some letters with or without capital (exactly "SIvakhno" and "sivakhno"), I thought TFS (and Microsoft) is not capital sensitive, right? Why does it consider the two accounts
    are different?
    My next question is, if I want to remove one to solve the 'multiple user' issue, which entry should I remove from the database? They have different 'Sid', 'Id', 'AccountName' (as above), 'UniqueUserId' (1 and 0, respectively), 'LastSync', 'SequenceId', all
    the other fileds are the same in the table.
    Thanks

    Hi Peter, 
    Thanks for your reply.
    There’s two users existing in your TFS Server databases, one is Slvakhno and another one is sivakhno, and they have different SID and Login name in your TFS database, right?
    What’s the login names of these two users, which one’s Login name is D_Name\sivakhno2, and which one’s Login name is D_Name\sivakhno?
    TFS recognize the user using SID value, every user has the unique SID value in AD although they may have the same display name. If the Slvakhno and slvakhno users have different SID value in TFS database, TFS will think they two different users. But you
    received the same SID value for the Slvakhno and slvakhno users after executed the tfssecurity /imx command line, that’s an issue in this scenario, please use these two users’ login name value in the tfssecurity /imx command line, then check the SID result
    again.
    You said it shows the same display name for D_Name\sivakhno2 and D_Name\sivakhno users after execute the tfssecurity /imx command line, which same display name shows in result? 
    According the D_Name\sivakhno2 False   False result, TFS Server think this D_Name\sivakhno2 is not available, please check this D_Name\sivakhno2 user in your AD, ensure it’s available and check its SID value, compare it with value
    in database.  
    For the change user’s display name will affect other AD groups issue, please contact AD experts for the better response.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • IO - Read two image files and put them into one file

    Hi,
    i have 3 files in all. The two image files and one text file. I need to place the image in the first image file, followed by text in the text file and then the image in the second image file, into one file.
    Can anyone tell me how do i go about doing this ?
    i tried using fileinputstream and fileoutputstream, which works fine if all the 3 files have text but when the first and the third file have image, the code doesn't give any error but the result file displays only the image from the first file and nothing else.
    i am running short of time and need to do this really soon.
    if anyone has done anything like this. please let me know,
    thanx,
    poonam

    One approach would be to programmatcally create a single zip/jar file from the three input files. You can use the java.util.zip and java.util.jar packages for this purpose.
    The other apprach would be to create a single image by drawing images and text strings on a BufferedImage object.
    I think the first approach is preferable because you can easily extract the individual files from the zip/jar file

  • How to search all files in folders/subfolders for one or more strings?

    I have a list of files (full path and file name) in Column D of my worksheet.  I'm trying to figure out how to run some code to open each file in this array (starting on D14 and going down), search for one or more strings, and then put an "X"
    in Column I, in the same row as the file name.
    How can I do that?
    I experimented with a few samples of code.  It seems pretty easy to do it in one folder, but not all sub folders.  The folder/subfolder is setup a specific way for a specific purpose.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    Below is an example that allow you to search a directory and its subdirs txt files(you can change this), read its lines and search for specific word:
    using System;
    using System.IO;
    using System.Linq;
    class Program
    static void Main(string[] args)
    try
    var files = from file in Directory.EnumerateFiles(@"c:\", "*.txt", SearchOption.AllDirectories)
    from line in File.ReadLines(file)
    where line.Contains("Microsoft")
    select new
    File = file,
    Line = line
    foreach (var f in files)
    Console.WriteLine("{0}\t{1}", f.File, f.Line);
    Console.WriteLine("{0} files found.", files.Count().ToString());
    catch (UnauthorizedAccessException UAEx)
    Console.WriteLine(UAEx.Message);
    catch (PathTooLongException PathEx)
    Console.WriteLine(PathEx.Message);
    https://msdn.microsoft.com/en-us/library/dd997370%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
    Fouad Roumieh

  • Two printers need to be maintained for one key combination

    Hi Experts,
    Requirement:-For one condition record two print out has to be determined on different printers.
    As per my understanding we can maintain only one printer for any key combination here as per the requirement if some one has any idea if we can maintain two printers for the same key combination.
    Regards,
    Dharmesh

    Hi,
    You cannot  assign two printers to one single combination of Condition record.
    This functionality is not possible.
    regards,
    santosh

  • Adobe 9 standard printing two sheets per page but set for one - win7 pro

    I have a copy of Adobe 9 Standard on a Windows 7 64 bit OS. Printing from this product results in a "booklet" style output with two pages per sheet. All options are set for one page for sheet both in Adobe products and in the printer prefs. Has anyone seen this before or have any clue as to where I should look for what I am missing?
    Thanks.

    Are you using the Adobe PDF printer or PDF Maker. The settings for these two methods are set in different places and that may be the issue.

  • Receiver file adapter posts multiples for singel source files

    Hi,
    I am using wild character in my input source ftp adapter but my receiver file adapter is creating multiple duplicate files. I am not sure why this happens as QOS is set to "Exactly Once" with archive processing mode. I tried with delete mode and the same error occurs. We had no problems testing it in our Dev environment but in QA its acting so strangely...Any advise is appreciated..
    -Teresa

    Hi,
    2. Homany files you posted at oubound directory?
    1.             You said duplicate files at receiver side, is the files having time stamp? if so those are not duplicate files.
    Thanks,
    Satish.

  • How to specify for JVM the stack for ONE specific thread that invokes JNI

    Hello all!
    I'm 2 days now looking for a solution in several forums but even in Sun Java Forums nobody was able to come up with a solution. If you know a better forum to place it, please let me know.
    Description:
    I have an application that launches several threads of different types. One of them is quite specific and run a critical JNI C++ process. The remaining ones are just for controling of other stuff... When I call the application by the command line
    java -classpath ... -Xss20m -Djava.library.path ... pack.subpack.myApp
    the application usually crashes: My computer has 256MB RAM of memory that vanish in seconds and causes an OutOfMemoryException
    Sometimes the application works properly, but sometimes the memory usage goes up fast until a general crash.
    What I believe that is going on:
    When we declare -Xss20m, I undestand that for each thread the JVM will attemp to allocate more 20MB, and if I have 10 threads, it goes up to 200MB and so on; however I'd like to have 20MB just for my critical process (that is called in one specific thread) and not for any thread.
    If I try to reduce -Xss parameter to, let's say 10MB, my C++ process overflow the JVM stack for the thread.
    So, does any body have know how to solve it? Please... I need experts help!
    Thanks a lot,
    Calegari

    There we go...
    I have this class:
    package calegari.automata;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2003</p>
    * <p>Company: </p>
    * @author Aur�lio Calegari
    * @version 1.0
    public class Native {
    * Parameters:
    * individuals --> All binary individual (AC rule)
    * indivLength --> number of infividuals
    * numEval --> number of RIs
    * generateUniform --> Uniform distribution of density
    * seed --> seed for current generation
    public native double[] AutomataIterator(int[][] individuals,
    int indvLength,
    int numEval,
    boolean generateUniform,
    long seed
    static {
    System.loadLibrary("Native");
    public Native() {
    Then, running
    javah -classpath ... calegari.automata.Native
    I'll get the following .h
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include "jni.h"
    /* Header for class calegari_automata_Native */
    #ifndef Includedcalegari_automata_Native
    #define Includedcalegari_automata_Native
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class: calegari_automata_Native
    * Method: AutomataIterator
    * Signature: ([[IIIZJ)[D
    JNIEXPORT jdoubleArray JNICALL
    Java_calegari_automata_Native_AutomataIterator___3_3IIIZJ
    (JNIEnv *, jobject, jobjectArray, jint, jint, jboolean, jlong);
    #ifdef __cplusplus
    #endif
    #endif
    Next, I built my cpp file which is right bellow
    #include <stdio.h>
    #include <stdlib.h>
    #include <conio.h>
    #include "jni.h"
    #include "calegari_automata_Native.h"
    #include "util.h"
    double IndividualEvaluator(long rule[], int automataCells[][149], int numInit1s[],
    int numOfACs, int numEvaluations);
    char getNext(char simb);
    JNIEXPORT jdoubleArray JNICALL
    Java_calegari_automata_Native_AutomataIterator___3_3IIIZJ
    (JNIEnv *env, jobject jobj, jobjectArray indiv, jint length, jint numEval,
         jboolean isUniform, jlong seed)
    printf("Native JVM call for C++ critical block: Started \a[-]");
    int ACs[10000][149]; //Will be filled with 100000 Initial states of a cellular automata
    int numIndiv = length;
    int numOfACs = numEval;
    //Dencity of each Initial state of cellular automata
    int num1sRIs[10000];
    //response
    double resp[1000];
    //set seed
    srand((unsigned int) seed);
    //generate Cellular automata states
    //Uniform generation
    if(isUniform)
    for(int i=0;i<numEval;i++)
    int num1s;
    num1s=0;
    for(int j=0;j<149;j++)
    ACs[i][j] = ((rand()%numEval)<i+1?0:1);
    if(ACs[i][j]==1) num1s++;
    num1sRIs[i] = num1s;
    printf(" %d ",num1s);
    else //not uniform generation
    for(int i=0;i<numEval;i++)
    int num1s;
    num1s=0;
    for(int j=0;j<149;j++)
    ACs[i][j] = rand()%2;
    if(ACs[i][j]==1) num1s++;
    num1sRIs[i] = num1s;
    //load individuals and start the critical method
    char simb = '-';
    for(int i=0;i<numIndiv;i++)
    jintArray oneDim = (jintArray) env->GetObjectArrayElement(indiv, i);
    jint *indiv=env->GetIntArrayElements(oneDim, 0);
    simb = getNext(simb);
    printf("\b\b%c]",simb);
    resp[i] = IndividualEvaluator(indiv,ACs,num1sRIs,numOfACs,300);
    jdoubleArray retApts;
    retApts = env->NewDoubleArray(numIndiv);
    env->SetDoubleArrayRegion((jdoubleArray)retApts,(jsize)0,numIndiv,(jdouble *)resp);
    printf("\nReturning to Java plataform: Completed\a\a\n");
    return retApts;
    char getNext(char simb)
    if(simb=='-') simb = '\\';
    else if(simb=='\\') simb = '|';
    else if(simb=='|') simb = '/';
    else if(simb=='/') simb = '-';
    return simb;
    Then it works fine since we declare the size of the stack to JVM, however, if we don't... We get a crash!
    Any idea?
    Thanks

  • IIS Failed Request Tracing for one specific URI only

    Hey everyone,
    I tried setting up IIS Failed Request Tracing for one and only one specific URI to debug a problem that persists with this URI. The problem about filtering it is that it's a HTTP 200 response that contains an error message from a 3rd party solution in SharePoint.
    So I set up Tracing for the URI, say /mywebsite/3rdpartyapp/_vti_bin/client.svc/ProcessQuery. That's what I entered in the custom field in the first step of the Tracing wizard. I entered code 200 as the HTTP Response Code criterion.
    Now I get many, many Trace logs for /_vti_bin/client.svc/ntlm/ProcessQuery. But this is something I didn't even want to aim my telescope at.
    I understand that it's basically possible to use wildcards in the configuration, but I didn't use any. Also, entering something like 3rdpartyapp*ProcessQuery resulted in getting many ntlm/ProcessQuery logs.
    Thus I guess that the URI filter criterion is not handled as I expect it to work.
    Can anyone tell me how IIS handles this exactly? Is only the last part of the expression ("ProcessQuery") actually evaluated or something like that?
    System: Windows SBS 2011 with IIS 7.5
    Kind regards
    Nico

    Hello,
    IIS related questions please ask in http://forums.iis.net/
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

Maybe you are looking for