| java.lang.Object | |
| ↳ | org.mule.modules.amazon.sources.ReceiveMessagesMessageSource |
ReceiveMessagesMessageSource wraps receiveMessages(org.mule.api.callback.SourceCallback, java.lang.Integer, java.lang.Boolean, java.lang.Long, java.lang.Integer) method in SQSConnector as a message source capable of generating Mule events. The POJO's method is invoked in its own thread.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.mule.api.lifecycle.Initialisable
| |||||||||||
From interface
org.mule.api.lifecycle.Startable
| |||||||||||
From interface
org.mule.api.lifecycle.Stoppable
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| _numberOfMessagesType | |||||||||||
| _pollPeriodType | |||||||||||
| _preserveMessagesType | |||||||||||
| _queueNameType | |||||||||||
| _visibilityTimeoutType | |||||||||||
| flowConstruct | Flow construct | ||||||||||
| messageProcessor | Message processor that will get called for processing incoming events | ||||||||||
| moduleObject | Module object | ||||||||||
| muleContext | Mule Context | ||||||||||
| numberOfMessages | |||||||||||
| pollPeriod | |||||||||||
| preserveMessages | |||||||||||
| queueName | |||||||||||
| thread | Thread under which this message source will execute | ||||||||||
| visibilityTimeout | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Obtains the expression manager from the Mule context and initialises the connector.
| |||||||||||
Implements SourceCallback#process(org.mule.api.MuleEvent).
| |||||||||||
Implements
process(). | |||||||||||
Implements SourceCallback#process(org.mule.api.MuleEvent).
| |||||||||||
Implementation
run() that will invoke the method on the pojo that this message source wraps. | |||||||||||
Sets flow construct
| |||||||||||
Sets the message processor that will "listen" the events generated by this message source
| |||||||||||
Sets the instance of the object under which the processor will execute
| |||||||||||
Set the Mule context
| |||||||||||
Sets numberOfMessages
| |||||||||||
Sets pollPeriod
| |||||||||||
Sets preserveMessages
| |||||||||||
Sets queueName
| |||||||||||
Sets visibilityTimeout
| |||||||||||
Method to be called when Mule instance gets started.
| |||||||||||
Method to be called when Mule instance gets stopped.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Runnable
| |||||||||||
From interface
org.mule.api.callback.SourceCallback
| |||||||||||
From interface
org.mule.api.construct.FlowConstructAware
| |||||||||||
From interface
org.mule.api.context.MuleContextAware
| |||||||||||
From interface
org.mule.api.lifecycle.Initialisable
| |||||||||||
From interface
org.mule.api.lifecycle.Startable
| |||||||||||
From interface
org.mule.api.lifecycle.Stoppable
| |||||||||||
From interface
org.mule.api.source.MessageSource
| |||||||||||
Flow construct
Message processor that will get called for processing incoming events
Module object
Mule Context
Thread under which this message source will execute
Obtains the expression manager from the Mule context and initialises the connector. If a target object has not been set already it will search the Mule registry for a default one.
| InitialisationException |
|---|
Implements SourceCallback#process(org.mule.api.MuleEvent). This message source will be passed on to the actual pojo's method as a callback mechanism.
| message | |
|---|---|
| properties |
| Exception |
|---|
Implements process(). This message source will be passed on to the actual pojo's method as a callback mechanism.
| Exception |
|---|
Implements SourceCallback#process(org.mule.api.MuleEvent). This message source will be passed on to the actual pojo's method as a callback mechanism.
| message |
|---|
| Exception |
|---|
Implementation run() that will invoke the method on the pojo that this message source wraps.
Sets flow construct
| flowConstruct | Flow construct to set |
|---|
Sets the message processor that will "listen" the events generated by this message source
| listener | Message processor |
|---|
Sets the instance of the object under which the processor will execute
| moduleObject | Instace of the module |
|---|
Set the Mule context
| context | Mule context to set |
|---|
Sets numberOfMessages
| value | Value to set |
|---|
Sets pollPeriod
| value | Value to set |
|---|
Sets preserveMessages
| value | Value to set |
|---|
Sets queueName
| value | Value to set |
|---|
Sets visibilityTimeout
| value | Value to set |
|---|
Method to be called when Mule instance gets started.
| MuleException |
|---|
Method to be called when Mule instance gets stopped.
| MuleException |
|---|