Message missing the first 4 digits using hexchannel

Skip to first unread message

Rifqi Al Ghazali

Jan 20, 2023, 3:26:20 AM1/20/23
to jPOS Users
Hi All,

I'm send message  using hexchannel, before send message I'm print raw looks ok and see from log message ok.
But on simulator read message missing the first 4 digit. 

Is there any configuration missing?

* my channel config

<channel-adaptor name="xxx-channel" class="org.jpos.q2.iso.ChannelAdaptor" logger="Q2-xxx-logger">
    <channel class="" logger="Q2-matrix-logger" packager= "org.jpos.iso.packager.GenericPackager" >
        <property name="host" value="" />
        <property name="port" value="xxx" />
        <property name="timeout" value="300000" />
        <property name="keep-alive" value="true" />
        <property name="packager-config" value="xxx" />
        <property name="packager-logger" value="Q2-xxx-logger" />
        <property name="packager-realm" value="Q2-xxx-channel" />

* Raw message 

* Simulator receive

Thanks and regards,

Mark Salter

Jan 20, 2023, 3:32:41 AM1/20/23
What format of message length is the Simulatore expecting to be present?

The Channel you select has to satisfy it's expectation. If the expected length is not present or is incorrectly formatted then the Simulator will try but get odd results.

Here it seems that the first two bytes of the MTI have been taken as a length or perhaps a message header (missing, so the MTI has been absorbed).

Check your Simulator network parsing needs and match it to the message (or vice versa).


Sent from Proton Mail mobile

-------- Original Message --------
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact:
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Alejandro Revilla

Jan 20, 2023, 7:24:23 AM1/20/23
Reply all
Reply to author
0 new messages