Loading src/main/java/org/etsi/osl/centrallog/service/CentralLoggerRouteBuilder.java +2 −2 Original line number Diff line number Diff line Loading @@ -56,8 +56,8 @@ public class CentralLoggerRouteBuilder extends RouteBuilder{ String url = CENTRALLOGGERURL; from("activemq:queue:centrallogger.log") .log( "activemq:queue:centrallogger.log package with body ${body} !" ) from("jms:topic:centrallogger.log") .log( "jms:topic:centrallogger.log package with body ${body} !" ) .setHeader(Exchange.HTTP_METHOD, constant(org.apache.camel.component.http.HttpMethods.POST)) .setHeader("Content-Type", constant("application/json")) .to("log:DEBUG?showBody=true&showHeaders=true") Loading Loading
src/main/java/org/etsi/osl/centrallog/service/CentralLoggerRouteBuilder.java +2 −2 Original line number Diff line number Diff line Loading @@ -56,8 +56,8 @@ public class CentralLoggerRouteBuilder extends RouteBuilder{ String url = CENTRALLOGGERURL; from("activemq:queue:centrallogger.log") .log( "activemq:queue:centrallogger.log package with body ${body} !" ) from("jms:topic:centrallogger.log") .log( "jms:topic:centrallogger.log package with body ${body} !" ) .setHeader(Exchange.HTTP_METHOD, constant(org.apache.camel.component.http.HttpMethods.POST)) .setHeader("Content-Type", constant("application/json")) .to("log:DEBUG?showBody=true&showHeaders=true") Loading