I have a route
'Server received: ' + exchange.getIn().getBody(String.class)
I want to send data to this socket using some java client . How can i do that?
I have a route
'Server received: ' + exchange.getIn().getBody(String.class)
I want to send data to this socket using some java client . How can i do that?
Copyright © 2021 Jogjafile Inc.
'Server received: ' + exchange.getIn().getBody(String.class) is not a camel route, it is more a processor that print the body content. You need to define a CamelContext, add a route with a custom processor
RouteBuilder Camel doc