Announcement

Collapse
No announcement yet.

Rotate Queue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rotate Queue

    We have the setting under "Advanced Queue Settings"\"Rotate Queue" selected.

    but I noticed the behavior is that it rotates msgs in the queue on TCP errors and no connectivity errors.

    Is there anyway to stop this behavior ?
    I only want the queue to rotate on Mal-Formed msgs or msgs that are NAK'ed.

    Thanks

  • #2
    You can override that in the response transformer. Set the "responseStatus" variable to ERROR to force-error a message out, or SENT to force a message to the SENT status. Then it will not re-queue. Look in the Reference tab (category Response Transformer) for more info.
    Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

    Nicholas Rupley
    Work: 949-237-6069
    Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


    - How do I foo?
    - You just bar.

    Comment


    • #3
      Is "response transformer" = "Edit Response", don't see the exact former.

      Can I get a couple example lines ?

      Thank you.

      Comment


      • #4
        Hello,

        just type:

        responseStatus=ERROR; or responseStatus=SENT;

        in the Response Transformer -> Javascript type

        Best Regards
        Best Regards,
        Alex Neiva

        Comment


        • #5
          is there any list of all the "responseStatus" values ?

          Comment


          • #6
            Originally posted by sid1 View Post
            is there any list of all the "responseStatus" values ?
            Yes, that information is in the User Guide. You can set the response status to SENT, QUEUED, or ERROR.
            Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

            Nicholas Rupley
            Work: 949-237-6069
            Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


            - How do I foo?
            - You just bar.

            Comment

            Working...
            X