Package org.apache.camel.attachment
Class SimpleAttachmentFunction
java.lang.Object
org.apache.camel.attachment.SimpleAttachmentFunction
- All Implemented Interfaces:
org.apache.camel.spi.SimpleLanguageFunctionFactory
@JdkService("simple-function-factory/camel-attachments")
public class SimpleAttachmentFunction
extends Object
implements org.apache.camel.spi.SimpleLanguageFunctionFactory
-
Field Summary
Fields inherited from interface org.apache.camel.spi.SimpleLanguageFunctionFactory
FACTORY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCode
(org.apache.camel.CamelContext camelContext, String function, int index) org.apache.camel.Expression
createFunction
(org.apache.camel.CamelContext camelContext, String function, int index)
-
Constructor Details
-
SimpleAttachmentFunction
public SimpleAttachmentFunction()
-
-
Method Details
-
createFunction
public org.apache.camel.Expression createFunction(org.apache.camel.CamelContext camelContext, String function, int index) - Specified by:
createFunction
in interfaceorg.apache.camel.spi.SimpleLanguageFunctionFactory
-
createCode
- Specified by:
createCode
in interfaceorg.apache.camel.spi.SimpleLanguageFunctionFactory
-