Re:sending an acknowledge from TCP channel
Was this issue resolved? I'm having problems sending a custom ACK to a TCP listener as well and would be interested in knowing how others are handling this.
Thanks.
Jonah
Announcement
Collapse
Mirth Connect 4.1.0 Released!
Mirth Connect 4.1.0 is now available as an appliance update and on our GitHub page. Mirth Connect 4.1.0 includes new features such as new event log messages, additional fields to the Welcome to Mirth Connect screen, new information included in alerts as well as many smaller changes, updates, and improvements. This release also contains several improvements to commercial extensions. See the release notes for the list of fixes and updates.
Download | See What's New | Upgrade Guide | Release Notes
For discussion on this release, see this thread.
Download | See What's New | Upgrade Guide | Release Notes
For discussion on this release, see this thread.
See more
See less
sending an acknowledge from TCP channel
Collapse
X
-
Re:sending an acknowledge from TCP channel
Richer,
can post the code you are using? I have the same issue.
Thanks
kew98
Leave a comment:
-
Re:sending an acknowledge from TCP channel
Richer,
can post the code you are using? I have the same issue.
Thanks
kew98
Leave a comment:
-
Re:sending an acknowledge from TCP channel
In this case you want to use the PostProcessor - do something like this:
Code:responseMap.put("Destination 1", ResponseFactory.getSuccessResponse('OK'))
Next in the TCP Listener, choose "Destination 1" in the "Respond From" dropdown.
Leave a comment:
-
Re:sending an acknowledge from TCP channel
Hi,
after changing from LLP sender to TCP sender I received same msg in mirth.log:
INFO 2008-02-04 15:21:30,000 [95e71d8b-1e6a-4617-8681-4b5d03afa59c_source_connector._tcpEndpoint#-333898752.receiver.3] preprocessor: OK
At this point, is possible that those responses only appear in logs and is not published through the channel?. I'm reading logs from receiving channel and it doesn't appear any trace of "OK"
Any hints?
Ricard Bernat
Leave a comment:
-
Re:sending an acknowledge from TCP channel
HI,
after a lot of time debugging I found this line in mirth.log:
INFO 2008-02-04 12:26:59,562 [95e71d8b-1e6a-4617-8681-4b5d03afa59c_source_connector._tcpEndpoint#-1268526904.receiver.3] preprocessor: 0OK00
It seems that response is sent to preprocessor step used for transforming fixed length string to an XML message and not to the client. As you can see "OK" string is logged but I never pretend that. I think that preprocessing and "acknowledgeing" are executed at different times.
Any clues?,
Ricard Bernat
Post edited by: ricber, at: 02/04/2008 05:30
Leave a comment:
-
sending an acknowledge from TCP channel
Hi,
I'm trying to receive messages from an AS/400 machine via socket. This system is waiting for an "OK" string after sending me the message. I created two channels, one for message receiving, and another only for sending the "OK" string. I deployed both channels but unfortunately source system ever responds "KO" because it doesn't received my previous OK and it sends same message again.
At this point, two questions: anyone could tell me if this system could work? (remember that I must receive messages and send the responses on the same port, 11008). On the other side, anyone could address me to any tool for test my system? I tried to use HL7 Inspector without success, it must be something much more simpler.
Thanks for your help,
Ricard BernatTags: None
Leave a comment: