Commit 5dabb427 authored by Christos Tranoris's avatar Christos Tranoris
Browse files

try topic

parent bc56bd72
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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")