Package one.x1f.sip.foundation.core.util
Class CamelHelper
java.lang.Object
one.x1f.sip.foundation.core.util.CamelHelper
Utility class to help with Camel's internals
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.camel.Processor
unwrapProcessor
(org.apache.camel.Processor wrappedProcessor) If an instance of WrapProcessor is received it will return the unwrapped Processor
-
Constructor Details
-
CamelHelper
public CamelHelper()
-
-
Method Details
-
unwrapProcessor
public static org.apache.camel.Processor unwrapProcessor(org.apache.camel.Processor wrappedProcessor) If an instance of WrapProcessor is received it will return the unwrapped Processor- Parameters:
wrappedProcessor
- - Processor that can be wrapped by Camel in a WrapProcessor class- Returns:
- originalProcessor - Unwrapped processor
-