/** * Requests a synchronous receive of an event on the component * * @param endpointName the endpoint identifing the endpointUri on ewhich the event will be * received * @param timeout time in milliseconds before the request timesout * @return The requested event or null if the request times out * @throws org.mule.umo.UMOException if the request operation fails */ public UMOMessage receiveEvent(String endpointName, long timeout) throws UMOException { return session.receiveEvent(endpointName, timeout); }
/** * Requests a synchronous receive of an event on the component * * @param endpointUri the endpointUri on which the event will be received * @param timeout time in milliseconds before the request timesout * @return The requested event or null if the request times out * @throws org.mule.umo.UMOException if the request operation fails */ public UMOMessage receiveEvent(UMOEndpointURI endpointUri, long timeout) throws UMOException { UMOEndpoint endpoint = MuleEndpoint.getOrCreateEndpointForUri(endpointUri, UMOEndpoint.ENDPOINT_TYPE_SENDER); return session.receiveEvent(endpoint, timeout); }
/** * Requests a synchronous receive of an event on the component * * @param endpoint the endpoint identifing the endpointUri on ewhich the event will be received * @param timeout time in milliseconds before the request timesout * @return The requested event or null if the request times out * @throws org.mule.umo.UMOException if the request operation fails */ public UMOMessage receiveEvent(UMOEndpoint endpoint, long timeout) throws UMOException { return session.receiveEvent(endpoint, timeout); }