|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalMuleClient
Extends MuleClient
adding methods that allow the use of an endpoint
instance.
Method Summary | |
---|---|
MuleMessage |
process(OutboundEndpoint endpoint,
MuleMessage message)
Sends an event synchronously to a endpointUri via a Mule server and a resulting message is returned. |
MuleMessage |
process(OutboundEndpoint endpoint,
Object payload,
Map<String,Object> messageProperties)
Sends an event synchronously to a endpointUri via a Mule server and a resulting message is returned. |
MuleMessage |
request(InboundEndpoint endpoint,
long timeout)
Will receive an event from an endpointUri determined by the URL. |
Methods inherited from interface org.mule.api.client.MuleClient |
---|
dispatch, dispatch, process, process, request, send, send, send, send |
Method Detail |
---|
MuleMessage process(OutboundEndpoint endpoint, Object payload, Map<String,Object> messageProperties) throws MuleException
endpoint
- payload
- the object that is the payload of the eventmessageProperties
- any properties to be associated with the payload. In
the case of Jms you could set the JMSReplyTo property in these
properties.
null
if the the
components invoked explicitly sets a return as null
.
MuleException
MuleMessage process(OutboundEndpoint endpoint, MuleMessage message) throws MuleException
endpoint
- message
- the Message for the event
null
if the the
components invoked explicitly sets a return as null
.
MuleException
MuleMessage request(InboundEndpoint endpoint, long timeout) throws MuleException
endpoint
- the Mule URL used to determine the destination and transport
of the messagetimeout
- how long to block waiting to receive the event, if set to 0 the
receive will not wait at all and if set to -1 the receive will wait
forever
null
if no message was received
MuleException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |