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
  • 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 interface org.apache.camel.spi.SimpleLanguageFunctionFactory
    • createCode

      public String createCode(org.apache.camel.CamelContext camelContext, String function, int index)
      Specified by:
      createCode in interface org.apache.camel.spi.SimpleLanguageFunctionFactory