Is it possible to see the ACK in Visual TRACE page as like HL7 ACK message for custom TCP Operation

16 views
Skip to first unread message

Archunan K

unread,
Apr 20, 2018, 9:47:39 AM4/20/18
to InterSystems: Ensemble in Healthcare

Hi All,


I have created custom TCP service and custom TCP Operation in ensemble.

The custom TCP operation sending some data to Cutom TCP service and received ACK from TCP service.


My Custom TCP Opeartion :

Method OnMessage(pRequest As CUSTOM.RECORD, Output pResponse As Ens.StringContainer) As %Status
{
    Do ..Adapter.SendMessageString("Testing string",.pResponse)
    Set ^RESPONSE=pResponse
    Quit $$$OK
}



My Custom TCP Service :

Method OnProcessInput(pInput As Ens.StringContainer, Output pOutput As Ens.StringContainer) As %Status
{

    Set ^LOG($NOW())=pInput.StringValue
    set pOutput=##class(Ens.StringContainer).%New("ACKTEST123")
    Quit $$$OK
}


The response in global :
^RESPONSE = "ACKTEST123"



Here my query is, Is it possible to see the ACK in TRACE page i.e., Message viewer page as like HL7 ACK message.

Thats mean, i need to see "ACKTEST123" on visual trace page.


Please let me know if u need more informations.



Many Thanks,
Archunan K

David Blake

unread,
Apr 20, 2018, 10:51:52 AM4/20/18
to Ensemble-in...@googlegroups.com
Hi

Without having your production to look at and ‘all things being equal’,
In the settings for both the operation and service, you should see ‘archive io’ in the debug section. Check this box.

Now when you look at a trace for messages sent after this, you should see an extra column with blue arrows. Click this and the acks will be visible in the right hand detail pane.

Hope this helps

Dave

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare Community" group.
To post to this group, send email to Ensemble-in...@googlegroups.com
To unsubscribe from this group, send email to Ensemble-in-Healt...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
---
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Ensemble-in-Healt...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages