Class AS2Endpoint

java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.DefaultEndpoint
org.apache.camel.support.ScheduledPollEndpoint
org.apache.camel.support.component.AbstractApiEndpoint<AS2ApiName,AS2Configuration>
org.apache.camel.component.as2.AS2Endpoint
All Implemented Interfaces:
AutoCloseable, org.apache.camel.ApiEndpoint, org.apache.camel.CamelContextAware, org.apache.camel.ComponentAware, org.apache.camel.Endpoint, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HasCamelContext, org.apache.camel.spi.HasId, org.apache.camel.StatefulService, org.apache.camel.support.component.PropertiesInterceptor, org.apache.camel.support.component.PropertyNamesInterceptor, org.apache.camel.SuspendableService

@UriEndpoint(scheme="as2", firstVersion="2.22.0", title="AS2", syntax="as2:apiName/methodName", apiSyntax="apiName/methodName", category=FILE) @Metadata(excludeProperties="startScheduler,initialDelay,delay,timeUnit,useFixedDelay,pollStrategy,runLoggingLevel,sendEmptyMessageWhenIdle,greedy,scheduler,schedulerProperties,scheduledExecutorService,backoffMultiplier,backoffIdleThreshold,backoffErrorThreshold,repeatCount,bridgeErrorHandler") public class AS2Endpoint extends org.apache.camel.support.component.AbstractApiEndpoint<AS2ApiName,AS2Configuration>
Transfer data securely and reliably using the AS2 protocol (RFC4130).
  • Field Summary

    Fields inherited from class org.apache.camel.support.component.AbstractApiEndpoint

    apiName, inBody, log, methodHelper, methodName

    Fields inherited from class org.apache.camel.support.service.BaseService

    BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
  • Constructor Summary

    Constructors
    Constructor
    Description
    AS2Endpoint(String uri, AS2Component component, AS2ApiName apiName, String methodName, AS2Configuration endpointConfiguration)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    org.apache.camel.Consumer
    createConsumer(org.apache.camel.Processor processor)
     
    org.apache.camel.Producer
     
    getApiProxy(org.apache.camel.support.component.ApiMethod method, Map<String,Object> args)
     
    org.apache.camel.component.as2.api.AS2ClientConnection
     
     
    org.apache.camel.component.as2.api.AS2MessageStructure
     
    org.apache.camel.component.as2.api.AS2ServerConnection
     
     
    org.apache.camel.component.as2.api.AS2CompressionAlgorithm
     
     
     
    org.apache.http.entity.ContentType
     
    org.apache.camel.component.as2.api.AS2EncryptionAlgorithm
     
     
     
    protected org.apache.camel.support.component.ApiMethodPropertiesHelper<AS2Configuration>
     
     
     
    org.apache.camel.component.as2.api.AS2SignatureAlgorithm
     
     
     
     
     
    protected String
     
    void
    setAs2From(String as2From)
     
    void
    setAs2MessageStructure(org.apache.camel.component.as2.api.AS2MessageStructure as2MessageStructure)
     
    void
     
    void
    setCompressionAlgorithm(org.apache.camel.component.as2.api.AS2CompressionAlgorithm compressionAlgorithm)
     
    void
    setDispositionNotificationTo(String dispositionNotificationTo)
     
    void
    setEdiMessageContentType(org.apache.http.entity.ContentType ediMessageType)
     
    void
    setEdiMessageTransferEncoding(String ediMessageTransferEncoding)
     
    void
    setEncryptingAlgorithm(org.apache.camel.component.as2.api.AS2EncryptionAlgorithm encryptingAlgorithm)
     
    void
    setEncryptingCertificateChain(Certificate[] encryptingCertificateChain)
     
    void
     
    void
    setRequestUri(String requestUri)
     
    void
    setSignedReceiptMicAlgorithms(String[] signedReceiptMicAlgorithms)
     
    void
    setSigningAlgorithm(org.apache.camel.component.as2.api.AS2SignatureAlgorithm signingAlgorithm)
     
    void
    setSigningCertificateChain(Certificate[] signingCertificateChain)
     
    void
    setSigningPrivateKey(PrivateKey signingPrivateKey)
     
    void
     
    void
    setSubject(String subject)
     

    Methods inherited from class org.apache.camel.support.component.AbstractApiEndpoint

    configureConsumer, configureProperties, getApiName, getCandidates, getConfiguration, getConfigurationProperties, getConfigurationPropertyNames, getEndpointProperties, getEndpointPropertyNames, getExecutorService, getInBody, getMethodHelper, getMethodName, interceptProperties, interceptPropertyNames, setInBody

    Methods inherited from class org.apache.camel.support.ScheduledPollEndpoint

    configureScheduledPollConsumerProperties, doConfigureConsumer, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDefaultDelay, getDelay, getInitialDelay, getPollStrategy, getRepeatCount, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRepeatCount, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay

    Methods inherited from class org.apache.camel.support.DefaultEndpoint

    configureExchange, configurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toString

    Methods inherited from class org.apache.camel.support.service.BaseService

    build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doStart, doStop, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.camel.ComponentAware

    getComponent, getComponent, setComponent

    Methods inherited from interface org.apache.camel.Endpoint

    configureExchange, createAsyncProducer, createExchange, createExchange, createPollingConsumer, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, getExchangePattern, isLenientProperties, isSingletonProducer, setCamelContext

    Methods inherited from interface org.apache.camel.IsSingleton

    isSingleton

    Methods inherited from interface org.apache.camel.Service

    build, close, init, start, stop

    Methods inherited from interface org.apache.camel.ShutdownableService

    shutdown

    Methods inherited from interface org.apache.camel.StatefulService

    getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending

    Methods inherited from interface org.apache.camel.SuspendableService

    isSuspended, resume, suspend
  • Constructor Details

  • Method Details

    • getAS2ClientConnection

      public org.apache.camel.component.as2.api.AS2ClientConnection getAS2ClientConnection()
    • getAS2ServerConnection

      public org.apache.camel.component.as2.api.AS2ServerConnection getAS2ServerConnection()
    • createProducer

      public org.apache.camel.Producer createProducer() throws Exception
      Throws:
      Exception
    • createConsumer

      public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
      Throws:
      Exception
    • getRequestUri

      public String getRequestUri()
    • setRequestUri

      public void setRequestUri(String requestUri)
    • getSubject

      public String getSubject()
    • setSubject

      public void setSubject(String subject)
    • getFrom

      public String getFrom()
    • setFrom

      public void setFrom(String from)
    • getAs2From

      public String getAs2From()
    • setAs2From

      public void setAs2From(String as2From)
    • getAs2To

      public String getAs2To()
    • setAs2To

      public void setAs2To(String as2To)
    • getAs2MessageStructure

      public org.apache.camel.component.as2.api.AS2MessageStructure getAs2MessageStructure()
    • setAs2MessageStructure

      public void setAs2MessageStructure(org.apache.camel.component.as2.api.AS2MessageStructure as2MessageStructure)
    • getEdiMessageType

      public org.apache.http.entity.ContentType getEdiMessageType()
    • setEdiMessageContentType

      public void setEdiMessageContentType(org.apache.http.entity.ContentType ediMessageType)
    • getEdiMessageTransferEncoding

      public String getEdiMessageTransferEncoding()
    • setEdiMessageTransferEncoding

      public void setEdiMessageTransferEncoding(String ediMessageTransferEncoding)
    • getSigningAlgorithm

      public org.apache.camel.component.as2.api.AS2SignatureAlgorithm getSigningAlgorithm()
    • setSigningAlgorithm

      public void setSigningAlgorithm(org.apache.camel.component.as2.api.AS2SignatureAlgorithm signingAlgorithm)
    • getSigningCertificateChain

      public Certificate[] getSigningCertificateChain()
    • setSigningCertificateChain

      public void setSigningCertificateChain(Certificate[] signingCertificateChain)
    • getSigningPrivateKey

      public PrivateKey getSigningPrivateKey()
    • setSigningPrivateKey

      public void setSigningPrivateKey(PrivateKey signingPrivateKey)
    • getCompressionAlgorithm

      public org.apache.camel.component.as2.api.AS2CompressionAlgorithm getCompressionAlgorithm()
    • setCompressionAlgorithm

      public void setCompressionAlgorithm(org.apache.camel.component.as2.api.AS2CompressionAlgorithm compressionAlgorithm)
    • getDispositionNotificationTo

      public String getDispositionNotificationTo()
    • setDispositionNotificationTo

      public void setDispositionNotificationTo(String dispositionNotificationTo)
    • getSignedReceiptMicAlgorithms

      public String[] getSignedReceiptMicAlgorithms()
    • setSignedReceiptMicAlgorithms

      public void setSignedReceiptMicAlgorithms(String[] signedReceiptMicAlgorithms)
    • getEncryptingAlgorithm

      public org.apache.camel.component.as2.api.AS2EncryptionAlgorithm getEncryptingAlgorithm()
    • setEncryptingAlgorithm

      public void setEncryptingAlgorithm(org.apache.camel.component.as2.api.AS2EncryptionAlgorithm encryptingAlgorithm)
    • getEncryptingCertificateChain

      public Certificate[] getEncryptingCertificateChain()
    • setEncryptingCertificateChain

      public void setEncryptingCertificateChain(Certificate[] encryptingCertificateChain)
    • getSslContext

      public SSLContext getSslContext()
    • setSslContext

      public void setSslContext(SSLContext sslContext)
    • getPropertiesHelper

      protected org.apache.camel.support.component.ApiMethodPropertiesHelper<AS2Configuration> getPropertiesHelper()
      Specified by:
      getPropertiesHelper in class org.apache.camel.support.component.AbstractApiEndpoint<AS2ApiName,AS2Configuration>
    • getThreadProfileName

      protected String getThreadProfileName()
      Specified by:
      getThreadProfileName in class org.apache.camel.support.component.AbstractApiEndpoint<AS2ApiName,AS2Configuration>
    • afterConfigureProperties

      protected void afterConfigureProperties()
      Specified by:
      afterConfigureProperties in class org.apache.camel.support.component.AbstractApiEndpoint<AS2ApiName,AS2Configuration>
    • getApiProxy

      public Object getApiProxy(org.apache.camel.support.component.ApiMethod method, Map<String,Object> args)
      Specified by:
      getApiProxy in class org.apache.camel.support.component.AbstractApiEndpoint<AS2ApiName,AS2Configuration>