For a channel configured to receive messages via TCP/IP socket, the "filename" that we log is the source IP address. Thus, you can use qie.getFileName() to display the source IP address, which can then be used in a condition node to route your messages.
In addition, we also have source.getRemoteIPAddress(), which is specifically designed for TCP/IP socket source. Both methods will return the IP address of the source.