${worker.id}
This can be logged out and returns a value such as: "0", "1", "2", etc. <flow name="worker-id-exampleFlow1">
<poll doc:name="Poll">
<set-payload value="#[]" doc:name="Set Payload"/>
</poll>
<vm:outbound-endpoint exchange-pattern="one-way" path="queue" doc:name="VM"/>
</flow>
<flow name="worker-id-exampleFlow2">
<vm:inbound-endpoint exchange-pattern="one-way" path="queue" doc:name="VM"/>
<logger message="#[${worker.id}]" level="INFO" doc:name="Logger"/>
</flow>
This will print the following in the logs, showing the worker number:
10:49:52.976 02/27/2018 Worker-1 [worker-id-example].worker-id-exampleFlow.stage1.02 INFO 1
001114505

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.