@ManagedResource(description="Managed IPF MLLP ITI Endpoint") public abstract class MllpEndpoint<ConfigType extends MllpEndpointConfiguration,ComponentType extends MllpComponent<ConfigType>> extends org.openehealth.ipf.platform.camel.ihe.core.InterceptableEndpoint<ConfigType,ComponentType> implements HL7v2Endpoint
| 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.Exchange |
createExchange() |
org.apache.camel.Exchange |
createExchange(org.apache.camel.Exchange exchange) |
org.apache.camel.Exchange |
createExchange(org.apache.camel.ExchangePattern pattern) |
org.apache.camel.PollingConsumer |
createPollingConsumer() |
protected org.apache.camel.Consumer |
doCreateConsumer(org.apache.camel.Processor processor)
Wraps the original starting point of the consumer route
into a set of PIX/PDQ-specific interceptors.
|
protected org.apache.camel.Producer |
doCreateProducer()
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() |
List<org.openehealth.ipf.platform.camel.ihe.core.InterceptorFactory> |
getCustomInterceptorFactories() |
String[] |
getCustomInterceptorFactoryList() |
ConsumerDispatchingInterceptor |
getDispatcher() |
String |
getEndpointKey() |
String |
getEndpointUri() |
org.apache.camel.ExchangePattern |
getExchangePattern() |
Hl7v2TransactionConfiguration |
getHl7v2TransactionConfiguration()
Returns transaction configuration.
|
String |
getHost() |
protected ComponentType |
getInterceptableComponent() |
protected ConfigType |
getInterceptableConfiguration() |
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() |
createConsumer, createInitialConsumerInterceptorChain, createInitialProducerInterceptorChain, createProducerconfigureConsumer, configurePollingConsumer, createEndpointConfiguration, createEndpointUri, doStart, doStop, getConsumerProperties, getEndpointConfiguration, getExceptionHandler, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, isBridgeErrorHandler, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setExceptionHandler, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronousdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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 ComponentType getInterceptableComponent()
getInterceptableComponent in class org.openehealth.ipf.platform.camel.ihe.core.InterceptableEndpoint<ConfigType extends MllpEndpointConfiguration,ComponentType extends MllpComponent<ConfigType>>protected ConfigType getInterceptableConfiguration()
getInterceptableConfiguration in class org.openehealth.ipf.platform.camel.ihe.core.InterceptableEndpoint<ConfigType extends MllpEndpointConfiguration,ComponentType extends MllpComponent<ConfigType>>protected org.apache.camel.Producer doCreateProducer()
throws Exception
doCreateProducer in class org.openehealth.ipf.platform.camel.ihe.core.InterceptableEndpoint<ConfigType extends MllpEndpointConfiguration,ComponentType extends MllpComponent<ConfigType>>Exceptionprotected org.apache.camel.Consumer doCreateConsumer(org.apache.camel.Processor processor)
throws Exception
doCreateConsumer in class org.openehealth.ipf.platform.camel.ihe.core.InterceptableEndpoint<ConfigType extends MllpEndpointConfiguration,ComponentType extends MllpComponent<ConfigType>>processor - The original consumer processor.Exceptionpublic 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()
public List<org.openehealth.ipf.platform.camel.ihe.core.InterceptorFactory> 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.DefaultEndpoint@Generated(value="lombok") protected ConfigType getConfig()
@Generated(value="lombok") protected ComponentType getMllpComponent()
@Generated(value="lombok") protected org.apache.camel.component.mina2.Mina2Endpoint getWrappedEndpoint()
Copyright © 2016 Open eHealth Foundation. All rights reserved.