In case after an inital registration call, the server sends an event, I can see that the message count has been incremented (and the InFlight count has been decreased).
karaf@root>route-list Context Route Status Total # Failed # Inflight # Uptime ------- ----- ------ ------- -------- ---------- ------ gs-provider gs-provider-listener Started 0 0 0 4 minutes gs-provider gs-registration-route Started 2 0 -1 4 minutes karaf@root> karaf@root>route-list Context Route Status Total # Failed # Inflight # Uptime ------- ----- ------ ------- -------- ---------- ------ gs-provider gs-provider-listener Started 0 0 0 4 minutes gs-provider gs-registration-route Started 3 0 -2 4 minutes karaf@root> Is there any possibilty to catch the event somehow? The route looks like this: String rtServerUri = stringBuilder.toString(); from("quartz://gs/provider?trigger.repeatCount=0&trigger.repeatInterval=15000") .id("gs-registration-route").routeId("gs-registration-route") .setBody(constant(registrationBody)) .to("netty4:tcp://localhost:30600?clientMode=true&decoders=#length-decoder,#string-decoder&encoders=#length-encoder,#string-encoder&lazyChannelCreation=false") .process(exchange -> System.out.println(exchange.getIn().getBody(String.class))) ; -- View this message in context: http://camel.465427.n5.nabble.com/publish-subscribe-with-camel-netty4-tp5801431p5801683.html Sent from the Camel - Users mailing list archive at Nabble.com.