public static ObjectToJsonTransformer toJson(JsonObjectMapper<?, ?> jsonObjectMapper, String contentType) { return toJson(jsonObjectMapper, null, contentType); }
public static ObjectToJsonTransformer toJson(String contentType) { return toJson(null, null, contentType); }
public static ObjectToJsonTransformer toJson(String contentType) { return toJson(null, null, contentType); }
public static ObjectToJsonTransformer toJson(JsonObjectMapper<?, ?> jsonObjectMapper, ObjectToJsonTransformer.ResultType resultType) { return toJson(jsonObjectMapper, resultType, null); }
public static ObjectToJsonTransformer toJson() { return toJson(null, null, null); }
public static ObjectToJsonTransformer toJson(JsonObjectMapper<?, ?> jsonObjectMapper, ObjectToJsonTransformer.ResultType resultType) { return toJson(jsonObjectMapper, resultType, null); }
public static ObjectToJsonTransformer toJson() { return toJson(null, null, null); }
public static ObjectToJsonTransformer toJson(ObjectToJsonTransformer.ResultType resultType, String contentType) { return toJson(null, resultType, contentType); }
public static ObjectToJsonTransformer toJson(JsonObjectMapper<?, ?> jsonObjectMapper) { return toJson(jsonObjectMapper, null, null); }
public static ObjectToJsonTransformer toJson(JsonObjectMapper<?, ?> jsonObjectMapper, String contentType) { return toJson(jsonObjectMapper, null, contentType); }
public static ObjectToJsonTransformer toJson(ObjectToJsonTransformer.ResultType resultType, String contentType) { return toJson(null, resultType, contentType); }
public static ObjectToJsonTransformer toJson(JsonObjectMapper<?, ?> jsonObjectMapper) { return toJson(jsonObjectMapper, null, null); }
@Bean public IntegrationFlow cloudBusConsulOutboundFlow( @Qualifier("cloudBusOutboundChannel") MessageChannel cloudBusOutboundChannel) { return IntegrationFlows.from(cloudBusOutboundChannel) // TODO: put the json headers as part of the message, here? .transform(Transformers.toJson()).handle(consulOutboundEndpoint()).get(); }