Overview
Telnet Transport can execute shell command via Telnet.
you can download Jars here. (snapshot is here)
Requirement
Mule ESB: version 2.2.1 or later.
(not supported verson : 3.x, 2.1.x and 1.x)
Java : JDK 1.5 or later.
Dependencies
commons-net (including Mule ESB 2.2.x)
Sample Code
You can get in svn repository.
License
Telnet Transport is published under the terms of the CPAL v1.0 license.
please see CPAL.
Getting Source Codes
please see Source.
How to build
- get Telnet Transport source codes from svn repository.
- run "mvn package"
Configuration Referance
Connector
| Attribute Name | description | default value | required? |
|---|---|---|---|
| Host | host name or ip address | yes | |
| port | port number | 23 | no |
| loginId | login id | yes | |
| password | login password | no | |
| defaultTimeout | 30000 | no | |
| exitStatusCommand | (if you want to connect to Windows, please set this prop to "echo %ERRORLEVEL%") | echo $? | no |
Outbound Endpoint
| Attribute Name | description | default value | required? |
|---|---|---|---|
| telnet | configure "SEND" string (fixed value) | yes | |
| useSudo | false | no | |
| sudoPassword | no | ||
| encoding | remote server's encoding. (e.g. UTF-8, SJIS, EUC-JP, CP943, ISO-2022-JP) | UTF-8 | no |
| responseTimeout | 10000 | no | |
| waitTime | wait time before reading command result. | 2000 | no |
Link
With our library of Cloud Connectors and repeatable integration solutions, you can rapidly create connectivity either on premise or in the cloud.
Project Owner:
Mark Griffin & Nozomu Shibazaki
Contact:
merv@mulesource.com
Documentation:
#