Using tcl to put message on pending queue for resend

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Using tcl to put message on pending queue for resend

  • Creator
    Topic
  • #49713
    paul sorya
    Participant

    Hello,

    While disposition ERROR puts message in the Failed queue. What is the disposition to be used to put the message back to the Pending queue for the reprocessing?

    Thanks,

    Paul Sorya

    Systems Analyst

    Medical Center of University of Montreal

    Montreal, Quebec

    Canada

Viewing 3 reply threads
  • Author
    Replies
    • #63239
      Tom Rioux
      Participant

      Have you tried “CONTINUE”?

    • #63240
      paul sorya
      Participant

      Hi Thomas,

      Actually my outbound thread is a dummy thread (protocol File /dev/null), in wich I place a tcl proc in “TPS outbound  data”. This tcl proc uses oratcl to file the message contents to the Oracle data base. When the filing to Oracle table is OK, I “CONTINUE” the message (to /dev/null).

      Since my outbound Thread uses protocol File  and output the messages  to /dev/null. Therefore, when the filing (by oratcl) went wrong, I cannot “CONTINUE” the message because if I do so the message will be lost forever.

      Any other suggestions will be deeply appreciated.

      Thanks,

      Paul Sorya

    • #63241
      Rob Abbott
      Keymaster

      From OB TPS, try the SEND disposition.

      Rob Abbott
      Cloverleaf Emeritus

    • #63242
      paul sorya
      Participant

      Hi Rob,

      It works superbly with SEND. In my case, SEND does exactly what I would like it to do, i.e. after the “set err [catch {..orabind…} errMsg]” returns an error, “SEND $mh” puts the message in the Recovery database and QDX keeps trying to process the same message over and over again until my orabind problem is fixed.

      Thank You very much!

      Paul Sorya

      Systems Analyst

      Medical Center of University of Montreal

      Montreal, Quebec

      Canada

Viewing 3 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,126
Forums
28
Topics
9,296
Replies
34,439
Topic Tags
287
Empty Topic Tags
10