Customer Portal

Clover Graph as Service? Or always running

Comments 2

  • Avatar
    dpavlis
    0
    Comment actions Permalink
    Hi,

    currently, there is no such way.. It is theoretically small problem and we plan to implement (actually working on it) continuos run.

    The run of graph is driven by readers - or more precisely as long as readers don't send EOF (all of them) the graph continues to run.

    In case of JMS reader, it is a small change - currently, it processes all messages in queue or specified number of messages or waits up to specified amount of time to process data.

    So, you can either set the "timeout" parameter of it to something high and when the graph stops, just immediately re-execute it or modify the component such a way that it just keeps running till you shut the graph down (can be done through JMX cleanly or just brute-force ctrl+c).

    You can find complete description of JMSReader parameters on http://wiki.clovergui.net/doku.php?id=c ... #jmsreader
  • Avatar
    mvarecha
    0
    Comment actions Permalink
    Hi,

    there is the way to run graph with JMSReader in this mode even in current version.
    There are two attributes which constraint running of JMS reader.

      maxMsgCount
      timeout

    Set both these attributes to 0 and JMSReader node will never stop.

    regards
    mv

Please sign in to leave a comment.