Resolves checkstyle errors for eip-* (#1069)
* Reduces checkstyle errors in eip-aggregator * Reduces checkstyle errors in eip-message-channel * Reduces checkstyle errors in eip-publish-subscribe * Reduces checkstyle errors in eip-splitter * Reduces checkstyle errors in eip-wire-tap
This commit is contained in:
committed by
Ilkka Seppälä
parent
f2c91eb836
commit
7c888e8886
@ -30,21 +30,23 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
|
||||
/**
|
||||
* In most integration cases there is a need to monitor the messages flowing through the system. It is usually achieved
|
||||
* by intercepting the message and redirecting it to a different location like console, filesystem or the database.
|
||||
* It is important that such functionality should not modify the original message and influence the processing path.
|
||||
* In most integration cases there is a need to monitor the messages flowing through the system. It
|
||||
* is usually achieved by intercepting the message and redirecting it to a different location like
|
||||
* console, filesystem or the database. It is important that such functionality should not modify
|
||||
* the original message and influence the processing path.
|
||||
*
|
||||
* <p>
|
||||
* Wire Tap allows you to route messages to a separate location while they are being forwarded to the ultimate
|
||||
* destination. It basically consumes messages of the input channel and publishes the unmodified message to both
|
||||
* output channels.
|
||||
* Wire Tap allows you to route messages to a separate location while they are being forwarded to
|
||||
* the ultimate destination. It basically consumes messages of the input channel and publishes the
|
||||
* unmodified message to both output channels.
|
||||
* </p>
|
||||
*/
|
||||
@SpringBootApplication
|
||||
public class App {
|
||||
|
||||
/**
|
||||
* Program entry point. It starts Spring Boot application and using Apache Camel it auto-configures routes.
|
||||
* Program entry point. It starts Spring Boot application and using Apache Camel it
|
||||
* auto-configures routes.
|
||||
*
|
||||
* @param args command line args
|
||||
*/
|
||||
|
@ -29,19 +29,20 @@ import org.springframework.stereotype.Component;
|
||||
/**
|
||||
* Sample wire tap route definition.
|
||||
*
|
||||
* <p>
|
||||
* It consumes messages out of the <i>direct:entry</i> entry point and forwards them to <i>direct:endpoint</i>.
|
||||
* Wire Tap intercepts the message and sends it to <i>direct:wireTap</i>, which in turn forwards it to
|
||||
* <p>It consumes messages out of the <i>direct:entry</i> entry point and forwards them to
|
||||
* <i>direct:endpoint</i>. Wire Tap intercepts the message and sends it to <i>direct:wireTap</i>,
|
||||
* which in turn forwards it to
|
||||
* <i>direct:wireTapEndpoint</i>.
|
||||
* </p>
|
||||
*
|
||||
* In this example input/output endpoints names are stored in <i>application.properties</i> file.
|
||||
* <p>In this example input/output endpoints names are stored in <i>application.properties</i>
|
||||
* file.
|
||||
*/
|
||||
@Component
|
||||
public class WireTapRoute extends RouteBuilder {
|
||||
|
||||
/**
|
||||
* Configures the route
|
||||
* Configures the route.
|
||||
*
|
||||
* @throws Exception in case of exception during configuration
|
||||
*/
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user