org.mule.providers.oracle.jms
Class OracleJmsMessageDispatcher

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

public class OracleJmsMessageDispatcher
extends JmsMessageDispatcher


Field Summary
 
Fields inherited from class org.mule.providers.AbstractMessageDispatcher
connected, connecting, connectionStrategy, disposed, endpoint, logger, workManager
 
Fields inherited from interface org.mule.umo.provider.UMOMessageDispatching
RECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELY
 
Constructor Summary
OracleJmsMessageDispatcher(UMOImmutableEndpoint endpoint)
           
 
Method Summary
protected  UMOMessage doReceive(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
 
Methods inherited from class org.mule.providers.AbstractMessageDispatcher
activate, connect, disconnect, dispatch, dispose, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, isConnected, isDoThreading, isTransactionRollback, passivate, receive, reconnect, send, toString, useRemoteSync, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OracleJmsMessageDispatcher

public OracleJmsMessageDispatcher(UMOImmutableEndpoint endpoint)
Method Detail

doReceive

protected UMOMessage doReceive(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-2008 MuleSource, Inc.. All Rights Reserved.