Class BisJmsSender

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

@Deprecated @ConfigurationWarning("Please change to JmsSender combined with BisWrapperPipe") public class BisJmsSender extends JmsSender
Deprecated.
Please use JmsSender combined with BisWrapperPipe
Bis (Business Integration Services) extension of JmsSender.
For example request and reply, see BisJmsListener.
If synchronous=true and one of the following conditions is true a SenderException is thrown: - Result/Status in the reply soap body equals 'ERROR' - faultcode in the reply soap fault is not empty

Configuration:

Author:
Peter Leeuwenburgh
attributesdescriptiondefault
classNameorg.frankframework.extensions.bis.BisSoapJmsSender 
soapwhen true, messages sent are put in a SOAP envelopetrue
responseXPathxpath expression to extract the message from the reply which is passed to the pipeline. When soap=true the initial message is the content of the soap body. If empty, the content of the soap body is passed (without the root body) 
responseNamespaceDefsnamespace defintions for responseXPath. Must be in the form of a comma or space separated list of prefix=namespaceuri-definitions 
messageHeaderInSoapBodywhen true, the MessageHeader of the request is put in the SOAP body instead of in the SOAP header (first one is the old BIS standard)false
resultInPayloadwhen true, the Result tag in the reply will be put in the payload (as last child in root tag) instead of in the SOAP body as sibling of the payload (last one is the old BIS standard)true
errorListSessionKeykey of session variable to store ErrorList in when Result/Status in the reply equals 'ERROR'bisErrorList
conversationIdSessionKeykey of session variable in which ConversationId is stored; used in the MessageHeader of the requestbisConversationId
externalRefToMessageIdSessionKeykey of session variable in which ExternalRefToMessageId is stored; used in the MessageHeader of the requestbisExternalRefToMessageId
requestNamespaceif not empty, this namespace is added to the request (this functionality will be used during migration from IFSA to TIBCO) 
removeResponseNamespaceswhen set true namespaces (and prefixes) in the response are removed (this functionality will be used during migration from IFSA to TIBCO)false
 synchronousa-synchronous
ISender.isSynchronous() returnstruefalse
return value of sendMessage() isthe reply-messagethe messageId of the message sent
the correlationID specified with sendMessage()may be ignoredis sent with the message
a {link TimeOutException}may be thrown if a timeout occurs waiting for a replyshould not be expected

Multiple objects may try to call this method at the same time, from different threads. Implementations of this method should therefore be thread-safe, or synchronized.

Specified by:
sendMessage in interface ISender
Overrides:
sendMessage in class JmsSender
Throws:
SenderException
TimeoutException
  • setResponseXPath

    public void setResponseXPath(String responseXPath)
    Deprecated.
  • getResponseXPath

    public String getResponseXPath()
    Deprecated.
  • setResponseNamespaceDefs

    public void setResponseNamespaceDefs(String responseNamespaceDefs)
    Deprecated.
  • getResponseNamespaceDefs

    public String getResponseNamespaceDefs()
    Deprecated.
  • setMessageHeaderInSoapBody

    public void setMessageHeaderInSoapBody(boolean b)
    Deprecated.
  • isMessageHeaderInSoapBody

    public boolean isMessageHeaderInSoapBody()
    Deprecated.
  • setResultInPayload

    public void setResultInPayload(boolean b)
    Deprecated.
  • isResultInPayload

    public boolean isResultInPayload()
    Deprecated.
  • setErrorListSessionKey

    public void setErrorListSessionKey(String errorListSessionKey)
    Deprecated.
  • getErrorListSessionKey

    public String getErrorListSessionKey()
    Deprecated.
  • setExternalRefToMessageIdSessionKey

    public void setExternalRefToMessageIdSessionKey(String externalRefToMessageIdSessionKey)
    Deprecated.
  • getExternalRefToMessageIdSessionKey

    public String getExternalRefToMessageIdSessionKey()
    Deprecated.
  • setConversationIdSessionKey

    public void setConversationIdSessionKey(String conversationIdSessionKey)
    Deprecated.
  • getConversationIdSessionKey

    public String getConversationIdSessionKey()
    Deprecated.
  • setRequestNamespace

    public void setRequestNamespace(String requestNamespace)
    Deprecated.
  • getRequestNamespace

    public String getRequestNamespace()
    Deprecated.
  • setRemoveResponseNamespaces

    public void setRemoveResponseNamespaces(boolean b)
    Deprecated.
  • isRemoveResponseNamespaces

    public boolean isRemoveResponseNamespaces()
    Deprecated.