web stats
Status from Queued to Sent, destination retry problem - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 11-19-2018, 04:59 AM
ysdemiryilmaz ysdemiryilmaz is offline
What's HL7?
 
Join Date: Nov 2018
Location: İzmir/TURKEY
Posts: 5
ysdemiryilmaz is on a distinguished road
Unhappy Status from Queued to Sent, destination retry problem

Hi,

I have a channel with two TCP Sender destinations and I filtered second destination according to first destination's status. (Wait previous destination box is clicked).

Let's say first destination is d1 and second dest. is d2;

When d1 successfully sent then d2 processing, ...OK
When d1 status is ERROR then d2 status become FILTERED, ...OK
WHEN d1 status is QUEUED then d2 status is FILTERED but after queued status, when d1 become SENT, d2 is never processing, d2 stays filtered. ...NOT OK

According to these situations,
I need to make d2 QUEUED if d1 is QUEUED.
or
how can I reprocess d2, after d1 status changed from QUEUED to SENT?

Thanks in advance, I really very appreciate for your helps/answers.
__________________
Yavuz Selim Demiryılmaz
Computer Engineer @imageRAD
Reply With Quote
  #2  
Old 11-20-2018, 12:58 AM
schillert schillert is offline
OBX.1 Kenobi
 
Join Date: Jul 2012
Posts: 29
schillert is on a distinguished road
Default

You could split your channel into 2 with 1 destination each.

The message would go to the first channel.

In its destination's response transformer you can check for SENT and only then use router.routeMessage to send the message to the second channel
Reply With Quote
  #3  
Old 11-20-2018, 03:57 AM
ysdemiryilmaz ysdemiryilmaz is offline
What's HL7?
 
Join Date: Nov 2018
Location: İzmir/TURKEY
Posts: 5
ysdemiryilmaz is on a distinguished road
Default

I wanted to make it in one channel but your idea is working very well

Thank you very much schillert
__________________
Yavuz Selim Demiryılmaz
Computer Engineer @imageRAD
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:37 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation