public final class ConsumerDispatchingInterceptor extends InterceptorSupport<MllpDispatchEndpoint> implements org.apache.camel.StartupListener
Constructor and Description |
---|
ConsumerDispatchingInterceptor(org.apache.camel.CamelContext camelContext)
Constructs a dispatching interceptor
|
ConsumerDispatchingInterceptor(org.apache.camel.CamelContext camelContext,
String... routeIds)
Constructs a dispatching interceptor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addTransactionRoutes(String... routeIds) |
void |
onCamelContextStarted(org.apache.camel.CamelContext camelContext,
boolean alreadyStarted) |
void |
process(org.apache.camel.Exchange exchange) |
characterSet, getEndpoint, getWrappedProcessor, setEndpoint, setWrappedProcessor
addAfter, addBefore, getAfter, getBefore, getId, setId
public ConsumerDispatchingInterceptor(org.apache.camel.CamelContext camelContext, String... routeIds)
camelContext
- Camel context.routeIds
- IDs of routes containing target IPF MLLP endpoints.public ConsumerDispatchingInterceptor(org.apache.camel.CamelContext camelContext)
camelContext
- Camel contextpublic boolean addTransactionRoutes(String... routeIds)
public void onCamelContextStarted(org.apache.camel.CamelContext camelContext, boolean alreadyStarted) throws Exception
onCamelContextStarted
in interface org.apache.camel.StartupListener
Exception
Copyright © 2018 Open eHealth Foundation. All rights reserved.