Specify Packager by MTI

17 views
Skip to first unread message

Mumuney Abdlquadri

unread,
May 18, 2017, 10:02:15 AM5/18/17
to jpos-...@googlegroups.com
Dear all,

I know this sounds silly,

I searched for similar questions but could not find such.

But is it possible to specify packager by MTI.

For example,

Message 0800 use one packager,

Message 0200 use another packager.

Thanks.

Alejandro Revilla

unread,
May 18, 2017, 10:42:39 AM5/18/17
to jPOS Users
That can be done at the channel level, you can implement your own channel and override the getDynamicPackager method so depending on the MTI (that you can read from the binary image of the message) the channel can return a different packager.

It's a weird setup, I think we had that requirement just once and that was the solution we found, the getDynamicPackager thing in BaseChannel.

Hope it helps.



Mumuney Abdlquadri

unread,
May 18, 2017, 4:45:22 PM5/18/17
to jpos-...@googlegroups.com
Thanks Alejandro,

I will explore that option and get back.

Thanks.

--
--
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: sa...@jpos.org
---
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 jpos-users+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAAgSK%3DmPF5trhPLJXjw%3D2aQawXh4Ba9Vp7zxL2j4jEtSf-eBUQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages