sessions property

105 views
Skip to first unread message

Naga Babu

unread,
Dec 20, 2012, 4:53:03 PM12/20/12
to jpos-...@googlegroups.com
Hi,

I have 2 questions

1. for the <property name="sessions" value="10" />, is this supported by ChannelAdaptor or do we need use MultiSessionChannelAdaptor

2. does session means connection

Regards
Naga

chhil

unread,
Dec 24, 2012, 8:58:44 AM12/24/12
to jpos-...@googlegroups.com

Looking at the ChannelAdaptor code there is no session property. Which implies that a single connection to the server.
MultiSession gives you the ability to have multiple connections (sessions) to the servers and the channels are picked in the round robin fashion.

I havent used multisession but instead used the muxpool with multiple channels. Havent looked into the differences of the 2.

-chhil

Alejandro Revilla

unread,
Dec 24, 2012, 10:14:13 AM12/24/12
to jpos-...@googlegroups.com

Looking at the ChannelAdaptor code there is no session property. Which implies that a single connection to the server.
MultiSession gives you the ability to have multiple connections (sessions) to the servers and the channels are picked in the round robin fashion.

At some point, once MultiSessionChannelAdaptor gets more feedback from field test, we'll probably backport its functionality to the ChannelAdaptor, after all, a ChannelAdaptor is basically a MultiSessionChannelAdaptor with sessions==1.
 
I havent used multisession but instead used the muxpool with multiple channels. Havent looked into the differences of the 2.

Main difference is MUXPool is more predictable and can have a 'strategy' (i.e. round-robin).
Reply all
Reply to author
Forward
0 new messages