Class BodyConverter<T>

java.lang.Object
org.apache.camel.component.reactive.streams.util.BodyConverter<T>
All Implemented Interfaces:
Function<org.apache.camel.Exchange,T>

public final class BodyConverter<T> extends Object implements Function<org.apache.camel.Exchange,T>
  • Method Details

    • apply

      public T apply(org.apache.camel.Exchange exchange)
      Specified by:
      apply in interface Function<org.apache.camel.Exchange,T>
    • forType

      public static <C> BodyConverter<C> forType(Class<C> type)