Customer Portal

How to pass set of records between two graphs

Comments 3

  • Avatar
    admin
    0
    Comment actions Permalink
    Hi varkashy,

    2 options came to my mind:

    1] Use files as you suggested; but instead of flat files use CloverDataReader/CloverDataWriter which should provide better performance and safer passing of data (Clover file is binary, not textual).

    2] Use JMSReader/JMSWriter to pass records via JMS.

    I hope this helps.
  • Avatar
    varkashy
    0
    Comment actions Permalink
    Hi

    Thanks for the inputs. Both sound interesting way for me.
    For JMS way , could you elaborate? I need to open a listener for that , how does it work ?
  • Avatar
    admin
    0
    Comment actions Permalink
    Hi varkashy,

    for the JMS approach: you just need to create JMS queue somewere. There is plenty of options - you can create it on application server (Tomcat, WebLogic, ...), you can have standalone JMS server (ActiveMQ), you can build simple Java app providing one, ...

    Once JMS queue is defined you can write to it via JMSWriter and read from it via JMSReader. There is plenty of possible transport options - you can connect to queue in same JVM, JVM on local computer, remote computer, ... see http://activemq.apache.org/activemq-4-c ... -uris.html

Please sign in to leave a comment.