org.mule.providers.oracle.jms
Class OracleJmsMessageDispatcher

java.lang.Object
  extended byorg.mule.providers.AbstractMessageDispatcher
      extended byorg.mule.providers.jms.JmsMessageDispatcher
          extended byorg.mule.providers.oracle.jms.OracleJmsMessageDispatcher
All Implemented Interfaces:
Disposable, ExceptionListener, UMOConnectable, UMOMessageDispatcher

public class OracleJmsMessageDispatcher
extends JmsMessageDispatcher

Author:
Travis Carlson

Field Summary
 
Fields inherited from class org.mule.providers.AbstractMessageDispatcher
connected, connectionStrategy, disposed, doThreading, endpoint, logger, workManager
 
Fields inherited from interface org.mule.umo.provider.UMOMessageDispatcher
RECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELY
 
Constructor Summary
OracleJmsMessageDispatcher(UMOImmutableEndpoint endpoint)
           
 
Method Summary
protected  UMOMessage doReceive(UMOImmutableEndpoint endpoint, long timeout)
          Make a specific request to the underlying transport Save a copy of the endpoint's properties within the OracleJmsSupport object.
 
Methods inherited from class org.mule.providers.jms.JmsMessageDispatcher
doConnect, doDisconnect, doDispatch, doDispose, doSend, getConnector, getDelegateSession
 
Methods inherited from class org.mule.providers.AbstractMessageDispatcher
connect, disconnect, dispatch, dispose, exceptionThrown, getConnectEventId, getConnectionDescription, getOutputStream, isConnected, isDisposed, isTransactionRollback, receive, receive, reconnect, send, useRemoteSync
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleJmsMessageDispatcher

public OracleJmsMessageDispatcher(UMOImmutableEndpoint endpoint)
Method Detail

doReceive

protected UMOMessage doReceive(UMOImmutableEndpoint endpoint,
                               long timeout)
                        throws Exception
Make a specific request to the underlying transport Save a copy of the endpoint's properties within the OracleJmsSupport object.

Overrides:
doReceive in class JmsMessageDispatcher
Parameters:
endpoint - the endpoint to use when connecting to the resource
timeout - the maximum time the operation should block before returning. The call should return immediately if there is data available. If no data becomes available before the timeout elapses, null will be returned
Returns:
the result of the request wrapped in a UMOMessage object. Null will be returned if no data was avaialable
Throws:
Exception - if the call to the underlying protocal cuases an exception
See Also:
OracleJmsSupport#endpointProperties


Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.