|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.soap.server.SMTP2HTTPBridge
public class SMTP2HTTPBridge
This class can be used as a bridge to relay SOAP messages received via email to an HTTP SOAP listener. This is basically a polling POP3 client that keeps looking for new messages to work on. When it gets one, it forwards it to a SOAP HTTP listener and forwards the response via SMTP to the original requestor (to either the ReplyTo: or From: address).
| Constructor Summary | |
|---|---|
SMTP2HTTPBridge(long pollDelayMillis,
java.lang.String popServer,
java.lang.String popLoginName,
java.lang.String password,
java.net.URL httpURL,
java.lang.String smtpServer)
Constructor: creates a bridge. |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
void |
run()
Poll for messages forever. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SMTP2HTTPBridge(long pollDelayMillis,
java.lang.String popServer,
java.lang.String popLoginName,
java.lang.String password,
java.net.URL httpURL,
java.lang.String smtpServer)
pollDelayMillis - number of milli-seconds to sleep b'ween pollspopServer - hostname of POP3 serverpopLoginName - login IDpassword - password for loginsmtpServer - hostname of SMTP server| Method Detail |
|---|
public void run()
run in interface java.lang.Runnable
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||