org.mule.providers.http
Class HttpClientMessageDispatcher

java.lang.Object
  extended byorg.mule.providers.AbstractMessageDispatcher
      extended byorg.mule.providers.http.HttpClientMessageDispatcher
All Implemented Interfaces:
Disposable, java.beans.ExceptionListener, UMOMessageDispatcher

public class HttpClientMessageDispatcher
extends AbstractMessageDispatcher

HttpClientMessageDispatcher dispatches Mule events over http.

Version:
$Revision: 1.3 $
Author:
Ross Mason

Field Summary
 
Fields inherited from class org.mule.providers.AbstractMessageDispatcher
disposed, disposeOnCompletion, doThreading, logger, threadPool
 
Fields inherited from interface org.mule.umo.provider.UMOMessageDispatcher
RECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELY
 
Constructor Summary
HttpClientMessageDispatcher(HttpConnector connector)
           
 
Method Summary
 void doDispatch(UMOEvent event)
           
 void doDispose()
           
 UMOMessage doSend(UMOEvent event)
           
protected  HttpConnection getConnection(java.net.URI uri)
           
 UMOConnector getConnector()
           
 java.lang.Object getDelegateSession()
           
 UMOMessage receive(UMOEndpointURI endpointUri, long timeout)
           
 
Methods inherited from class org.mule.providers.AbstractMessageDispatcher
dispatch, dispose, exceptionThrown, isDisposed, send
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpClientMessageDispatcher

public HttpClientMessageDispatcher(HttpConnector connector)
Method Detail

doDispatch

public void doDispatch(UMOEvent event)
                throws java.lang.Exception
Specified by:
doDispatch in class AbstractMessageDispatcher
Throws:
java.lang.Exception

getConnector

public UMOConnector getConnector()
Specified by:
getConnector in interface UMOMessageDispatcher
Overrides:
getConnector in class AbstractMessageDispatcher

getDelegateSession

public java.lang.Object getDelegateSession()
                                    throws UMOException
Throws:
UMOException

receive

public UMOMessage receive(UMOEndpointURI endpointUri,
                          long timeout)
                   throws java.lang.Exception
Throws:
java.lang.Exception

doSend

public UMOMessage doSend(UMOEvent event)
                  throws java.lang.Exception
Specified by:
doSend in class AbstractMessageDispatcher
Throws:
java.lang.Exception

getConnection

protected HttpConnection getConnection(java.net.URI uri)
                                throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

doDispose

public void doDispose()
               throws UMOException
Specified by:
doDispose in class AbstractMessageDispatcher
Throws:
UMOException


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.