What things to consider for properly processing the incoming/response message from 1SYNC?

What things to consider for properly processing the incoming/response message from 1SYNC?

book

Article ID: KB0092800

calendar_today

Updated On:

Products Versions
TIBCO Collaborative Information Manager -
Not Applicable -

Description

Resolution:
To process the message properly there are two options.

Option 1:
If the response has to be processed with the out-of-box configurations of the CIM, then the message that is being received from 1SYNC has to be first processed by the private process that translates the message and wraps it up in ‘eb’ envelope message, which is then sent to the CIM inbound queue. Attached is the map file (xsl) that can be used to translate the message in the private process (Example: BW) &lttranslate_in_privateProcess.xsl>

Option 2:
If you do not have a private process to translate the message then following changes has to the done in the configuration files, so that the message that is received from the 1SYNC is processed as is.
Modify the following in queue.prop file numbered as i, ii, iii, iv, v, vi.

i>
From:
martquest.queue.msgIO.CommStandardInboundIntgrMsgMsgIOProcess.msgContentToMsgContentMarshaler.MapToMsgContentCarrierMsgContentToMsgContentMarshaler.optionalKeys=\
    ExecMode
To:
martquest.queue.msgIO.CommStandardInboundIntgrMsgMsgIOProcess.msgContentToMsgContentMarshaler.MapToMsgContentCarrierMsgContentToMsgContentMarshaler.optionalKeys=

ii>
From:
martquest.queue.msgIO.CommStandardInboundIntgrMsgMsgIOProcess.msgContentToMsgContentMarshaler.XMLToMsgContentCarrierMsgContentToMsgContentMarshaler.mandatoryKeysToXPath=\
    Sender:::/se:Envelope/se:Header/eb:MessageHeader/eb:From/eb:PartyId/text(),\
    Receiver:::/se:Envelope/se:Header/eb:MessageHeader/eb:To/eb:PartyId/text(),\
    ConversationID:::/se:Envelope/se:Header/eb:MessageHeader/eb:ConversationId/text(),\
    Service:::/se:Envelope/se:Header/eb:MessageHeader/eb:Service/text(),\
    ServiceType:::/se:Envelope/se:Header/eb:MessageHeader/eb:Service/@eb:type,\
    Action:::/se:Envelope/se:Header/eb:MessageHeader/eb:Action/text(),\
    MessageID:::/se:Envelope/se:Header/eb:MessageHeader/eb:MessageData/eb:MessageId/text(),\
    TimestampStr:::/se:Envelope/se:Header/eb:MessageHeader/eb:MessageData/eb:Timestamp/text()
To:
martquest.queue.msgIO.CommStandardInboundIntgrMsgMsgIOProcess.msgContentToMsgContentMarshaler.XMLToMsgContentCarrierMsgContentToMsgContentMarshaler.mandatoryKeysToXPath=\
    Sender:::/os:envelope/header/sender/text(),\
    Receiver:::/os:envelope/header/receiver/text(),\
    MessageID:::/os:envelope/header/messageId/text(),\
    TimestampStr:::/os:envelope/header/creationDateTime/text()

iii>
From:
martquest.queue.msgIO.CommStandardInboundIntgrMsgMsgIOProcess.msgContentToMsgContentMarshaler.XMLToMsgContentCarrierMsgContentToMsgContentMarshaler.optionalKeysToXPath=\
    CorrelationID:::/se:Envelope/se:Header/eb:MessageHeader/eb:MessageData/eb:RefToMessageId/text(),\
    ExpiryDateTimeStr:::/se:Envelope/se:Header/eb:MessageHeader/eb:MessageData/eb:TimeToLive/text()
To:
martquest.queue.msgIO.CommStandardInboundIntgrMsgMsgIOProcess.msgContentToMsgContentMarshaler.XMLToMsgContentCarrierMsgContentToMsgContentMarshaler.optionalKeysToXPath=

iv>
From:
martquest.queue.msgIO.CommStandardInboundIntgrMsgMsgIOProcess.msgContentToMsgContentMarshaler.MapFromMsgContentCarrierMsgContentToMsgContentMarshaler.mandatoryKeys=\
    Sender,\
    Receiver,\
    ConversationID,\
    Service,\
    ServiceType,\
    Action,\
    MessageID,\
    TimestampStr
To:
martquest.queue.msgIO.CommStandardInboundIntgrMsgMsgIOProcess.msgContentToMsgContentMarshaler.MapFromMsgContentCarrierMsgContentToMsgContentMarshaler.mandatoryKeys=\
    Sender,\
    Receiver,\
    MessageID,\
    TimestampStr
v>
From:
martquest.queue.msgIO.CommStandardInboundIntgrMsgMsgIOProcess.msgContentToMsgContentMarshaler.MapFromMsgContentCarrierMsgContentToMsgContentMarshaler.optionalKeys=\
    ExecMode,\
    CorrelationID,\
    ExpiryDateTimeStr
To:
martquest.queue.msgIO.CommStandardInboundIntgrMsgMsgIOProcess.msgContentToMsgContentMarshaler.MapFromMsgContentCarrierMsgContentToMsgContentMarshaler.optionalKeys=

vi>
Remove the following two properties in the queue.prop
1> inherit:martquest.queue.msgIO.CommStandardInboundIntgrMsgMsgIOProcess.msgContentToMsgContentMarshaler.CustomStdIntgrInboundMsgContentToMsgContentMarshaler:CustomStdIntgrInboundMsgContentToMsgContentMarshaler,\
2> martquest.queue.msgIO.CommStandardInboundIntgrMsgMsgIOProcess.msgContentToMsgContentMarshaler.CustomStdIntgrInboundMsgContentToMsgContentMarshaler.class=com.martquest.comm.CustomStdIntgrInboundMessageContentToMessageContentMarshaler
Along with the above modification to the queue.prop, take a backup of the exiting $MQ_COMMON_DIR/standard/maps/mpfromebxml21envelopetounknownxml.xsl and copy the attached file &ltmpfromebxml21envelopetounknownxml.xsl> to that location.

Issue/Introduction

What things to consider for properly processing the incoming/response message from 1SYNC?

Attachments

What things to consider for properly processing the incoming/response message from 1SYNC? get_app