Class EsbJmsSender

All Implemented Interfaces:
FrankElement, HasApplicationContext, HasName, HasPhysicalDestination, IConfigurable, ICorrelatedSender, IScopeProvider, ISender, ISenderWithParameters, IWithParameters, IXAEnabled, NameAware, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.Lifecycle

@Category(NN_SPECIAL) public class EsbJmsSender extends JmsSender
ESB (Enterprise Service Bus) extension of @{codeJmsSender}.
Author:
Peter Leeuwenburgh
  • Constructor Details

    • EsbJmsSender

      public EsbJmsSender()
  • Method Details

    • configure

      public void configure() throws ConfigurationException
      Description copied from class: JmsSender
      Configures the sender
      Specified by:
      configure in interface IConfigurable
      Overrides:
      configure in class JmsSender
      Throws:
      ConfigurationException - in case it was not able to configure the component.
    • setMessageProtocol

      public void setMessageProtocol(EsbJmsSender.MessageProtocol protocol)
      protocol of ESB service to be called
    • setTimeout

      public void setTimeout(long l)
      receiver timeout, in milliseconds
      Default value
      20000 (20s)
    • setTimeOut

      @Deprecated(since="8.1") @ConfigurationWarning("Use attribute timeout instead") public void setTimeOut(long l)
      Deprecated.
      use setTimeout(long) instead.
      receiver timeout, in milliseconds.
      Default value
      20000 (20s)
    • setDeliveryMode

      public void setDeliveryMode(JMSFacade.DeliveryMode deliveryMode)
      if messageProtocol=RR then deliveryMode defaults to NON_PERSISTENT
      Overrides:
      setDeliveryMode in class JmsSender
    • setReplyTimeout

      public void setReplyTimeout(int replyTimeout)
      if messageProtocol=RR then replyTimeout defaults to timeout
      Overrides:
      setReplyTimeout in class JmsSender
    • setSynchronous

      public void setSynchronous(boolean synchronous)
      if messageProtocol=RR then synchronous defaults to true
      Overrides:
      setSynchronous in class JmsSender
    • setSoapAction

      public void setSoapAction(String soapAction)
      if messageProtocol=RR then if soapAction is empty then it is derived from the element MessageHeader/To/Location in the SOAP header of the input message (if $messagingLayer='P2P' then '$applicationFunction' else '$operationName_$operationVersion)
      Overrides:
      setSoapAction in class JmsSender