ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Accessing the properties of an HL7 node in eSQL

Post new topic  Reply to topic
 Accessing the properties of an HL7 node in eSQL « View previous topic :: View next topic » 
Author Message
jrsetters
PostPosted: Tue Jul 31, 2012 6:28 am    Post subject: Accessing the properties of an HL7 node in eSQL Reply with quote

Acolyte

Joined: 24 Aug 2011
Posts: 72
Location: Cincinnati, OH

The GenericHL7Output node in the healthcare pack has three terminals:

1) Failure
2) Out
3) Retry

When a messages is successfully sent and an acknowledgment is received from the client, the Acknowledgment message is propagated to the Failure terminal. I am able to take this output and cast it along with some of its properties to a BLOB output that is sent to a text log file. This is our first source of verification for message connectivity.

When an ACK is propagated to this terminal it carries the TCPIP connectivity information as part of the LocalEnvironment variables and I am able to grab this and place it in my log file.

For instance: TIMESTAMP '2012-07-30 10:30:02.961398' ** ACK RECEIVED FROM 10.1.1.18:0731 - MSG 378346 **

Before the HL7 node I use a flow order to throw a copy of the original message into the same subflow that creates the timestamp so that every successful message has a sending timestamp followed by the original message, then an ACK timestamp followed by the text of the ACK.

This is great for a lot of support purposes.

However when the message fails through 1 of 2 scenario - the receiving port is not accessible, or the message times out waiting for the acknowledgement, the HL7 node propagates the message to either the OUT or RETRY terminals respectively. I am able to capture these in my Log sublfow and label my time stamp appropriately, but in neither case are the TCPIP properties from the HL7 node contained in the local variables. So in those cases I cannot specify the IP and Port it was attempting to send to.

I am wondering if there is some way to extract the configurable properties of the HL7 node when they aren't included automatically as local variables in the message flow. Ideally, I'd like to place the TCPIP address and Port number the node is sending to as text in each of the message send attempts. Basically the contents of the field 'Connection details' below:

[/img]
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jul 31, 2012 7:08 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Put three Trace nodes, each connected to a different terminal, with this pattern ${LocalEnvironment} ${Root}, then post each output in [c o d e] tags. There may be some info there which we can use.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Jul 31, 2012 7:14 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

See if the Generic HL7 output node will use a localEnviornment override for the node properties, then you can set the value you want in a User Defined Property, set it into the LE in your code, and track it that way.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Accessing the properties of an HL7 node in eSQL
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.