Why use Anypoint Components?
Anypoint Component are the building blocks of Mule Flow, which process the
Types of Components
There are 3 types of components
• Web Service
General components execute whenever a message is received.
The logic embedded into General components cannot be modified.
Components such as :
•Echo, fall into this category.
Script components do not contain pre-packaged logic, instead they allow the
developer to specify the logic to add into the component.
Script components also allow you to:
•add Spring beans
•change the value or reference of a specific property within the associated class
Web Service Components
Web Service components enable Mule to use SOAP and RESTful protocols to
communicate with external Web services.
The SOAP and RESTful components use CXF and Jersey services to convert messages
from Java to XML.
Web Service components also allow the developer to select or define the logic to be
invoked by component. If using the RESTful component you only need to select a Java
class and add a script to the component.
On the other hand, SOAP configuration requires you to define attributes and select
the operation method used to publish a SOAP Web service.
Components Available in Anypoint Studio
General Components Script Components Web Service Components