Class Connector
java.lang.Object
org.jpos.iso.Connector
- All Implemented Interfaces:
Configurable, ISORequestListener, LogSource
Connector implements ISORequestListener
and forward all incoming messages to a given
destination MUX, or Channel handling back responses
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected static ThreadPoolprotected int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
muxName
-
channelName
-
timeout
-
pool
-
-
Constructor Details
-
Connector
public Connector()
-
-
Method Details
-
setLogger
-
getRealm
-
getLogger
-
setConfiguration
Destination can be a Channel or a MUX. If Destination is a Channel then timeout applies (used on ISORequest to get a Response).- destination-mux
- destination-channel
- timeout
- poolsize
- Specified by:
setConfigurationin interfaceConfigurable- Parameters:
cfg- Configuration- Throws:
ConfigurationException
-
process
- Specified by:
processin interfaceISORequestListener- Parameters:
source- source where you optionally can replym- the unmatched request- Returns:
- true if request was handled by this listener
-