@ManagedResource(description="Managed IPF MLLP ITI Endpoint") public abstract class MllpEndpoint<ConfigType extends MllpEndpointConfiguration,ComponentType extends MllpComponent<ConfigType>> extends org.apache.camel.impl.DefaultEndpoint implements Hl7v2ConfigurationHolder
| Constructor and Description |
|---|
MllpEndpoint(ComponentType mllpComponent,
org.apache.camel.component.mina2.Mina2Endpoint wrappedEndpoint,
ConfigType config)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configureProperties(Map options) |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor originalProcessor)
Wraps the original starting point of the consumer route
into a set of PIX/PDQ-specific interceptors.
|
org.apache.camel.Exchange |
createExchange() |
org.apache.camel.Exchange |
createExchange(org.apache.camel.Exchange exchange) |
org.apache.camel.Exchange |
createExchange(org.apache.camel.ExchangePattern pattern) |
protected abstract List<Hl7v2Interceptor> |
createInitialConsumerInterceptorChain() |
protected abstract List<Hl7v2Interceptor> |
createInitialProducerInterceptorChain() |
org.apache.camel.PollingConsumer |
createPollingConsumer() |
org.apache.camel.Producer |
createProducer()
Wraps the original camel-mina producer
into a set of PIX/PDQ-specific ones.
|
boolean |
equals(Object object) |
org.apache.camel.CamelContext |
getCamelContext() |
String |
getCharsetName() |
org.openehealth.ipf.commons.ihe.core.ClientAuthType |
getClientAuthType() |
String |
getClientAuthTypeClass() |
org.apache.camel.Component |
getComponent() |
String |
getComponentType() |
protected ConfigType |
getConfig() |
org.apache.camel.component.mina2.Mina2Configuration |
getConfiguration() |
String[] |
getCustomInterceptorBeans() |
List<Hl7v2InterceptorFactory> |
getCustomInterceptorFactories() |
String[] |
getCustomInterceptorFactoryList() |
ConsumerDispatchingInterceptor |
getDispatcher() |
String |
getEndpointKey() |
String |
getEndpointUri() |
org.apache.camel.ExchangePattern |
getExchangePattern() |
Hl7v2TransactionConfiguration |
getHl7v2TransactionConfiguration()
Returns transaction configuration.
|
String |
getHost() |
String[] |
getIoFilters() |
protected ComponentType |
getMllpComponent() |
NakFactory |
getNakFactory()
Returns transaction-specific ACK and NAK factory.
|
int |
getPort() |
int |
getSegmentFragmentationThreshold()
Returns threshold for segment fragmentation.
|
String[] |
getSslCiphers() |
SSLContext |
getSslContext() |
String[] |
getSslProtocols() |
long |
getTimeout() |
protected org.apache.camel.component.mina2.Mina2Endpoint |
getWrappedEndpoint() |
int |
hashCode() |
boolean |
isLenientProperties() |
boolean |
isSingleton() |
boolean |
isSslSecure() |
boolean |
isSupportSegmentFragmentation()
Returns
true if this endpoint supports segment fragmentation. |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setEndpointUriIfNotSpecified(String value) |
void |
setExchangePattern(org.apache.camel.ExchangePattern exchangePattern) |
String |
toString() |
configureConsumer, configurePollingConsumer, createEndpointConfiguration, createEndpointUri, doStart, doStop, getConsumerProperties, getEndpointConfiguration, getId, getPollingConsumerQueueSize, isPollingConsumerBlockWhenFull, isSynchronous, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronousdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic MllpEndpoint(ComponentType mllpComponent, org.apache.camel.component.mina2.Mina2Endpoint wrappedEndpoint, ConfigType config)
mllpComponent - MLLP Component instance which is creating this endpoint.wrappedEndpoint - The original camel-mina endpoint instance.config - Configuration parameters.protected abstract List<Hl7v2Interceptor> createInitialConsumerInterceptorChain()
protected abstract List<Hl7v2Interceptor> createInitialProducerInterceptorChain()
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor originalProcessor)
throws Exception
createConsumer in interface org.apache.camel.EndpointoriginalProcessor - The original consumer processor.Exceptionpublic org.apache.camel.Producer createProducer()
throws Exception
createProducer in interface org.apache.camel.EndpointExceptionpublic Hl7v2TransactionConfiguration getHl7v2TransactionConfiguration()
getHl7v2TransactionConfiguration in interface Hl7v2ConfigurationHolderpublic NakFactory getNakFactory()
getNakFactory in interface Hl7v2ConfigurationHolder@ManagedAttribute(description="Support Segment Fragmentation Enabled") public boolean isSupportSegmentFragmentation()
true if this endpoint supports segment fragmentation.@ManagedAttribute(description="Segment Fragmentation Threshold") public int getSegmentFragmentationThreshold()
public SSLContext getSslContext()
@ManagedAttribute(description="Defined SSL Protocols") public String[] getSslProtocols()
@ManagedAttribute(description="Defined SSL Ciphers") public String[] getSslCiphers()
@ManagedAttribute(description="Component Type Name") public String getComponentType()
@ManagedAttribute(description="Mina Host") public String getHost()
@ManagedAttribute(description="Mina Port") public int getPort()
@ManagedAttribute(description="Mina Character Set") public String getCharsetName()
@ManagedAttribute(description="Mina Timeout") public long getTimeout()
@ManagedAttribute(description="Mina Filters") public String[] getIoFilters()
@ManagedAttribute(description="SSL Secure Enabled") public boolean isSslSecure()
public org.openehealth.ipf.commons.ihe.core.ClientAuthType getClientAuthType()
@ManagedAttribute(description="Client Authentication Type") public String getClientAuthTypeClass()
@ManagedAttribute(description="Custom Interceptor Beans") public String[] getCustomInterceptorBeans()
public List<Hl7v2InterceptorFactory> getCustomInterceptorFactories()
public ConsumerDispatchingInterceptor getDispatcher()
@ManagedAttribute(description="Custom Interceptor Factories") public String[] getCustomInterceptorFactoryList()
public void configureProperties(Map options)
configureProperties in interface org.apache.camel.EndpointconfigureProperties in class org.apache.camel.impl.DefaultEndpointpublic org.apache.camel.Exchange createExchange()
createExchange in interface org.apache.camel.EndpointcreateExchange in class org.apache.camel.impl.DefaultEndpointpublic org.apache.camel.Exchange createExchange(org.apache.camel.Exchange exchange)
createExchange in interface org.apache.camel.EndpointcreateExchange in class org.apache.camel.impl.DefaultEndpointpublic org.apache.camel.Exchange createExchange(org.apache.camel.ExchangePattern pattern)
createExchange in interface org.apache.camel.EndpointcreateExchange in class org.apache.camel.impl.DefaultEndpointpublic org.apache.camel.PollingConsumer createPollingConsumer()
throws Exception
createPollingConsumer in interface org.apache.camel.EndpointcreatePollingConsumer in class org.apache.camel.impl.DefaultEndpointExceptionpublic boolean equals(Object object)
equals in class org.apache.camel.impl.DefaultEndpointpublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwaregetCamelContext in interface org.apache.camel.EndpointgetCamelContext in class org.apache.camel.impl.DefaultEndpointpublic org.apache.camel.Component getComponent()
getComponent in class org.apache.camel.impl.DefaultEndpointpublic org.apache.camel.component.mina2.Mina2Configuration getConfiguration()
public String getEndpointKey()
getEndpointKey in interface org.apache.camel.EndpointgetEndpointKey in class org.apache.camel.impl.DefaultEndpointpublic String getEndpointUri()
getEndpointUri in interface org.apache.camel.EndpointgetEndpointUri in class org.apache.camel.impl.DefaultEndpointpublic org.apache.camel.ExchangePattern getExchangePattern()
getExchangePattern in class org.apache.camel.impl.DefaultEndpointpublic int hashCode()
hashCode in class org.apache.camel.impl.DefaultEndpointpublic boolean isLenientProperties()
isLenientProperties in interface org.apache.camel.EndpointisLenientProperties in class org.apache.camel.impl.DefaultEndpointpublic boolean isSingleton()
isSingleton in interface org.apache.camel.IsSingletonpublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwaresetCamelContext in interface org.apache.camel.EndpointsetCamelContext in class org.apache.camel.impl.DefaultEndpointpublic void setEndpointUriIfNotSpecified(String value)
setEndpointUriIfNotSpecified in class org.apache.camel.impl.DefaultEndpointpublic void setExchangePattern(org.apache.camel.ExchangePattern exchangePattern)
setExchangePattern in class org.apache.camel.impl.DefaultEndpointpublic String toString()
toString in class org.apache.camel.impl.DefaultEndpointprotected ConfigType getConfig()
protected ComponentType getMllpComponent()
protected org.apache.camel.component.mina2.Mina2Endpoint getWrappedEndpoint()
Copyright © 2015 Open eHealth Foundation. All rights reserved.