@UriParams public class Jt400Configuration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Jt400Configuration.Format
Enumeration of supported data formats
|
static class |
Jt400Configuration.SearchType
SearchTypes for reading from Keyed Data Queues
|
| Constructor and Description |
|---|
Jt400Configuration(String endpointUri,
com.ibm.as400.access.AS400ConnectionPool connectionPool) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCcsid() |
com.ibm.as400.access.AS400 |
getConnection()
Obtains an
AS400 object that connects to this endpoint. |
int |
getCssid()
Returns the CCSID to use for the connection with the AS/400 system.
|
Jt400Configuration.Format |
getFormat()
Returns the data format for sending messages.
|
String |
getObjectPath()
Returns the fully qualified integrated file system path name of the
target object of this endpoint.
|
Integer[] |
getOutputFieldsIdxArray() |
Integer[] |
getOutputFieldsLengthArray() |
String |
getPassword()
Returns the password of the AS/400 user.
|
String |
getSearchKey() |
Jt400Configuration.SearchType |
getSearchType() |
String |
getSystemName()
Returns the name of the AS/400 system.
|
Jt400Type |
getType() |
String |
getUserID()
Returns the ID of the AS/400 user.
|
boolean |
isGuiAvailable()
Returns whether AS/400 prompting is enabled in the environment running
Camel.
|
boolean |
isKeyed() |
void |
releaseConnection(com.ibm.as400.access.AS400 connection)
Releases a previously obtained
AS400 object from use. |
void |
setCcsid(int ccsid)
Sets the CCSID to use for the connection with the AS/400 system.
|
void |
setFieldsLength(String fieldsLength) |
void |
setFormat(Jt400Configuration.Format format)
Sets the data format for sending messages.
|
void |
setGuiAvailable(boolean guiAvailable)
Sets whether AS/400 prompting is enabled in the environment running
Camel.
|
void |
setKeyed(boolean keyed) |
void |
setObjectPath(String objectPath) |
void |
setOutputFieldsIdx(String outputFieldsIdx) |
void |
setOutputFieldsIdxArray(Integer[] outputFieldsIdxArray) |
void |
setOutputFieldsLengthArray(Integer[] outputFieldsLengthArray) |
void |
setPassword(String password) |
void |
setSearchKey(String searchKey) |
void |
setSearchType(Jt400Configuration.SearchType searchType) |
void |
setSystemName(String systemName) |
void |
setType(Jt400Type type) |
void |
setUserID(String userID) |
public Jt400Configuration(String endpointUri, com.ibm.as400.access.AS400ConnectionPool connectionPool) throws URISyntaxException
URISyntaxExceptionpublic Jt400Type getType()
public void setType(Jt400Type type)
public String getSystemName()
public void setSystemName(String systemName)
public String getUserID()
public void setUserID(String userID)
public String getPassword()
public void setPassword(String password)
public String getObjectPath()
public void setObjectPath(String objectPath)
public int getCssid()
public void setCcsid(int ccsid)
ccsid - the CCSID to use for the connection with the AS/400 systempublic Jt400Configuration.Format getFormat()
public void setFormat(Jt400Configuration.Format format)
format - the data format for sending messagesIllegalArgumentException - if format is nullpublic boolean isGuiAvailable()
public void setGuiAvailable(boolean guiAvailable)
guiAvailable - whether AS/400 prompting is enabled in the
environment running Camelpublic int getCcsid()
public boolean isKeyed()
public void setKeyed(boolean keyed)
public String getSearchKey()
public void setSearchKey(String searchKey)
public Jt400Configuration.SearchType getSearchType()
public void setSearchType(Jt400Configuration.SearchType searchType)
public Integer[] getOutputFieldsIdxArray()
public void setOutputFieldsIdxArray(Integer[] outputFieldsIdxArray)
public Integer[] getOutputFieldsLengthArray()
public void setOutputFieldsLengthArray(Integer[] outputFieldsLengthArray)
public void setOutputFieldsIdx(String outputFieldsIdx)
public void setFieldsLength(String fieldsLength)
public com.ibm.as400.access.AS400 getConnection()
AS400 object that connects to this endpoint. Since
these objects represent limited resources, clients have the
responsibility of releasing them when
done.AS400 object that connects to this endpointpublic void releaseConnection(com.ibm.as400.access.AS400 connection)
AS400 object from use.connection - a previously obtained AS400 object to releaseApache Camel