N
Velvet Digest

Can a flow have more than one message source?

Author

William Brown

Updated on April 19, 2026

To accept incoming messages from multiple input channels, place two or more message sources (also known as receivers) into a composite source. A message entering the composite source on any supported channel triggers the processing flow.

.

Regarding this, what is message source in mule?

Using DevKit, you can create message sources, which receive or generate new messages for Mule to process. One of the use cases of message sources is implementing Streaming APIs. Each marked method generates a message source.

One may also ask, what is the purpose of setting the maxRedelivery attribute on the connector URL? A. To deliver each message in the queue up to the value set in maxRedelivery, without.

Secondly, what is composite source in mule?

Composite source is a scope available with Mule ESB which listens to multiple channels for incoming messages. Composite source is when multiple inbound endpoints are configured to listen to the request or work as a message source.

Which part of a mule message is considered immutable?

The Mule message is immutable, so every change to a Mule message results in the creation of a new instance. Each processor in a flow that receives a message returns a new Mule message consisting of these parts: A message payload , which contains the body of the message.

Related Question Answers

What is message source?

MessageSource is an interface that defines several methods for resolving messages. The ApplicationContext interface extends this interface so that all application contexts are able to resolve text messages. An application context delegates the message resolution to a bean with the exact name messageSource .

What is the maximum number of mule applications that can run in a CloudHub worker?

CloudHub is a component of Mulesoft that provides hosted and managed servers capable of running any supported version of Mule run-time. CloudHub allows a high level of application isolation by running only one mule application per mule worker.

How do I upgrade mule runtime?

Update your on-premises Mule instances managed through Runtime Manager.

Upgrading a Standalone Mule Instance

  1. From the Customer Portal, download the Mule runtime engine version you want to upgrade to.
  2. If you run Mule as a service, install the new Mule version on a different server or virtual machine:

How do you use a choice in mule?

Choice Flow Control. In Mule, the choice flow control is used to achieve content-based routing where routing will be done based on the message content, like inbound properties, flow variables, and payload. A choice router will always choose only one route. If no route matches, then the default route is used.

What is component in Mule?

The main building blocks of Mule applications are components. Components execute business logic on the messages that flow through your Mule applications. There are a couple types of component: Core components and the components that belong to connectors and modules.

How do I prepare for MuleSoft certification?

There are two ways you can prepare for the MuleSoft Certified Developer test: Instructor-led training.

It tests individuals on their ability to:

  1. Take basic APIs through build, test, and debug integrations.
  2. Connect to many different systems.
  3. Perform data transformations, control event flow, and perform error handling.

How do you set Outbound properties in mule?

set-property adds outbound message properties. If you want to check all message properties use a logger component or you can use Mule 3.4. 0 (Beta) that comes with a visual flow debugger. Set-variable sets the properties in the INVOCATION scope.

What is message properties in mule?

A Message Properties Transformer lets you add, rename, or delete message properties. In this example, we will add a new outbound property, of course you can apply it in any scope (invocation, outbound, session or application) you want.

How do I check my payload in mule?

If you want to access a particular Employee at certain index then you can do `# [payload[0]]` or `# [payload. get(0)]` to get the Employee object and `# [payload.

What is a private flow in mule?

Private Flow Private flows are different from subflows in terms of Threading and Exception Handling. They have their own Exception Handling. It means that if an exception occurs in a Private flow and it is handled properly when the call goes back to the main calling flow, the next message processors continue executing.

What is Mel in mule?

Mule Expression Language (MEL) MEL is a lightweight, Mule-specific expression language that you can use to access and evaluate the data in the payload, properties and variables of a Mule message.

What are mutable and immutable properties in Mule message?

A Mule message is, itself, embedded within a Mule message object. Outbound Properties • Outbound properties are mutable; they are set during the course of a flow and can become inbound properties when the message passes from the outbound endpoint of one flow to the inbound endpoint of a different flow via a transport.

What does the payload of a mule message always contain?

It consists of two main parts: – The message header, which contains metadata about the message. – The message payload, which contains your business-specific data. A Mule message is, itself, embedded within a Mule message object. Some Mule message objects may contain variables, attachments, and exception payloads.

What is a private flow?

A flow with out message source is called Private flow. When a sub-flow is invoked the execution behaves as if the message processors of the sub-flow were actually located in the calling flow. With a private flow, the execution behaves as if a message was passed from the calling flow to the private flow.

What is message Enricher in mule?

Mule Message Enricher allows the current message to be used in performing a particular task separately without disturbing the original message. Mule Message Enricher is best used in the case when you do not want to lose your existing payload.