Package org.apache.camel.processor
Class PipelineHelper
java.lang.Object
org.apache.camel.processor.PipelineHelper
Helper for processing
Exchange
in a
pipeline.-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
continueProcessing
(org.apache.camel.Exchange exchange, String message, org.slf4j.Logger log) Should we continue processing the exchange?
-
Method Details
-
continueProcessing
public static boolean continueProcessing(org.apache.camel.Exchange exchange, String message, org.slf4j.Logger log) Should we continue processing the exchange?- Parameters:
exchange
- the next exchangemessage
- a message to use when logging that we should not continue processinglog
- a logger- Returns:
- true to continue processing, false to break out, for example if an exception occurred.
-