After creating a ClassMethod for a routing rule is it possible to test an HL7 message within Studio rather than using Management portal? It would make it easier to debug the custom function to see where the rule is failing.
Why not create a TCP listener Service and link the message to your rule?
Using a tool to send HL7 message you can debug your rule. (https://sourceforge.net/projects/hl7inspector/)
I use to use HL7 Inspector to send message and I've debugged my code by this way.
There is not a direct way to test your code in Studio.