ULTRAESB - Poll a directory for a file with a specific pattern and upload it with an authenticated HTTP PUT

<u:proxy id="file-proxy">
    <u:transport id="file">
        <u:property name="url" value="file:///hunt/pixmania/orders/incoming"/>
        <u:property name="fileNamePattern" value=".*\.pxml"/>
        <u:property name="startDelay" value="1000"/>
        <u:property name="repeatInterval" value="1000"/>
        <!--<u:property name="concurrent" value="true"/>-->
        <!--<u:property name="cronExpression" value="0 * * ? * MON-FRI"/>-->
        <u:property name="moveAfterProcess" value="/hunt/pixmania/orders/processed"/>
        <u:property name="moveAfterFailure" value="/hunt/pixmania/orders/failed"/>
        <u:property name="moveTimestampFormat" value="yyyy_MM_dd_'T'HH_mm_ss.SSSSZ"/>
                String fileName = msg.getFirstTransportHeader("FileName");
                System.out.println("Got file : " + fileName);
                mediation.addPreemptiveBasicAuthentication(msg, "trevor", "password");
                msg.addMessageProperty("HTTP_METHOD", "PUT");


  1. In the beginning, I would like to thank you much about this great post. Its very useful and helpful for anyone looking for tips. I like your writing style and I hope you will keep doing this good working.
    Ethical Hacking Course in Chennai
    Certified Ethical Hacking Course in Chennai
    PHP Training in Chennai
    ccna Training in Chennai
    Web Designing Course in Chennai
    ethical hacking course in chennai
    hacking course in chennai

  2. Thanks for sharing this valuable information to our vision. You have posted a worthy blog keep sharing.

    Article submission sites

  3. top ca institutes in chennai

    A Professional Coaching Institute, founded with the vision of Creating Quality Chartered Accountants, has been a stepping stone to the success of Aspiring Students.

  4. hadoop interview questions and answers

    Cracking Hadoop interview will be easy with 101 Hadoop Interview Questions with Answers. Hope this will gain you with more knowledge!
    hadoop interview questions and answers for experienced

  5. java interview questions and answers for experienced

    Are you a fresher who wants to crack the Java Interview Questions and Answers? Here we offer you some of the major Core Java Interview Questions for Freshers.
    java interview questions for experienced


Post a Comment

Popular posts from this blog

ActiveMQ, easy to use open source message oriented middleware (MOM)

Basic Send Message to MQ with Java and IBM MQ JMS

Apache Apollo