MULE 4 BATCH PROCESSING | BATCH JOB | BATCH STEP | BATCH AGGREGATOR |ACCEPT EXPRESSION|ACCEPT POLICY
HTML-код
- Опубликовано: 1 окт 2024
- This videos shows you complete explanation on Batch Job Processing in Mule 4.
We covered Batch step, batch aggregator, accept policy, accept expression , max failed records
If you are interested to learn MuleSoft? Or wanted to suggest to anyone?
Here are full series of lectures for MuleSoft for Beginners :
Session 1 Recording:
lnkd.in/dpUNdp7
Session 2 Recording:
lnkd.in/dEeNVPt
Session 3 Recording :
lnkd.in/dXeBe9K
Session 4 Recording :
lnkd.in/d_Wtt5f
Session 5 Recording:
lnkd.in/dHmgH-h
Session 6 recording :
lnkd.in/dMw32bb
Session 7 recording :
lnkd.in/g3Mh5YJ
Session 8 recording :
lnkd.in/g3Mh5YJ
Session 9 recording :
lnkd.in/dPthXsz
Session 10 recording:
• Session 10: Deploying ...
~-~~-~~~-~~-~
Please watch: "Implement an API using Anypoint Code Builder #ACB @sravanlingam #mule4 #mulesoft #salesforce"
• Implement an API using...
~-~~-~~~-~~-~
It's very clear I tried as well, thankyou Sravan
It's very clear I tried as well, thankyou Sravan
I wanted to add variable or metadata which i wanted to use in errorhadndling step
variables declared inside batch step is not accessible in batch aggregator and on-complete? whenever i am trying to print this variable its always printing null
Hi Sravanthi. Yes they won't be accessible. Because those variables act as record variable and confined to only that record. Just like we have record variables in mule 3
@@MuleSoftTechZone Thanks for the response.
hi sravan,
thanks for your explanation. i need some in depth explanation like threading pool mechanism in batch and default threads active in mule 4.I know default threads is 16 in mule 3. is their any changes in threading mechanism from mule 3 to mule 4
Nice Explanation!!! Could you please create a video on threading concept in Batch job as well
Very good. Thanks.
i thought the default behavior of the batch job after error is thrown is all processing of the batch job stops? there is a questions around that in the assestment exam where a batch job has three batch steps and an event processor in the second batch job throws an error because the input data is incomplete. it ask what is the default behavior after the error is thrown.
Very nicely explained ! thanks for your efforts.
Thank you so much :) Nice explanation
Congrats, very good initiative, do you mid if I do the same but in portugues ?
Sure. 😁😁
Hi sravan thank you for the detailed explanation,in place of array if we have suppose 500 files to process how can we give the input to batch job
Based on your requirement. If you want content of file to be processed, then it's the same. Use batch size based on performance
Hi sravan,is the accept expression always to be boolean value or anything like if else conditions also?
You can write if else too. But the results of if else should be a boolean value like true or false for sure.
That is Nice
Nice explanation, thanks for the video!
your Explanation of the Concept is really nice,,
This channel deserves 100k subs
Sweet of you 😊
@@MuleSoftTechZone is there anyway I can get the PowerPoint 🤔🙏🏽?
Thank you sravan, Recently i got job and stream as mulesoft.I am from mechanical background. I contacted to seniors regarding stream and they are laughed about this stream and searched in google finally i am like why i am doing this things. During training time what educators are trying to say i cant understand after seeing this i am like easy concepts. Please try to make more videos on mulesoft
Just give your reply by showing your talent for those who are laughing at you
Hai akhilesh ... Can you please share your contact number.... I am also from mechanical background and learning mulesoft now.... Hope you understand and share your contact number
My email is usathreya@gmail.com... Please share your contact number... I am also struggling to get thru..
Hi Sravan, can we keep no failures in the first batch step? how it will work in that case
Hi, thanks for the simple and clear explanatory video. I have few doubts 1) how to concat string with array or object? 2) Suppose i want batch aggregator to give me in batches of two only then how should I do that? I don't want single items like [60] as shown in video. 3) how can we allow all the failed records instead of giving a number?
3) when you put -1 at max failed record t
Thanks for all the mulesoft videos.
Nice explanation bro 👍
I have a query. In the final output in console, why we did not get the 10 , 20 value which is the first set of evaluation?
awesome
Great video! Very clear explanation.
Sir if we are writing files to some external system in the batch processing what happens if that external system is down for time what happens to output data from batch processing how do we handle it do we need to create a objectstore there to store the data until external system up and them pass It on object store data in to external system which is the output of the batch processing
Hello, will the records that are evaluating as false in the accept expression of batch step 1 go into batch step 2 if I keep the accept policy of batch step 2 as only failures?
Thank you Sravan, for your brief explanation 👍
Thanks bro 😀😀😀
Hi.. thanks for the video.. it helps.. but I have a question ... you have set max failed record as 0 in batch job .. so ideally the processing should stop when the 1st error was occurred in 1st batch step . Why it did not stop ? This confuses me. Can you please explain.
Is it because the error was occurring in aggregator and not in processors ??
hello
I want to ask, do you know how to get batch request (view request) data?
Hi when to use Batch and when to use For each ?
can we access the batch payload out side batch job, is there any way?
Thanks Sravan😊
Very good session!
Thanks a lot 😊
sravan when ever m trying to give value directly through payload (with expression language enable like yu have shown) its showing invalid expression like if i m giving #[1,2,3,45] it is giving error both in xml configuration and message floe
what to do?
Invalid expression probably due to Accept Expression syntax not because of payload
Alok - Provide the value for the setpayload like this #[[[1,2,"a","b",4,5]], it should work.