FoMS Experts

Forum / Mule 3

Mule 3
Mule 3

Stats: 1 topics, 2 messages

Newest topic:Variables in Mule 3

Actual topic:Variables in Mule 3

Last message:Edo Schatz, Friday, 15.5.2020 / 16:28

TOPIC

Author of topic:Matteo

Messages:2

Views:342

<1>

MatteoNo card

Matteo

M / 42 years

Zürich

Switzerland

Level: Newbie / 7 posts

Posted: Thursday, 14.5.2020 / 20:58

Topic: Variables in Mule 3

Can anyone explain to me the logic of variables in Mule 3? I have (painfully) discovered that there is a significant difference compared with Mule 4

Edo SchatzGreen card

Edo Schatz

M / 45 years

Köln

Germany

Level: New hope / 45 posts

Title: Administrator

Posted: Friday, 15.5.2020 / 16:28

Topic: Variables in Mule 3

By variables in Mule 3, you probably mean the architecture of the Mule Message as an object with its properties (elements) so I will try to answer the question under that assumption.

Mule 3 has somewhat more complicated event processing and messaging. As you probably already know, Mule 4 Event caries in itself a Mule Message, variables (for example created in a flow) and exception messages. Add attachments to it and you got yourself a Mule 3 event.

Regarding the Mule Message that in Mule 4 consists of a Payload and Attributes, in a Mule 3 Message, Attributes are divided into two categories: Inbound properties (those which are immutable) and Outbound properties.

To summarize, we could conclude that a Mule 3 message consists of:

1) Inbound properties - data about the message, immutable data, data that we can not change, automatically created by some message source;

2) Outbound properties - some data that we can change;

3) Payload: the content of the business data (things that need to be processed, things that someone sends to your Mule App through your inbound connector)

4) Variables - there are flow, session and record variables and we use them to store some values that we might want (or might not want) to change between Mule Events. Flow variables store data within a flow. Session variables sore data throughout the whole application (for example, more flows situation) and Record variables store data within a batch.

<1>
  • HOT TOPICS
  • NEW TOPICS
  • MOST POPULAR
  • MY TOPICS
  • INVOLVED IN
  • FOLLOWED
Rules and regulations
Register now