Skip to content

Commit

Permalink
Camel 4.8.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
davsclaus committed Sep 9, 2024
1 parent 8d21a61 commit 3a067a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ readme's instructions.
=== Examples

// examples: START
Number of Examples: 59 (0 deprecated)
Number of Examples: 60 (0 deprecated)

[width="100%",cols="4,2,4",options="header"]
|===
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/* Generated by camel build tools - do NOT edit this file! */
package sample.camel;

import javax.annotation.processing.Generated;

import org.apache.camel.CamelContext;
import org.apache.camel.CamelContextAware;
import org.apache.camel.DeferredContextBinding;
Expand All @@ -16,6 +18,7 @@
/**
* Generated by camel build tools - do NOT edit this file!
*/
@Generated("org.apache.camel.maven.packaging.TypeConverterLoaderGeneratorMojo")
@SuppressWarnings("unchecked")
@DeferredContextBinding
public final class CustomGeneratedConverterLoader implements TypeConverterLoader, CamelContextAware {
Expand Down Expand Up @@ -45,7 +48,7 @@ private void registerConverters(TypeConverterRegistry registry) {
(type, exchange, value) -> getCustomGeneratedConverter().toPerson((byte[]) value, exchange));
}

private static void addTypeConverter(TypeConverterRegistry registry, Class<?> toType, Class<?> fromType, boolean allowNull, SimpleTypeConverter.ConversionMethod method) {
private static void addTypeConverter(TypeConverterRegistry registry, Class<?> toType, Class<?> fromType, boolean allowNull, SimpleTypeConverter.ConversionMethod method) {
registry.addTypeConverter(toType, fromType, new SimpleTypeConverter(allowNull, method));
}

Expand Down

0 comments on commit 3a067a5

Please sign in to comment.