When working with text-based EDI X12 Message payloads (such as http://examples.x12.org/) over straight TCP, over HTTP, or SOAP, or other transport protocols, does anyone have examples or words of wisdom around either:
1) using netty for simple transport protocol frame encoding (so TCP STX/ETX framing, HTTP framing) then forwarding the raw payload to another tool such as Smooks for parsing/marshalling. (if there are alternatives other than smooks, please share!)
2) or using Netty and a custom created codec to parse the sophisticated looping contents (segments, fields, components, etc).
It seems possible in either scenario, but looking for sufficient performance (1000 messages/sec), low latency (10ms or lower), low-latency markers such as minimal GC, and if you create a codec or parser/marshaller is it portable to other transport protocols/other (java) systems.
Part of the ignorance/confusion is codecs vs marshallers/parsers for the messages, particularly when the message could transport directly over TCP.
Thanks for any guidance!