Why do we have ChannelAdaptor alongside ISOChannel?

42 views
Skip to first unread message

Artemidoros Euthymius

unread,
Apr 23, 2024, 4:55:16 AMApr 23
to jPOS Users
We have org.jpos.iso.ISOChannel that handles low-level communication via TCP, but we also have org.jpos.q2.iso.ChannelAdaptor. I was not able to discern the need for a ChannelAdaptor from official documentation, which presupposes I'm somehow familiar with the jPOS. Java doc for ChannelAdaptor doesn't have any description.

I'm learning jPOS for the purpose of obtaining job position that uses jPOS framework, so I'm in the learning phase. Have this in mind when replying :)

Mark Salter

unread,
Apr 23, 2024, 9:29:11 AMApr 23
to jpos-...@googlegroups.com

Did you see chapter 8.1 of http://jpos.org/doc/proguide-draft.pdf

It shows the ChannelAdaptor providing a  Space based interface into and out of the underlying ISOChannel it wraps.

The Space and its queues are also described and if chosen to be used allows code to write to the channel just by placing an ISOMsg object onto its 'in' queue without caring g about the underlying ISOChannel.

-- 
Mark

Sent from Proton Mail Android



-------- Original Message --------

On 23/04/2024 11:55, Artemidoros Euthymius wrote:
We have org.jpos.iso.ISOChannel that handles low-level communication via TCP, but we also have org.jpos.q2.iso.ChannelAdaptor. I was not able to discern the need for a ChannelAdaptor from official documentation, which presupposes I'm somehow familiar with the jPOS. Java doc for ChannelAdaptor doesn't have any description.

I'm learning jPOS for the purpose of obtaining job position that uses jPOS framework, so I'm in the learning phase. Have this in mind when replying :)

--
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/f5077474-6a3b-4a29-97b7-c1850b49d679n%40googlegroups.com.
signature.asc

Mark Salter

unread,
Apr 23, 2024, 12:37:28 PMApr 23
to jpos-...@googlegroups.com


Please do not reply directly to me.

I have responded this time to share not to, but any further direct messages will be ignored.

The group has a population of 2500+ people, that might help and in fact benefit from the shared exchanges.

--
Mark

Sent from Proton Mail Android



-------- Original Message --------
On 23/04/2024 17:13, Artemidoros Euthymius wrote:
In the meanintime, I learned about Tuple spaces, including JavaSpaces, and that org.jpos.space package is implementation of it. Is it correct to summarize that org.jpos.q2.iso.ChannelAdaptor just adds tuple spaces around org.jpos.iso.ISOChannel? ISOChannels already had input and output, otherwise they wouldn't be able to communicate with the rest of jPOS.
signature.asc

Artemidoros Euthymius

unread,
Apr 24, 2024, 3:35:32 AMApr 24
to jPOS Users
Sorry about that. I'm using Google Groups for the first time. I thought "Reply to User" is akin to quoting someone on bulletin boards and replying, where the discussion remains visible on the thread.

Artemidoros Euthymius

unread,
Apr 24, 2024, 3:37:02 AMApr 24
to jPOS Users
I will paste here my reply to Mark:

In the meanintime, I learned about Tuple spaces, including JavaSpaces, and that org.jpos.space package is implementation of it. Is it correct to summarize that org.jpos.q2.iso.ChannelAdaptor just adds tuple spaces around org.jpos.iso.ISOChannel? ISOChannel already had input and output, otherwise they wouldn't be able to communicate with the rest of jPOS.

Alejandro Revilla

unread,
Apr 24, 2024, 6:48:29 AMApr 24
to jpos-...@googlegroups.com
That is correct. Glad you’ve found those projects, all inspired by the Linda Coordination Language, albeit ours is just a poor man implementation of it.


Reply all
Reply to author
Forward
0 new messages