Hi,
In the JPos Guide I have read The "name" channel attribute is used to
register this channel in the NameRegistrar and the "name" attribute is
required. I have the next file with a channel definition
<server name="ICX" class="org.jpos.q2.iso.QServer" logger="Q2">
<attr name="port" type="java.lang.Integer">8000</attr>
<channel name="server-channel"
class="org.jpos.iso.channel.ASCIIChannel"
packager="org.jpos.iso.packager.GenericPackager"
logger="Q2"
header="00000000000000000000000000000000">
<property name="packager-config" value="cfg/packager/siopack.xml"/>
</channel>
<request-listener class="com.ca.icxProcesador.Procesador"
logger="Q2">
<property name="timeOut" value="20000" />
</request-listener>
</server>
I believed NameRegistrar registered channel using its "name" attribute
but now I don`t think so. I have looked up the different keys in
NameRegistrar and the "name" attribute isn´t it.
If I remove the "name" attribute the server works ok, never is thrown
a Exception. So, is the "name" attribute required? Really, Is "name"
attribute used to register this channel in the NameRegistrar?
Explicitly, do I need to call the setName(String name) method?
Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "jPOS Users" group.
Please see
http://jpos.org/wiki/JPOS_Mailing_List_Readme_firstTo post to this group, send email to
jpos-users@...
To unsubscribe, send email to
jpos-users+unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/jpos-users-~----------~----~----~----~------~----~------~--~---