Should we use Java Component in Mule, if component is already available? Mule Performance and Optimization

StackOverflow https://stackoverflow.com/questions/22828133

  •  26-06-2023
  •  | 
  •  

Question

It is accepted that we should use available Mule Components to achieve particular functionality rather then, using Custom Java Transformers.

The case is that i already have Mule component to perform particular functionality, But instead of using that, i introduced Java Transformer to achieve the same functionality.

I need a comparison between performance of two, as i am unable to find some speed issue.

but still i want to know:

Will it deteriorates performance? Will it make application slow in future?

I am unable to get answer for the same in forums. If anyone could comment on same.

Was it helpful?

Solution

No, using your own implementations won't slow things down (unless you implement them badly) but why would you do that if Mule provides what you need out-of-the-box? Better use a transformer that is widely used and thus has been tested and debugged for you already.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top