|
From: Ross Y. <ros...@em...> - 2019-02-21 00:42:31
|
Here is what I do:
initiator.start();
List<Session> sessions = initiator.getManagedSessions();
session = sessions.get(0);
private void logMessage(Message message) {
String str = message.toXML(session.getDataDictionary());
String s = "<!\\[CDATA\\[";
str = str.replaceAll(s, "");
str = str.replaceAll("]]>", "");
str = str.replaceAll("<he", " <he");
str = str.replaceAll("</he", " </he");
str = str.replaceAll("<bo", " <bo");
str = str.replaceAll("</bo", " </bo");
str = str.replaceAll("<tr", " <tr");
str = str.replaceAll("</tr", " </tr");
str = str.replaceAll("<fi", " <fi");
log.info(str);
}
> On Feb 20, 2019, at 3:01 PM, Andrew Munn <an...@nm...> wrote:
>
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
> Is there any example Java code that will pretty print a QFJ Message
> including all nested repeating groups, according to a provided
> DataDictionary?
>
>
> _______________________________________________
> Quickfixj-users mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
--
NOTICE: This communication may contain information that is privileged or
confidential. It may be read and used solely by the intended recipient(s),
and any review, use or distribution by others is STRICTLY PROHIBITED. If
you are not the intended recipient, you are prohibited from disclosing,
copying, distributing or using any of this information. If you received
this communication in error, please contact the sender immediately and
destroy the material in its entirety, whether electronic or hard copy. No
assurance is given that this e-mail or any attachments are free of viruses
or other harmful code.
|