Java component
Java component
• The Java component enables the developer to package custom Java
code that executes when the component receives a message. The
Java component can be used to enhance the functionality and
capability of your web-based applications written in Java.
Configuration
• Visual Editor • XML view
<component class="java.lang.String"
doc:name="Java"/>
Configuration wizard
Description
Property Description
Display Name Value which is to be shown in mule flow
Class name A class is a collection of properties, attributes and methods referenced by the
component. Use the ellipses button to select a class. Type the first few characters of
the class name to narrow the list of choices.
Object This parameter allows the developer to define singleton and spring bean objects.
When using a singleton bean, only one shared instance of the bean will be managed
and all requests for beans with an id or ids matching this bean definition will result
in this specific bean instance being returned. To configure a singleton bean, select
an appropriate class that contains the required properties, attributes and methods.
Configure the spring bean object to define the class that will be used to obtain the
spring bean instances. The class attribute tells Spring which class to instantiate.
Thanks

Java component

  • 1.
  • 2.
    Java component • TheJava component enables the developer to package custom Java code that executes when the component receives a message. The Java component can be used to enhance the functionality and capability of your web-based applications written in Java.
  • 3.
    Configuration • Visual Editor• XML view <component class="java.lang.String" doc:name="Java"/>
  • 4.
  • 5.
    Description Property Description Display NameValue which is to be shown in mule flow Class name A class is a collection of properties, attributes and methods referenced by the component. Use the ellipses button to select a class. Type the first few characters of the class name to narrow the list of choices. Object This parameter allows the developer to define singleton and spring bean objects. When using a singleton bean, only one shared instance of the bean will be managed and all requests for beans with an id or ids matching this bean definition will result in this specific bean instance being returned. To configure a singleton bean, select an appropriate class that contains the required properties, attributes and methods. Configure the spring bean object to define the class that will be used to obtain the spring bean instances. The class attribute tells Spring which class to instantiate.
  • 6.