Class BisJmsSender
java.lang.Object
org.frankframework.jndi.JndiBase
org.frankframework.jms.JMSFacade
org.frankframework.jms.JmsSender
org.frankframework.extensions.bis.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
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
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:
attributes | description | default |
---|---|---|
className | org.frankframework.extensions.bis.BisSoapJmsSender | |
soap | when true , messages sent are put in a SOAP envelope | true |
responseXPath | xpath 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) | |
responseNamespaceDefs | namespace defintions for responseXPath. Must be in the form of a comma or space separated list of prefix=namespaceuri -definitions | |
messageHeaderInSoapBody | when 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 |
resultInPayload | when 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 |
errorListSessionKey | key of session variable to store ErrorList in when Result/Status in the reply equals 'ERROR' | bisErrorList |
conversationIdSessionKey | key of session variable in which ConversationId is stored; used in the MessageHeader of the request | bisConversationId |
externalRefToMessageIdSessionKey | key of session variable in which ExternalRefToMessageId is stored; used in the MessageHeader of the request | bisExternalRefToMessageId |
requestNamespace | if not empty, this namespace is added to the request (this functionality will be used during migration from IFSA to TIBCO) | |
removeResponseNamespaces | when set true namespaces (and prefixes) in the response are removed (this functionality will be used during migration from IFSA to TIBCO) | false |
synchronous | a-synchronous | |
---|---|---|
ISender.isSynchronous() returns | true | false |
return value of sendMessage() is | the reply-message | the messageId of the message sent |
the correlationID specified with sendMessage() | may be ignored | is sent with the message |
a {link TimeOutException} | may be thrown if a timeout occurs waiting for a reply | should 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 interfaceISender
- Overrides:
sendMessage
in classJmsSender
- Throws:
SenderException
TimeoutException
setResponseXPath
Deprecated.
getResponseXPath
Deprecated.
setResponseNamespaceDefs
Deprecated.
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
Deprecated.
getErrorListSessionKey
Deprecated.
setExternalRefToMessageIdSessionKey
Deprecated.
getExternalRefToMessageIdSessionKey
Deprecated.
setConversationIdSessionKey
Deprecated.
getConversationIdSessionKey
Deprecated.
setRequestNamespace
Deprecated.
getRequestNamespace
Deprecated.
setRemoveResponseNamespaces
public void setRemoveResponseNamespaces(boolean b)
Deprecated.
isRemoveResponseNamespaces
public boolean isRemoveResponseNamespaces()
Deprecated.