Class BisJmsListener
java.lang.Object
org.frankframework.jndi.JndiBase
org.frankframework.jms.JMSFacade
org.frankframework.jms.AbstractJmsListener
org.frankframework.jms.PushingJmsListener
org.frankframework.jms.JmsListener
org.frankframework.extensions.bis.BisJmsListener
- All Implemented Interfaces:
FrankElement
,HasApplicationContext
,HasName
,HasPhysicalDestination
,HasSender
,IConfigurable
,IJmsListener<jakarta.jms.Message>
,IKnowsDeliveryCount<jakarta.jms.Message>
,IListener<jakarta.jms.Message>
,IPortConnectedListener<jakarta.jms.Message>
,IPushingListener<jakarta.jms.Message>
,IRedeliveringListener<jakarta.jms.Message>
,IScopeProvider
,IThreadCountControllable
,IWithParameters
,IXAEnabled
,NameAware
,ReceiverAware<jakarta.jms.Message>
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.context.Lifecycle
@Deprecated
@ConfigurationWarning("Please change to JmsListener combined with BisWrapperPipe")
public class BisJmsListener
extends JmsListener
Deprecated.
Please use JmsListener combined with BisWrapperPipe
Bis (Business Integration Services) extension of JmsListener.
Example request:
The element MessageHeader in the soap header is mandatory.
Example reply:
The elements MessageHeader in the soap header and Result in the soap body are mandatory.
Example element Result in case of an error reply:
Example request:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<bis:MessageHeader xmlns:bis="http://www.ing.com/CSP/XSD/General/Message_2">
<bis:From>
<bis:Id>PolicyConversion_01_ServiceAgents_01</bis:Id>
</bis:From>
<bis:HeaderFields>
<bis:ConversationId>1790257_10000050_04</bis:ConversationId>
<bis:MessageId>1790257</bis:MessageId>
<bis:Timestamp>2011-03-02T10:26:31.464+01:00</bis:Timestamp>
</bis:HeaderFields>
</bis:MessageHeader>
</soap:Header>
<soap:Body>
<pcr:GetRequest xmlns:pcr="http://www.ing.com/nl/pcretail/ts/migrationauditdata_01">
<pcr:PolicyDetails>
<pcr:RVS_PARTY_ID>1790257</pcr:RVS_PARTY_ID>
<pcr:RVS_POLICY_NUMBER>10000050</pcr:RVS_POLICY_NUMBER>
<pcr:RVS_BRANCH_CODE>04</pcr:RVS_BRANCH_CODE>
</pcr:PolicyDetails>
</pcr:GetRequest>
</soap:Body>
</soap:Envelope>
The element MessageHeader in the soap header is mandatory.
Example reply:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<bis:MessageHeader xmlns:bis="http://www.ing.com/CSP/XSD/General/Message_2">
<bis:From>
<bis:Id>IJA_DB4CONV</bis:Id>
</bis:From>
<bis:HeaderFields>
<bis:ConversationId>1790257_10000050_04</bis:ConversationId>
<bis:MessageId>rn09ce_0a3b8d2d--33192359_12e588118c1_-612f</bis:MessageId>
<bis:ExternalRefToMessageId>1790257</bis:ExternalRefToMessageId>
<bis:Timestamp>2011-03-02T10:26:31</bis:Timestamp>
</bis:HeaderFields>
</bis:MessageHeader>
</soap:Header>
<soap:Body>
<GetResponse xmlns="http://www.ing.com/nl/pcretail/ts/migrationcasedata_01">
<CaseData>...</CaseData>
<bis:Result xmlns:bis="http://www.ing.com/CSP/XSD/General/Message_2">
<bis:Status>OK</bis:Status>
</bis:Result>
</GetResponse>
</soap:Body>
</soap:Envelope>
The elements MessageHeader in the soap header and Result in the soap body are mandatory.
Example element Result in case of an error reply:
<bis:Result xmlns:bis="http://www.ing.com/CSP/XSD/General/Message_2">
<bis:Status>ERROR</bis:Status>
<bis:ErrorList>
<bis:Error>
<bis:Code>ERR6003</bis:Code>
<bis:Reason>Invalid Request Message</bis:Reason>
<bis:Service>
<bis:Name>migrationauditdata_01</bis:Name>
<bis:Context>1</bis:Context>
<bis:Action>
<bis:Name>SetPolicyDetails_Action</bis:Name>
<bis:Version>1</bis:Version>
</bis:Action>
</bis:Service>
<bis:DetailList>
<bis:Detail>
<bis:Code/>
<bis:Text>Pipe [Validate tibco request] msgId [Test Tool correlation id] got invalid xml according to schema [....</bis:Text>
</bis:Detail>
</bis:DetailList>
</bis:Error>
</bis:ErrorList>
</bis:Result>
Configuration:
attributes | description | default | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
className | org.frankframework.extensions.bis.BisSoapJmsListener | |||||||||||||
soap | when true , messages sent are put in a SOAP envelope | true | ||||||||||||
requestXPath | xpath expression to extract the message 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) | |||||||||||||
requestNamespaceDefs | namespace defintions for requestXPath. Must be in the form of a comma or space separated list of prefix=namespaceuri -definitions | |||||||||||||
messageHeaderInSoapBody | when true , the MessageHeader 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 is 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 | ||||||||||||
omitResult | when true , the Result is omitted and instead of Result/Status 'ERROR' a ListenerException is thrown (this functionality will be used during migration from IFSA to TIBCO) | false | ||||||||||||
removeRequestNamespaces | when set true namespaces (and prefixes) in the request are removed (this functionality will be used during migration from IFSA to TIBCO) | false | ||||||||||||
layByNamespace | when true , the namespace of the request is laid by and afterwards added to the reply (this functionality will be used during migration from IFSA to TIBCO) | false | ||||||||||||
errorCodeSessionKey | key of session variable to store error code in (if an error occurs) | bisErrorCode | ||||||||||||
errorTextSessionKey | key of session variable to store error text in (if an error occurs). If not specified, the following error text is derived from the error code:
| |||||||||||||
errorReasonSessionKey | key of session variable to store error reason in (if an error occurs) | bisErrorReason | ||||||||||||
serviceName | name of the service; used in the error reply | |||||||||||||
actionName | name of the operation; used in the error reply |